~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/logging.h

pandora-build v0.71. Added check for avahi.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
#ifndef DRIZZLED_PLUGIN_LOGGING_H
23
23
#define DRIZZLED_PLUGIN_LOGGING_H
24
24
 
25
 
#include "drizzled/plugin/plugin.h"
26
 
 
27
25
#include <string>
28
26
 
29
27
namespace drizzled
30
28
{
31
 
class Session;
32
 
 
33
29
namespace plugin
34
30
{
35
31
 
50
46
   */
51
47
  virtual bool pre(Session *) {return false;}
52
48
  virtual bool post(Session *) {return false;}
53
 
  virtual bool postEnd(Session*) {return false;}
54
 
  virtual bool resetGlobalScoreboard() {return false;}
55
49
 
56
50
  static bool addPlugin(Logging *handler);
57
51
  static void removePlugin(Logging *handler);
58
52
  static bool preDo(Session *session);
59
53
  static bool postDo(Session *session);
60
 
  static bool postEndDo(Session *session);
61
 
  static bool resetStats(Session *session);
62
54
};
63
55
 
64
56
} /* namespace plugin */