~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/command_replicator.h

Moved service stuff into plugin/

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
 * An applier is responsible for applying events, not a replicator...
34
34
 */
35
35
 
36
 
/* some forward declarations needed */
37
 
namespace drizzled
38
 
{
39
 
  namespace message
40
 
  {
41
 
    class Command;
42
 
  }
43
 
}
44
 
 
45
 
namespace drizzled
46
 
{
 
36
 
 
37
namespace drizzled
 
38
{
 
39
namespace message { class Command; }
 
40
 
47
41
namespace plugin
48
42
{
49
43
 
80
74
   * internal method for determining if it is active or not.
81
75
   */
82
76
  virtual bool isActive() {return false;}
 
77
 
 
78
  static void add(CommandReplicator *replicator);
 
79
  static void remove(CommandReplicator *replicator);
83
80
};
84
81
 
85
 
} /* end namespace drizzled::plugin */
86
 
} /* end namespace drizzled */
 
82
} /* namespace plugin */
 
83
} /* namespace drizzled */
87
84
 
88
85
#endif /* DRIZZLED_PLUGIN_COMMAND_REPLICATOR_H */