#ifndef Gal_Lights_INCLUDED #define Gal_Lights_INCLUDED #include #ifdef WIN32 #ifdef DOEXPORT_SCRIPT #define EXPORT_SCRIPT __declspec(dllexport) #else #define EXPORT_SCRIPT #endif #else #define EXPORT_SCRIPT #endif class Gal_Lights : public bncs_script_helper { public: Gal_Lights( bncs_client_callback * parent, const char* path ); virtual ~Gal_Lights(); 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 gpiDriver; // GPI driver ID int pcrHouse; // GPI Contact ID for PCR house lights int pcrOps; // GPI Contact ID for PCR operational lights int scrHouse; // GPI Contact ID for SCR house lights int scrOps; // GPI Contact ID for SCR operational lights }; #endif // Gal_Lights_INCLUDED