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

« back to all changes in this revision

Viewing changes to .pc/0001-License-Declaration.patch/src/include/RAY152.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 _RAY152_H
2
 
#define _RAY152_H
3
 
 
4
 
#include "rigbase.h"
5
 
#include "rigpanel.h"
6
 
 
7
 
class RIG_RAY152 : public rigbase {
8
 
public:
9
 
        RIG_RAY152();
10
 
        ~RIG_RAY152(){}
11
 
        
12
 
        void initialize();
13
 
        void shutdown();
14
 
 
15
 
        void get_data();
16
 
 
17
 
        long get_vfoA();
18
 
        void set_vfoA(long);
19
 
        long get_vfoB();
20
 
        void set_vfoB(long);
21
 
        void set_PTT_control(int val);
22
 
        void set_modeA(int val);
23
 
        int  get_modeA();
24
 
        void set_modeB(int val);
25
 
        int  get_modeB();
26
 
        int  get_modetype(int n);
27
 
 
28
 
        int  get_volume_control() {return vol;}
29
 
        void get_vol_min_max_step(int &min, int &max, int &step) {
30
 
                min = 0; max = 100; step = 1; }
31
 
        void set_volume_control(int val);
32
 
 
33
 
        void set_rf_gain(int val);
34
 
        int  get_rf_gain() {return rfg;}
35
 
        void get_rf_min_max_step(int &min, int &max, int &step) {
36
 
                min = 0; max = 100; step = 1; }
37
 
 
38
 
        void setRit(int v);
39
 
        int  getRit();
40
 
        void get_RIT_min_max_step(int &min, int &max, int &step) {
41
 
                min = -200; max = 200; step = 10; }
42
 
 
43
 
        int  get_smeter(void);
44
 
        int  get_power_out(void);
45
 
 
46
 
        void set_squelch(int val);
47
 
        int  get_squelch();
48
 
 
49
 
        void set_noise(bool on);
50
 
        int  get_noise();
51
 
 
52
 
        void set_auto_notch(int v);
53
 
        int  get_auto_notch();
54
 
 
55
 
        int  adjust_bandwidths(int m) { return 0; }
56
 
        
57
 
private:
58
 
        int vol;
59
 
        int rfg;
60
 
        int squelch;
61
 
        int nb;
62
 
        int nb_set;
63
 
        int agc;
64
 
        bool dumpdata;
65
 
};
66
 
 
67
 
#endif