home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 10 / ioProg_10.iso / soft / optima / hpp.z / MMPCTRL.HPP < prev    next >
Encoding:
C/C++ Source or Header  |  1995-12-20  |  1.0 KB  |  43 lines

  1. #ifndef _MMPCTRL_HPP
  2. #define _MMPCTRL_HPP
  3.  
  4. #include "mmprop.hpp"
  5.  
  6. enum MetaPropCtrlType {
  7.     MPCTT_None,
  8.     MPCTT_CheckBox,
  9.     MPCTT_RadioButton,
  10.     MPCTT_ComboBox,
  11.     MPCTT_TextBox,
  12. };
  13.  
  14. class MTPropertyControl;
  15.  
  16. class METACLASSDEF MMPropertyControl : public MMCommon {
  17.     public:
  18.     MMPropertyControl( const MMPropertyControlData * data );
  19.     MMPropertyControl() {}
  20.  
  21.     virtual MetaPropCtrlType    GetControlType() const;
  22.     virtual long            GetResourceID() const;
  23.  
  24.     virtual WBool            GetHasPushButton() const;
  25.     virtual long            GetPushButtonResID() const;
  26.     
  27.     virtual WBool            GetHasUpDown() const;
  28.     virtual long            GetUpDownResID() const;
  29.  
  30.     virtual WBool            GetIsStyle() const;
  31.     virtual const MMBaseProperty *    GetBaseProperty() const;
  32.     virtual const MMProperty *    GetProperty() const;
  33.     virtual const MMStyle *        GetStyle() const;
  34.  
  35.     virtual WBool            GetFirstOption() const;
  36.     virtual WBool            GetLastOption() const;
  37.  
  38.     virtual MTPropertyControl *    CreateControl() const;
  39.     virtual WLong            GetPriority() const;
  40. };
  41.  
  42. #endif // _MMPCTRL_HPP
  43.