~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/module/manifest.h

  • Committer: Monty Taylor
  • Date: 2010-05-15 18:23:34 UTC
  • mto: (1530.6.1)
  • mto: This revision was merged to the branch mainline in revision 1556.
  • Revision ID: mordred@inaugust.com-20100515182334-bgbmwij0mioklajx
Renamed classes that were in drizzled::plugin but which were not meant
for consumption by plugin authors to drizzled::module - since they
really have to do with plugin module loading. This way when we
look in drizzled/plugin, we see nothing but plugin interfaces. Win.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
18
18
 */
19
19
 
20
 
#ifndef DRIZZLED_PLUGIN_MANIFEST_H
21
 
#define DRIZZLED_PLUGIN_MANIFEST_H
 
20
#ifndef DRIZZLED_MODULE_MANIFEST_H
 
21
#define DRIZZLED_MODULE_MANIFEST_H
22
22
 
23
23
/**
24
24
 * @file Defines a Plugin Manifest
25
25
 *
26
 
 * A plugin::Manifest is the struct contained in every Plugin Library.
 
26
 * A module::Manifest is the struct contained in every Plugin Library.
27
27
 */
28
28
 
29
29
#include "drizzled/plugin/context.h"
44
44
};
45
45
 
46
46
 
47
 
namespace plugin
 
47
namespace module
48
48
{
49
49
 
50
 
typedef int (*initialize_func_t)(Context &);
 
50
typedef int (*initialize_func_t)(::drizzled::plugin::Context &);
51
51
 
52
52
/**
53
53
 * Plugin Manfiest
70
70
  void *reserved1;           /* reserved for dependency checking             */
71
71
};
72
72
 
73
 
} /* namespace plugin */
 
73
} /* namespace module */
74
74
} /* namespace drizzled */
75
75
 
76
 
#endif /* DRIZZLED_PLUGIN_MANIFEST_H */
 
76
#endif /* DRIZZLED_MODULE_MANIFEST_H */