~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/comp_creator.h

  • Committer: Monty Taylor
  • Date: 2011-01-26 19:15:55 UTC
  • mto: This revision was merged to the branch mainline in revision 2126.
  • Revision ID: mordred@inaugust.com-20110126191555-nq5nnzyscvngsip2
Turns on -fvisibility=hidden by default. Symbols intended to be used by
plugins need to be marked with DRIZZLED_API.

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