~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/plugin.h

  • Committer: Paul McCullagh
  • Date: 2010-09-22 13:04:27 UTC
  • mto: (1787.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 1788.
  • Revision ID: paul.mccullagh@primebase.org-20100922130427-utakdj4ec4uiv1kc
Fixed PBXT recovery and shutdown, added shutdownPlugin() call to all plugins before the plugins are deleted

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
  explicit Plugin(std::string in_name, std::string in_type_name);
50
50
  virtual ~Plugin() {}
51
51
 
 
52
  /*
 
53
   * This method is called for all plug-ins on shutdown,
 
54
   * _before_ the plug-ins are deleted. It can be used
 
55
   * when shutdown code references other plug-ins.
 
56
   */
 
57
  virtual void shutdownPlugin()
 
58
  {
 
59
  }
 
60
 
52
61
  void activate()
53
62
  {
54
63
    is_active= true;