~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/console/console.cc

Merged in slot -> service changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
334
334
static int init(drizzled::plugin::Registry &registry)
335
335
{
336
336
  listen_obj= new ListenConsole("console");
337
 
  registry.listen.add(listen_obj);
 
337
  registry.add(listen_obj);
338
338
  return 0;
339
339
}
340
340
 
341
341
static int deinit(drizzled::plugin::Registry &registry)
342
342
{
343
 
  registry.listen.remove(listen_obj);
 
343
  registry.remove(listen_obj);
344
344
  delete listen_obj;
345
345
  return 0;
346
346
}