#ifndef VideoDest_INCLUDED #define VideoDest_INCLUDED #include #ifdef WIN32 #ifdef DOEXPORT_SCRIPT #define EXPORT_SCRIPT __declspec(dllexport) #else #define EXPORT_SCRIPT #endif #else #define EXPORT_SCRIPT #endif class VideoDest : public bncs_script_helper { public: VideoDest(bncs_client_callback* parent, const char* path); virtual ~VideoDest(); 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; // Defines our controlled matrix and crosspoint bncs_string m_selectedbg; // The state used to highlight behine monitor icon showing this control is active bncs_string m_deselectedbg; // The state that shows this control is not active int m_matrixID; // BNCS Matrix driver ID, extracted from instance data. int m_dest; // Destination switched by this component. bool m_selected; // When active, this component is active. }; #endif // VideoDest_INCLUDED