~ubuntu-branches/ubuntu/trusty/fldigi/trusty

« back to all changes in this revision

Viewing changes to src/include/serial.h

  • Committer: Package Import Robot
  • Author(s): Kamal Mostafa
  • Date: 2013-02-02 11:52:30 UTC
  • mfrom: (1.1.64)
  • Revision ID: package-import@ubuntu.com-20130202115230-kea12fgypzi0c2uk
Tags: 3.21.67-2
* Debian packaging:
  - debian/fldigi.menu: use absolute path to menu icons

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
        bool RTSCTS(){return rtscts;}
53
53
        void SetPTT(bool b);
54
54
 
 
55
        void RestoreTIO(bool b) { restore_tio = b; }
 
56
        bool RestoreTIO() { return restore_tio; }
 
57
 
55
58
        void Stopbits(int n) {stopbits = (n == 1 ? 1 : 2);}
56
59
        int  Stopbits() { return stopbits;}
57
60
 
75
78
        bool    rts;
76
79
        bool    rtsptt;
77
80
        bool    rtscts;
 
81
        bool    restore_tio;
78
82
        int             stopbits;
79
83
        char    bfr[2048];
80
84
//Methods
157
161
        bool RTSCTS(){return rtscts;}
158
162
        void SetPTT(bool b);
159
163
 
 
164
        void RestoreTIO(bool b) { restore_tio = b; }
 
165
        bool RestoreTIO() { return restore_tio; }
 
166
 
160
167
        void Stopbits(int n) {stopbits = (n == 1 ? 1 : 2);}
161
168
        int  Stopbits() { return stopbits;}
162
169
 
194
201
        bool    rts;
195
202
        bool    rtsptt;
196
203
        bool    rtscts;
 
204
        bool    restore_tio;
197
205
        int             stopbits;
198
206
};
199
207