~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/plugin.h

  • Committer: Monty Taylor
  • Date: 2010-12-05 07:35:32 UTC
  • mfrom: (1974 b)
  • mto: (1975.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 1976.
  • Revision ID: mordred@inaugust.com-20101205073532-hehqwv27pbd7byjm
Merged source.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
#include <string>
24
24
#include <vector>
 
25
#include <map>
25
26
 
26
27
namespace drizzled
27
28
{
45
46
  Plugin(const Plugin&);
46
47
  Plugin& operator=(const Plugin &);
47
48
public:
 
49
  typedef std::map<std::string, Plugin *> map;
 
50
  typedef std::vector<Plugin *> vector;
48
51
 
49
52
  explicit Plugin(const std::string &name, const std::string &type_name);
50
53
  virtual ~Plugin() {}
57
60
  virtual void shutdownPlugin()
58
61
  {
59
62
  }
 
63
 
 
64
  // This is run after all plugins have been initialized.
 
65
  virtual void prime()
 
66
  {
 
67
  }
60
68
 
61
69
  void activate()
62
70
  {