~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/module/library.h

  • Committer: Brian Aker
  • Date: 2010-05-21 18:25:00 UTC
  • mfrom: (1530.2.10)
  • Revision ID: brian@gaz-20100521182500-c30dbqd2ko56cf56
Merge Monty

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_LIBRARY_H
21
 
#define DRIZZLED_PLUGIN_LIBRARY_H
 
20
#ifndef DRIZZLED_MODULE_LIBRARY_H
 
21
#define DRIZZLED_MODULE_LIBRARY_H
22
22
 
23
23
/**
24
24
 * @file Defines a Plugin Library Wrapper
32
32
 
33
33
namespace drizzled
34
34
{
35
 
namespace plugin
 
35
namespace module
36
36
{
37
37
 
38
38
class Manifest;
53
53
  Library(const std::string &name_arg,
54
54
          void *handle_arg,
55
55
          const Manifest *manifest_arg);
 
56
 
56
57
public:
57
58
  ~Library();
58
59
 
66
67
    return manifest;
67
68
  }
68
69
 
69
 
  static Library *loadLibrary(const std::string &plugin_name);
 
70
  static const std::string getLibraryPath(const std::string &plugin_name);
 
71
  static Library *loadLibrary(const std::string &plugin_name, bool builtin);
70
72
};
71
73
 
72
 
} /* namespace plugin */
 
74
} /* namespace module */
73
75
} /* namespace drizzled */
74
76
 
75
 
#endif /* DRIZZLED_PLUGIN_LIBRARY_H */
 
77
#endif /* DRIZZLED_MODULE_LIBRARY_H */