#ifndef TV_Mon_Select_INCLUDED #define TV_Mon_Select_INCLUDED #include #ifdef WIN32 #ifdef DOEXPORT_SCRIPT #define EXPORT_SCRIPT __declspec(dllexport) #else #define EXPORT_SCRIPT #endif #else #define EXPORT_SCRIPT #endif class TV_Mon_Select : public bncs_script_helper { public: TV_Mon_Select( bncs_client_callback * parent, const char* path ); virtual ~TV_Mon_Select(); void buttonCallback( buttonNotify *b ); int revertiveCallback( revertiveNotify * r ); void databaseCallback( revertiveNotify * r ); bncs_string parentCallback( parentNotify *p ); void timerCallback( int ); private: bncs_string m_instance; bncs_string deselectedStatesheet; bncs_string selectedStatesheet; int selectedSource; // New source number to route sent by host. int m_driverID; // BNCS driver ID extracted from the instance data int m_destID; // Destination extracted from the instance data bool I_am_active; // Set true when this component instance // should process source change requests }; #endif // TV_Mon_Select_INCLUDED