~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/comp_creator.h

  • Committer: Lee Bieber
  • Date: 2011-03-29 22:31:41 UTC
  • mfrom: (2257.1.3 build)
  • Revision ID: kalebral@gmail.com-20110329223141-yxc22h3l2he58sk0
Merge Andrew - 743842: Build failure using GCC 4.6
Merge Stewart - 738022: CachedDirectory silently fails to add entries if stat() fails
Merge Olaf - Common fwd: add copyright, add more declaration

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