~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/error_message.h

  • Committer: Mark Atwood
  • Date: 2011-12-15 23:13:18 UTC
  • mfrom: (2465.3.1 rf3)
  • Revision ID: me@mark.atwood.name-20111215231318-mt2y2q4s5ydp79q3
mergeĀ lp:~olafvdspek/drizzle/refactor14

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
#pragma once
23
23
 
24
24
#include <drizzled/plugin/plugin.h>
25
 
#include <drizzled/error/level_t.h>
 
25
#include <drizzled/error/priority_t.h>
26
26
 
27
27
#include <stdarg.h>
28
28
 
43
43
   : Plugin(name_arg, "ErrorMessage")
44
44
  {}
45
45
 
46
 
  virtual bool errmsg(error::level_t priority, const char *format, va_list ap)=0;
 
46
  virtual bool errmsg(error::priority_t priority, const char *format, va_list ap)=0;
47
47
 
48
48
  static bool addPlugin(plugin::ErrorMessage *handler);
49
49
  static void removePlugin(plugin::ErrorMessage *handler);
50
50
 
51
 
  static bool vprintf(error::level_t priority, char const *format, va_list ap);
 
51
  static bool vprintf(error::priority_t priority, char const *format, va_list ap);
52
52
 
53
53
  bool removeLast() const
54
54
  {