~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/protocol.h

  • Committer: Brian Aker
  • Date: 2009-04-13 16:22:40 UTC
  • mfrom: (971.1.78 mordred)
  • Revision ID: brian@gaz-20090413162240-ugi3gvhofmcuglzl
Merge Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
93
93
 
94
94
class ProtocolFactory
95
95
{
 
96
  std::string name;
96
97
public:
97
 
  ProtocolFactory() {}
 
98
  ProtocolFactory(std::string name_arg): name(name_arg) {}
 
99
  ProtocolFactory(const char *name_arg): name(name_arg) {}
98
100
  virtual ~ProtocolFactory() {}
99
101
  virtual Protocol *operator()(void)= 0;
 
102
  std::string getName() {return name;}
100
103
};
101
104
 
102
105
#endif /* DRIZZLED_PLUGIN_PROTOCOL_H */