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

« back to all changes in this revision

Viewing changes to .pc/0001-License-Declaration.patch/src/include/FT990.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 FT990_H
 
2
#define FT990_H
 
3
 
 
4
#include "rigbase.h"
 
5
 
 
6
class RIG_FT990 : public rigbase {
 
7
private:
 
8
        double fwdpwr;
 
9
        double refpwr;
 
10
        double fwdv;
 
11
        double refv;
 
12
        int afreq, amode, aBW;
 
13
        int bfreq, bmode, bBW;
 
14
 
 
15
public:
 
16
        RIG_FT990();
 
17
        ~RIG_FT990(){};
 
18
        
 
19
        void initialize();
 
20
 
 
21
        bool get_info();
 
22
 
 
23
        bool can_split() { return true;}
 
24
        void set_split(bool val);
 
25
        bool twovfos() {return false;}
 
26
 
 
27
        long get_vfoA();
 
28
        void set_vfoA(long);
 
29
        void set_modeA(int val);
 
30
        int  get_modeA();
 
31
        void set_bwA(int val);
 
32
        int  get_bwA();
 
33
 
 
34
        long get_vfoB();
 
35
        void set_vfoB(long);
 
36
        void set_modeB(int val);
 
37
        int  get_modeB();
 
38
        void set_bwB(int val);
 
39
        int  get_bwB();
 
40
 
 
41
        int  def_bandwidth(int m);
 
42
 
 
43
        void selectA();
 
44
        void selectB();
 
45
 
 
46
        void set_PTT_control(int val);
 
47
        int  get_smeter();
 
48
        int  get_swr();
 
49
        int  get_power_out();
 
50
 
 
51
        int  adjust_bandwidth(int);
 
52
 
 
53
private:
 
54
        void init_cmd();
 
55
};
 
56
 
 
57
 
 
58
#endif