~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/event_observer.h

  • Committer: Brian Aker
  • Date: 2011-02-12 10:48:53 UTC
  • mto: This revision was merged to the branch mainline in revision 2167.
  • Revision ID: brian@tangent.org-20110212104853-sm79wbyxl3fuprp2
Additional removal of session

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
#define DRIZZLED_PLUGIN_EVENT_OBSERVER_H
45
45
 
46
46
#include "drizzled/plugin/plugin.h"
47
 
#include "drizzled/session.h"
48
47
 
49
48
#include <string>
50
49
 
296
295
  // Call all the event observers that are registered for this event.
297
296
  virtual bool callEventObservers();
298
297
  
299
 
  static bool hasEvents(Session &in_session) { return (in_session.getSessionObservers() != NULL);}
 
298
  static bool hasEvents(Session &in_session);
300
299
};
301
300
 
302
301
//-----
337
336
  // Call all the event observers that are registered for this event.
338
337
  virtual bool callEventObservers();
339
338
  
340
 
  static bool hasEvents(Table &in_table) { return (in_table.getMutableShare()->getTableObservers() != NULL);}
 
339
  static bool hasEvents(Table &in_table);
341
340
};
342
341
 
343
342
//-----