~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/plugin.h

  • Committer: Monty Taylor
  • Date: 2009-10-27 01:05:10 UTC
  • mto: This revision was merged to the branch mainline in revision 1201.
  • Revision ID: mordred@inaugust.com-20091027010510-rel1e59xy7ti27a9
Renamed plugin::Handle to plugin::Module for clarity.

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
namespace plugin
29
29
{
30
30
 
31
 
class Handle;
 
31
class Module;
32
32
 
33
33
class Plugin
34
34
{
36
36
  const std::string name;
37
37
  std::vector<std::string> aliases;
38
38
  bool is_active;
39
 
  Handle *handle;
 
39
  Module *module;
40
40
 
41
41
  Plugin();
42
42
  Plugin(const Plugin&);
76
76
    aliases.push_back(alias);
77
77
  }
78
78
 
79
 
  void setHandle(Handle *handle_arg)
 
79
  void setModule(Module *module_arg)
80
80
  {
81
 
    handle= handle_arg;
 
81
    module= module_arg;
82
82
  }
83
83
 
84
84
  virtual const std::string getTypeName() const