~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/plugin.cc

  • Committer: Monty Taylor
  • Date: 2009-10-27 17:36:23 UTC
  • mto: This revision was merged to the branch mainline in revision 1201.
  • Revision ID: mordred@inaugust.com-20091027173623-4af3fusj3cu5lktt
Replaced overridable virtual methods with passing name to constructor. Now individual plugins will not be allowed to set their own plugin type name. :)

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
namespace drizzled
25
25
{
26
26
 
27
 
plugin::Plugin::Plugin(std::string in_name)
 
27
plugin::Plugin::Plugin(std::string in_name, std::string in_type_name)
28
28
  : name(in_name),
29
29
    aliases(),
30
30
    is_active(true),
31
 
    module(NULL)
 
31
    module(NULL),
 
32
    type_name(in_type_name)
32
33
{ }
33
34
 
34
35
const std::string& plugin::Plugin::getModuleName() const