20
20
#ifndef DRIZZLED_PLUGIN_REGISTRY_H
21
21
#define DRIZZLED_PLUGIN_REGISTRY_H
23
#include "drizzled/slot/authentication.h"
24
#include "drizzled/slot/scheduler.h"
23
25
#include "drizzled/slot/function.h"
24
26
#include "drizzled/slot/listen.h"
27
#include "drizzled/slot/query_cache.h"
28
#include "drizzled/slot/logging.h"
29
#include "drizzled/slot/error_message.h"
30
#include "drizzled/slot/info_schema.h"
30
36
class StorageEngine;
31
class InfoSchemaTable;
32
class Logging_handler;
33
class Error_message_handler;
34
37
class Authentication;
66
67
std::vector<Handle *> get_list(bool active);
68
69
void add(StorageEngine *engine);
69
void add(InfoSchemaTable *schema_table);
70
void add(Logging_handler *handler);
71
void add(Error_message_handler *handler);
72
void add(Authentication *auth);
73
void add(QueryCache *qcache);
74
void add(SchedulerFactory *scheduler);
75
void add(drizzled::plugin::CommandReplicator *replicator);
76
void add(drizzled::plugin::CommandApplier *applier);
70
void add(::drizzled::plugin::CommandReplicator *replicator);
71
void add(::drizzled::plugin::CommandApplier *applier);
78
73
void remove(StorageEngine *engine);
79
void remove(InfoSchemaTable *schema_table);
80
void remove(Logging_handler *handler);
81
void remove(Error_message_handler *handler);
82
void remove(Authentication *auth);
83
void remove(QueryCache *qcache);
84
void remove(SchedulerFactory *scheduler);
85
void remove(drizzled::plugin::CommandReplicator *replicator);
86
void remove(drizzled::plugin::CommandApplier *applier);
74
void remove(::drizzled::plugin::CommandReplicator *replicator);
75
void remove(::drizzled::plugin::CommandApplier *applier);
77
::drizzled::slot::ErrorMessage error_message;
78
::drizzled::slot::Authentication authentication;
79
::drizzled::slot::QueryCache query_cache;
80
::drizzled::slot::Scheduler scheduler;
88
81
::drizzled::slot::Function function;
89
82
::drizzled::slot::Listen listen;
83
::drizzled::slot::Logging logging;
84
::drizzled::slot::InfoSchema info_schema;
92
87
} /* end namespace plugin */