#ifndef MixerExtraIn_INCLUDED #define MixerExtraIn_INCLUDED #include #ifdef WIN32 #ifdef DOEXPORT_SCRIPT #define EXPORT_SCRIPT __declspec(dllexport) #else #define EXPORT_SCRIPT #endif #else #define EXPORT_SCRIPT #endif #define MIXER_PLUGGED 16 class MixerExtraIn : public bncs_script_helper { public: MixerExtraIn( bncs_client_callback * parent, const char* path ); virtual ~MixerExtraIn(); void buttonCallback( buttonNotify *b ); int revertiveCallback( revertiveNotify * r ); void databaseCallback( revertiveNotify * r ); bncs_string parentCallback( parentNotify *p ); void timerCallback( int ); private: bncs_string m_myParam; bncs_string m_instance; int tally_drv; // BNCS driver ID for the Tally Infodriver int sdi_drv; // BNCSdriver ID for Studio C SDI router int selInput; // Input selection index. Value is 1 for first row. int selDest; // SDI router destintation index. bool haveTally; // True when a tally infodriver entry is selected bool haveDest; // True when a destination button has been selected int tallyVal[MIXER_PLUGGED + 1]; // Holds the values returned by the Tally infodriver int newVal[MIXER_PLUGGED + 1]; // Holds the edited table of values bool tallyList[MIXER_PLUGGED + 1]; // Checks on the tally received during initial operations. void clearHighlight(void); // Support function to remove a highlighted entry void showInputData(int input, int destination); // Updates data display in Mixer input listbox void checkNetworkUpdateEnable(void); // Checks if the Network Update button should be // enabled and enables if required. bool allRevertiveRx(void); // Checks if revertive data has been received from // all relevant tally infodriver slots. }; #endif // MixerExtraIn_INCLUDED