00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef _GUI_SELECT_BOOLEAN_HH_
00025 #define _GUI_SELECT_BOOLEAN_HH_
00026
00027 #if defined(_WIN32) && defined(_MSC_VER)
00028 # ifdef VOSGUI_EXPORTS
00029 # define VOSGUI_API __declspec(dllexport)
00030 # else
00031 # define VOSGUI_API __declspec(dllimport)
00032 # endif
00033 #else
00034 # define VOSGUI_API
00035 #endif
00036
00037 #include <vos/corelibs/vos/vos.hh>
00038 #include <vos/metaobjects/property/property.hh>
00039 #include <vos/gui/gui/widget.hh>
00040 #include <vos/gui/gui/select.hh>
00041
00042 namespace VOSGUI {
00043
00044
00045
00046
00047
00048
00049 class VOSGUI_API SelectBoolean : public virtual Select
00050 {
00051
00052
00053 public:
00054
00055
00056 SelectBoolean(MetaObject* superobject);
00057
00058
00059 virtual ~SelectBoolean();
00060
00061
00062 virtual const string getType();
00063
00064
00065 static void registerExtenders();
00066
00067
00068
00069
00070
00071 virtual bool getTarget();
00072
00073
00074 virtual Property* getTargetObj();
00075
00076
00077
00078
00079 virtual void setTarget(bool value, PropertyAccessControl* ac = 0);
00080
00081
00082 virtual void setTargetObj(Property* p);
00083
00084
00085
00086
00087 };
00088
00089
00090
00091
00092 class VOSGUI_API LocalSelectBoolean : public virtual SelectBoolean, public virtual LocalSelect
00093 {
00094
00095 public:
00096
00097
00098 LocalSelectBoolean(MetaObject* superobject);
00099
00100
00101 ~LocalSelectBoolean();
00102
00103
00104 static MetaObject* new_LocalSelectBoolean(MetaObject* superobject, const string& type);
00105
00106 };
00107
00108
00109
00110 class VOSGUI_API RemoteSelectBoolean : public virtual SelectBoolean, public virtual RemoteSelect
00111 {
00112 public:
00113
00114
00115 RemoteSelectBoolean(MetaObject* superobject);
00116
00117
00118 virtual ~RemoteSelectBoolean();
00119
00120
00121 static MetaObject* new_RemoteSelectBoolean(MetaObject* superobject, const string& type);
00122
00123
00124 };
00125
00126 }
00127
00128 #endif // #ifdef _GUI_SELECT_BOOLEAN_HH_
00129