~ubuntu-branches/ubuntu/wily/flrig/wily

« back to all changes in this revision

Viewing changes to .pc/0001-License-Declaration.patch/src/include/rig_io.h

  • Committer: Package Import Robot
  • Author(s): Kamal Mostafa
  • Date: 2014-06-07 11:28:52 UTC
  • Revision ID: package-import@ubuntu.com-20140607112852-pj9xhtlvwpgqjy5x
Tags: 1.3.15-1
* Initial release (Closes: #750861)
  flrig version 1.3.15 plus the following upstream commits:
  - 0001-License-Declaration.patch
  - 0002-FL_APPS-folder.patch
  - 0003-rig-home-dir.patch
  - 0004-RTS-DTR-restore.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef _RIG_IO_H
 
2
#define _RIG_IO_H
 
3
 
 
4
#include <cstring>
 
5
#include <cmath>
 
6
 
 
7
#include <FL/Fl.H>
 
8
 
 
9
using namespace std;
 
10
 
 
11
enum MODES {LSB, USB, CW};
 
12
 
 
13
enum BAUDS {
 
14
        BR300, BR600, BR1200, BR2400, BR4800, BR9600, BR19200, 
 
15
        BR38400, BR57600, BR115200, BR230400, BR460800 };
 
16
 
 
17
#define RXBUFFSIZE 16384
 
18
 
 
19
extern const char *szBaudRates[];
 
20
 
 
21
extern bool startXcvrSerial();
 
22
extern bool startAuxSerial();
 
23
extern bool startSepSerial();
 
24
 
 
25
extern int readResponse();
 
26
extern int sendCommand(string s, int nread = -1);
 
27
extern int waitResponse(int);
 
28
 
 
29
extern void clearSerialPort();
 
30
extern int rig_nbr;
 
31
extern char replybuff[];
 
32
extern string replystr;
 
33
 
 
34
#endif