~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/manifest.h

  • Committer: Monty Taylor
  • Date: 2010-03-05 21:09:24 UTC
  • mto: This revision was merged to the branch mainline in revision 1381.
  • Revision ID: mordred@inaugust.com-20100305210924-fa7lq9i3r5cheh23
Create a plugin::Context object to carry information about the plugin module
currently being loaded, and also to hide the entire Registry from the
plugin. Essentially, the context is the plugin's view of the Registry.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
#ifndef DRIZZLED_PLUGIN_MANIFEST_H
21
21
#define DRIZZLED_PLUGIN_MANIFEST_H
22
22
 
23
 
#include <drizzled/plugin/registry.h>
 
23
#include "drizzled/plugin/context.h"
24
24
 
25
25
namespace drizzled
26
26
{
41
41
namespace plugin
42
42
{
43
43
 
44
 
typedef int (*initialize_func_t)(Registry &);
 
44
typedef int (*initialize_func_t)(Context &);
45
45
 
46
46
/**
47
47
 * Plugin Manfiest