~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/plugin.h

  • Committer: Eric Day
  • Date: 2009-10-31 21:53:33 UTC
  • mfrom: (1200 staging)
  • mto: This revision was merged to the branch mainline in revision 1202.
  • Revision ID: eday@oddments.org-20091031215333-j94bjoanwmi68p6f
Merged trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
#include <string>
24
24
#include <vector>
25
25
 
26
 
#include "drizzled/atomics.h"
27
 
 
28
26
namespace drizzled
29
27
{
30
28
namespace plugin
48
46
  explicit Plugin(std::string in_name);
49
47
  virtual ~Plugin() {}
50
48
 
51
 
  virtual void activate()
 
49
  void activate()
52
50
  {
53
51
    is_active= true;
54
52
  }
55
53
 
56
 
  virtual void deactivate()
 
54
  void deactivate()
57
55
  {
58
56
    is_active= false;
59
57
  }
60
58
 
61
 
  virtual bool isActive() const
 
59
  bool isActive() const
62
60
  {
63
61
    return is_active;
64
62
  }