00001 00006 #ifndef _StopConditionValidator_h 00007 #define _StopConditionValidator_h 00008 00009 // SYSTEM INCLUDES 00010 // 00011 00012 // PROJECT INCLUDES 00013 // 00014 00015 // LOCAL INCLUDES 00016 // 00017 #include "../CountedPtr.h" 00018 #include "StopConditionControl.h" 00019 00020 // FORWARD REFERENCES 00021 // 00022 00023 00024 class StopConditionValidator 00025 : public wxValidator 00026 { 00027 public: 00028 // LIFECYCLE 00029 00032 StopConditionValidator(CountedPtr<const StopConditionBase>& rcpStopCondition); 00033 00038 StopConditionValidator(const StopConditionValidator& from); 00039 00042 ~StopConditionValidator(void); 00043 00044 00045 // OPERATORS 00046 00047 // OPERATIONS 00048 00051 virtual wxObject* Clone() const; 00052 00055 virtual bool TransferToWindow(); 00056 00059 virtual bool TransferFromWindow(); 00060 00063 virtual bool Validate(wxWindow* pParent); 00064 00065 // ACCESS 00066 // INQUIRY 00067 00068 protected: 00069 private: 00071 CountedPtr<const StopConditionBase>& mrcpStopCondition; 00072 }; 00073 00074 // INLINE METHODS 00075 // 00076 00077 // EXTERNAL REFERENCES 00078 // 00079 00080 #endif // _StopConditionValidator_h