home *** CD-ROM | disk | FTP | other *** search
- #ifndef _MMPCTRL_HPP
- #define _MMPCTRL_HPP
-
- #include "mmprop.hpp"
-
- enum MetaPropCtrlType {
- MPCTT_None,
- MPCTT_CheckBox,
- MPCTT_RadioButton,
- MPCTT_ComboBox,
- MPCTT_TextBox,
- };
-
- class MTPropertyControl;
-
- class METACLASSDEF MMPropertyControl : public MMCommon {
- public:
- MMPropertyControl( const MMPropertyControlData * data );
- MMPropertyControl() {}
-
- virtual MetaPropCtrlType GetControlType() const;
- virtual long GetResourceID() const;
-
- virtual WBool GetHasPushButton() const;
- virtual long GetPushButtonResID() const;
-
- virtual WBool GetHasUpDown() const;
- virtual long GetUpDownResID() const;
-
- virtual WBool GetIsStyle() const;
- virtual const MMBaseProperty * GetBaseProperty() const;
- virtual const MMProperty * GetProperty() const;
- virtual const MMStyle * GetStyle() const;
-
- virtual WBool GetFirstOption() const;
- virtual WBool GetLastOption() const;
-
- virtual MTPropertyControl * CreateControl() const;
- virtual WLong GetPriority() const;
- };
-
- #endif // _MMPCTRL_HPP
-