00001 00002 // Name: wxGuiTest/CapturedEvents/CRSliderUpdateEvent.h 00003 // Author: Reinhold Fuereder 00004 // Created: 2004 00005 // Copyright: (c) 2005 Reinhold Fuereder 00006 // Modifications: John Ralls, 2007-2008 00007 // Modifications Copyright: (c) 2008 John Ralls 00008 // Licence: wxWindows licence 00009 // 00010 // $Id$ 00012 00013 #ifndef SWCRSLIDERUPDATEEVENT_H 00014 #define SWCRSLIDERUPDATEEVENT_H 00015 00016 #ifdef __GNUG__ 00017 #pragma interface "CRSliderUpdateEvent.h" 00018 #endif 00019 00020 #include <wxGuiTest/Common.h> 00021 00022 #include "CRCapturedEvent.h" 00023 00024 namespace wxTst { 00025 00026 00042 class CRSliderUpdateEvent : public CRCapturedEvent 00043 { 00044 public: 00050 CRSliderUpdateEvent (wxEvent *event); 00051 00052 00056 virtual ~CRSliderUpdateEvent (); 00057 00058 00064 virtual bool IsPending () const; 00065 00066 00073 virtual void Process (CRCapturedEvent **pendingEvt); 00074 00075 00079 virtual void EmitCpp (); 00080 00081 protected: 00082 00083 private: 00084 wxString m_containerName; 00085 wxString m_sliderName; 00086 int m_sliderValue; 00087 00088 // No copy and assignment constructor: 00089 CRSliderUpdateEvent (const CRSliderUpdateEvent &rhs); 00090 CRSliderUpdateEvent & operator= (const CRSliderUpdateEvent &rhs); 00091 }; 00092 00093 } // End namespace wxTst 00094 00095 #endif // SWCRSLIDERUPDATEEVENT_H 00096