~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/module/registry.h

  • Committer: Monty Taylor
  • Date: 2010-06-02 22:35:45 UTC
  • mto: This revision was merged to the branch mainline in revision 1586.
  • Revision ID: mordred@inaugust.com-20100602223545-q8ekf9b40a85nwuf
Rearragned unittests into a single exe because of how we need to link it
(thanks lifeless)
Link with server symbols without needing to build a library.
Added an additional atomics test which tests whatever version of the atomics
lib the running platform would actually use.

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
#include "drizzled/gettext.h"
29
29
#include "drizzled/unireg.h"
30
30
#include "drizzled/errmsg_print.h"
31
 
#include "drizzled/plugin/plugin.h"
32
31
 
33
32
namespace drizzled
34
33
{
 
34
namespace plugin
 
35
{
 
36
class Plugin;
 
37
}
35
38
 
36
39
namespace module
37
40
{
61
64
    return *registry;
62
65
  }
63
66
 
64
 
  void copy(plugin::Plugin::vector &arg);
65
 
 
66
67
  static void shutdown();
67
68
 
68
69
  Module *find(std::string name);
69
70
 
70
71
  void add(Module *module);
71
72
 
72
 
  void remove(Module *module);
73
73
 
74
74
  std::vector<Module *> getList(bool active);
75
75