~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/error_message.h

  • Committer: Brian Aker
  • Date: 2011-10-20 02:45:57 UTC
  • mto: This revision was merged to the branch mainline in revision 2444.
  • Revision ID: brian@tangent.org-20111020024557-33gjpv1ixdws52al
Update naming convention for priority.

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
  {