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

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Kamal Mostafa
  • Date: 2014-10-25 11:17:10 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20141025111710-n32skgya3l9u1brw
Tags: 1.3.17-1
* New upstream release (Closes: #761839)
* Debian Standards-Version: 3.9.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#ifndef _H
2
 
#define _H
3
 
 
4
 
#include "rigbase.h"
5
 
 
6
 
class RIG_K2 : public rigbase {
7
 
protected:
8
 
        bool hipower;
9
 
        bool K2split;
10
 
public:
11
 
        RIG_K2();
12
 
        ~RIG_K2(){}
13
 
 
14
 
        void initialize();
15
 
 
16
 
        bool get_info();
17
 
        bool twovfos() {return true;}
18
 
 
19
 
        long get_vfoA();
20
 
        void set_vfoA(long);
21
 
        void set_modeA(int val);
22
 
        int  get_modeA();
23
 
        void set_bwA(int val);
24
 
        int  get_bwA();
25
 
 
26
 
        long get_vfoB();
27
 
        void set_vfoB(long);
28
 
        void set_modeB(int val);
29
 
        int  get_modeB();
30
 
        void set_bwB(int val);
31
 
        int  get_bwB();
32
 
 
33
 
        void selectA();
34
 
        void selectB();
35
 
//      void A2B();
36
 
 
37
 
        int  get_modetype(int n);
38
 
 
39
 
        void set_attenuator(int val);
40
 
        int  get_attenuator();
41
 
        void set_preamp(int val);
42
 
        int  get_preamp();
43
 
 
44
 
        void tune_rig();
45
 
        void set_PTT_control(int val);
46
 
        void get_pc_min_max_step(double &min, double &max, double &step);
47
 
        int  get_power_control();
48
 
        void set_power_control(double val);
49
 
        int  get_smeter();
50
 
        int  get_power_out();
51
 
 
52
 
        bool can_split();
53
 
        void set_split(bool val);
54
 
        int  get_split();
55
 
 
56
 
        int  adjust_bandwidth(int m);
57
 
 
58
 
};
59
 
 
60
 
#endif