~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/comp_creator.h

  • Committer: Monty Taylor
  • Date: 2011-02-13 17:26:39 UTC
  • mfrom: (2157.2.2 give-in-to-pkg-config)
  • mto: This revision was merged to the branch mainline in revision 2166.
  • Revision ID: mordred@inaugust.com-20110213172639-nhy7i72sfhoq13ms
Merged in pkg-config fixes.

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