~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/command_reader.h

  • 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:
50
50
  CommandReader(const CommandReader &);
51
51
  CommandReader& operator=(const CommandReader &);
52
52
public:
53
 
  explicit CommandReader(std::string name_arg) : Plugin(name_arg) {}
 
53
  explicit CommandReader(std::string name_arg)
 
54
    : Plugin(name_arg, "CommandReader") {}
54
55
  virtual ~CommandReader() {}
55
56
  /**
56
57
   * Read and fill a Command message with the supplied