~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/comp_creator.h

mergeĀ lp:~linuxjedi/drizzle/trunk-remove-drizzleadmin

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_COMP_CREATOR_H
21
 
#define DRIZZLED_COMP_CREATOR_H
22
 
 
23
 
namespace drizzled
24
 
{
25
 
 
26
 
class Item;
27
 
class Item_bool_func2;
 
20
#pragma once
 
21
 
 
22
#include <drizzled/common_fwd.h>
 
23
 
 
24
namespace drizzled {
28
25
 
29
26
class Comp_creator
30
27
{
31
28
public:
32
 
  Comp_creator() {}                           /* Remove gcc warning */
33
29
  virtual ~Comp_creator() {}                  /* Remove gcc warning */
34
30
  virtual Item_bool_func2* create(Item *a, Item *b) const = 0;
35
31
  virtual const char* symbol(bool invert) const = 0;
48
44
 
49
45
} /* namespace drizzled */
50
46
 
51
 
#endif /* DRIZZLED_COMP_CREATOR_H */