~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/comp_creator.h

  • Committer: Olaf van der Spek
  • Date: 2011-10-24 21:23:54 UTC
  • mto: This revision was merged to the branch mainline in revision 2449.
  • Revision ID: olafvdspek@gmail.com-20111024212354-j32gbc2sbsw0985q
Use str_ref

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 */