Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

EnableObj.H

Go to the documentation of this file.
00001 /*
00002  * Daniel Keefe (dfk)
00003  *
00004  * EnableObj.H
00005  * Desc: 
00006  *
00007  */
00008 
00009 
00010 #ifndef ENABLEOBJ_H
00011 #define ENABLEOBJ_H
00012 
00013 // Gluebase includes
00014 #define OUTSIDE_GLUE_CORE
00015 #include <std/list.H>
00016 #include <std/strings.H>
00017 
00018 
00019 class EnableObj 
00020 {
00021 public:
00022 
00023   EnableObj(str_ptr name);
00024   virtual ~EnableObj();
00025 
00026   str_ptr name() { return _name; }
00027 
00028   void setEnabled(bool b) { _enabled = b; }
00029   bool enabled() { return _enabled; }
00030 
00031 protected:
00032 
00033   str_ptr _name;
00034   bool    _enabled;
00035 
00036 };
00037 
00038 
00039 #endif

Generated on Thu Jul 8 15:19:28 2004 for inspace by doxygen 1.3.4