You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
872 B

/////////////////////////////////////////////////////////////////////////////////
//
// client.h is part of TestModbus-Client.
//
/////////////////////////////////////////////////////////////////////////////////
#ifndef _CLIENT_H_
#define _CLIENT_H_
#include <gtk/gtk.h>
#include <gdk/gdk.h>
#include <glib.h>
#include <string>
#include <iostream>
#include <list>
#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