adding icon file

main
Steffen Pohle 2 years ago
parent bab52e75f0
commit 098c6a2a39

@ -78,12 +78,10 @@ dep:
buildwindows: clean
make configcross
make $(TARGET) -j 9
make test-fc15
make test-fc16
mkdir TestModbus-Client-$(VERSION)
cp *.exe TestModbus-Client-$(VERSION)/
cp testmodbus-server.ui TestModbus-Client-$(VERSION)/
cp testmodbus-server.png TestModbus-Client-$(VERSION)/
cp testmodbus-client.ui TestModbus-Client-$(VERSION)/
cp testmodbus-client.png TestModbus-Client-$(VERSION)/
cp README.md TestModbus-Client-$(VERSION)/
cp Changelog TestModbus-Client-$(VERSION)/
cp LICENSE TestModbus-Client-$(VERSION)/

@ -4,11 +4,18 @@
//
/////////////////////////////////////////////////////////////////////////////////
#include "tcp.h"
#include "modbus.h"
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include "modbus.h"
#if defined(_WIN32) || defined(_WIN64) || defined(__CYGWIN__)
#else
#include <unistd.h> /* close() */
#endif
#define PACK_INT8(__dstptr, __srci8) \
memcpy(__dstptr, &__srci8, 1); \

@ -9,7 +9,6 @@
#include <stdint.h>
#include <stdlib.h>
#include <arpa/inet.h>
/*
* this file will only contain the encoding and decoding functions

@ -4,19 +4,20 @@
//
/////////////////////////////////////////////////////////////////////////////////
#include <errno.h>
#include <glib.h>
#include <sys/time.h>
#include <string>
#include <string.h>
#include "tcp.h"
#include <stdio.h>
#if defined(_WIN32) || defined(_WIN64) || defined(__CYGWIN__)
#else
#include <unistd.h> /* close() */
#endif
#include <stdlib.h>
#include <string.h> /* memset() */
#include <string>
#include <errno.h>
#include <errno.h>
#include <glib.h>
#include <sys/time.h>
#include "tcp.h"
#include "nwthread.h"
#include "client.h"

@ -50,6 +50,10 @@
#include <string>
#if defined(_WIN32) || defined(_WIN64) || defined(__CYGWIN__)
#define usleep(_us_) Sleep(_us_/1000)
#endif
using namespace std;
#define SOCKET int

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

@ -11,6 +11,7 @@
</object>
<object class="GtkWindow" id="testmodbus-client">
<property name="can-focus">False</property>
<property name="icon">testmodbus-client.png</property>
<signal name="destroy" handler="gtk_main_quit" swapped="no"/>
<signal name="show" handler="mbcli_cb_show" swapped="no"/>
<child>

Loading…
Cancel
Save