~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/data_engine/character_sets.h

Merged up with brian.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
#ifndef PLUGIN_DATA_ENGINE_CHARACTER_SETS_H
22
22
#define PLUGIN_DATA_ENGINE_CHARACTER_SETS_H
23
23
 
24
 
 
25
 
class CharacterSetsTool : public Tool
 
24
#include "config.h"
 
25
 
 
26
#include "drizzled/plugin/table_function.h"
 
27
#include "drizzled/field.h"
 
28
 
 
29
class CharacterSetsTool : public drizzled::plugin::TableFunction
26
30
{
27
31
public:
28
32
 
29
33
  CharacterSetsTool();
30
34
  ~CharacterSetsTool() {}
31
35
 
32
 
  class Generator : public Tool::Generator 
 
36
  class Generator : public drizzled::plugin::TableFunction::Generator 
33
37
  {
34
38
    CHARSET_INFO **cs;
35
39
 
40
44
 
41
45
  };
42
46
 
43
 
  Generator *generator(Field **arg)
 
47
  CharacterSetsTool::Generator *generator(Field **arg)
44
48
  {
45
49
    return new Generator(arg);
46
50
  }
47
 
 
48
51
};
49
52
 
50
 
#endif // PLUGIN_DATA_ENGINE_CHARACTER_SETS_H
 
53
#endif /* PLUGIN_DATA_ENGINE_CHARACTER_SETS_H */