#ifndef gpi675test_INCLUDED #define gpi675test_INCLUDED #include #ifdef WIN32 #ifdef DOEXPORT_SCRIPT #define EXPORT_SCRIPT __declspec(dllexport) #else #define EXPORT_SCRIPT #endif #else #define EXPORT_SCRIPT #endif class gpi675test : public bncs_script_helper { public: gpi675test( bncs_client_callback * parent, const char* path ); virtual ~gpi675test(); 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 outstate[65]; // Holds the current state of the outputs }; #endif // gpi675test_INCLUDED