~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/registry.h

  • Committer: Monty Taylor
  • Date: 2010-03-06 02:08:13 UTC
  • mto: This revision was merged to the branch mainline in revision 1381.
  • Revision ID: mordred@inaugust.com-20100306020813-c37d0b39004nl1zf
Remove plugin deinit.

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
private:
43
43
  std::map<std::string, Library *> library_map;
44
44
  std::map<std::string, Module *> module_map;
45
 
  std::map<std::string, const Plugin *> plugin_registry;
 
45
  std::map<std::string, Plugin *> plugin_registry;
46
46
 
47
47
  Registry()
48
48
   : module_map(),
69
69
 
70
70
  std::vector<Module *> getList(bool active);
71
71
 
72
 
  const std::map<std::string, const Plugin *> &getPluginsMap() const
 
72
  const std::map<std::string, Plugin *> &getPluginsMap() const
73
73
  {
74
74
    return plugin_registry;
75
75
  }
106
106
                    plugin->getName().c_str());
107
107
      unireg_abort(1);
108
108
    }
109
 
    plugin_registry.insert(std::pair<std::string, const Plugin *>(plugin_name, plugin));
 
109
    plugin_registry.insert(std::pair<std::string, Plugin *>(plugin_name, plugin));
110
110
  }
111
111
 
112
112
  template<class T>