~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/plugin.h

  • Committer: Andrew Hutchings
  • Date: 2011-01-28 21:33:48 UTC
  • mto: (2126.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 2127.
  • Revision ID: andrew@linuxjedi.co.uk-20110128213348-ypi381xo47o80ypo
Backport fix for http://bugs.mysql.com/bug.php?id=57034

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
 
 
21
 
 
22
20
#ifndef DRIZZLED_PLUGIN_PLUGIN_H
23
21
#define DRIZZLED_PLUGIN_PLUGIN_H
24
22
 
26
24
#include <vector>
27
25
#include <map>
28
26
 
29
 
#include <drizzled/visibility.h>
30
 
 
31
27
namespace drizzled
32
28
{
33
29
 
41
37
namespace plugin
42
38
{
43
39
 
44
 
class DRIZZLED_API Plugin
 
40
class Plugin
45
41
{
46
42
private:
47
43
  const std::string _name;
108
104
    return _type_name;
109
105
  }
110
106
 
111
 
  virtual bool removeLast() const
112
 
  {
113
 
    return false;
114
 
  }
115
 
 
116
107
  const std::string& getModuleName() const;
117
108
};
118
109
} /* end namespace plugin */