1 // ---------------------------------------------------------------------
2 //
3 //      xml_server.h, a part of flarq
4 //
5 // Copyflarqht (C) 2016
6 //               Dave Freese, W1HKJ
7 //
8 // This library is free software; you can redistribute it and/or modify
9 // it under the terms of the GNU General Public License as published by
10 // the Free Software Foundation; either version 3 of the License, or
11 // (at your option) any later version.
12 //
13 // This library is distributed in the hope that it will be useful,
14 // but WITHOUT ANY WARRANTY; without even the implied warranty of
15 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 // GNU General Public License for more details.
17 //
18 // You should have received a copy of the GNU General Public License
19 // along with the program; if not, write to the
20 //
21 //  Free Software Foundation, Inc.
22 //  51 Franklin Street, Fifth Floor
23 //  Boston, MA  02110-1301 USA.
24 //
25 // ---------------------------------------------------------------------
26 
27 #ifndef XML_SERVER_H
28 #define XML_SERVER_H
29 
30 #include <fstream>
31 #include <vector>
32 #include <string>
33 
34 #include <math.h>
35 #ifndef WIN32
36 #include <sys/ipc.h>
37 #include <sys/msg.h>
38 #include <sys/shm.h>
39 #endif
40 
41 #include "status.h"
42 
43 #include <FL/fl_show_colormap.H>
44 #include <FL/fl_ask.H>
45 
46 extern void start_xml_server(int port = 12345);
47 extern void exit_server();
48 
49 extern bool xml_rx_text_ready;
50 
51 #endif
52