///////////////////////////////////////////////////////////////////////////////// // // client.h is part of TestModbus-Client. // ///////////////////////////////////////////////////////////////////////////////// #ifndef _CLIENT_H_ #define _CLIENT_H_ #include #include #include #include #include #include #ifdef __cplusplus extern "C" { #endif #define LEN_STATUSTEXT 255 void displayerror (std::string error); // *********************************************************************** // // main windows call backs // gboolean mbcli_thread_cb_error(gpointer data); gboolean mbcli_thread_cb_status(gpointer data); G_MODULE_EXPORT void mbcli_cb_connect (GtkWidget *widget, gpointer data); G_MODULE_EXPORT void mbcli_cb_disconnect (GtkWidget *widget, gpointer data); #ifdef __cplusplus } #endif #endif