00001 #ifndef VIEWCONTROLLEREVENT_H 00002 #define VIEWCONTROLLEREVENT_H 00003 00004 #include "Types.h" 00005 00006 using namespace std; 00007 00008 namespace RenderTools { 00009 00010 class ViewControllerEvent { 00011 public: 00012 enum Type{ 00013 RESIZE, 00014 TIMER_START, 00015 TIMER_STOP, 00016 TIMER, 00017 SHOW, 00018 HIDE, 00019 CLOSE 00020 }; 00021 00022 ViewControllerEvent( Type type, const ViewControllerPtr vc = ViewControllerPtr(), const vector< float > & values = vector< float >() ); 00023 00024 Type getType( void ) const; 00025 const ViewControllerPtr getViewController( void ) const; 00026 const vector< float > & getValues( void ) const; 00027 00028 private: 00029 Type m_type; 00030 ViewControllerPtr m_viewController; 00031 vector< float > m_values; 00032 }; 00033 00034 };//namespace RenderTools 00035 00036 #endif
1.5.8