~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/plugin.h

  • Committer: Mark Atwood
  • Date: 2011-08-11 03:05:03 UTC
  • mfrom: (2385.1.12 refactor4)
  • Revision ID: me@mark.atwood.name-20110811030503-rp9xjihc5x3y0x4q
mergeĀ lp:~olafvdspek/drizzle/refactor4

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 
20
20
 
21
21
 
22
 
#ifndef DRIZZLED_PLUGIN_PLUGIN_H
23
 
#define DRIZZLED_PLUGIN_PLUGIN_H
 
22
#pragma once
24
23
 
25
24
#include <string>
26
25
#include <vector>
27
26
#include <map>
28
27
 
29
 
#include "drizzled/visibility.h"
30
 
 
31
 
namespace drizzled
32
 
{
33
 
 
34
 
class Session;
35
 
 
36
 
namespace module
37
 
{
38
 
class Module;
39
 
}
40
 
 
41
 
namespace plugin
42
 
{
43
 
 
44
 
class DRIZZLED_API Plugin
 
28
#include <drizzled/visibility.h>
 
29
 
 
30
namespace drizzled {
 
31
namespace plugin {
 
32
 
 
33
class DRIZZLED_API Plugin : boost::noncopyable
45
34
{
46
35
private:
47
36
  const std::string _name;
49
38
  module::Module *_module;
50
39
  const std::string _type_name;
51
40
 
52
 
  Plugin();
53
 
  Plugin(const Plugin&);
54
 
  Plugin& operator=(const Plugin &);
55
41
public:
56
42
  typedef std::pair<const std::string, const std::string> map_key;
57
43
  typedef std::map<const map_key, plugin::Plugin *> map;
118
104
} /* end namespace plugin */
119
105
} /* end namespace drizzled */
120
106
 
121
 
#endif /* DRIZZLED_PLUGIN_PLUGIN_H */