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

« back to all changes in this revision

Viewing changes to .pc/0001-License-Declaration.patch/src/include/TS480HX.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 _TS480HX_H
 
2
#define _TS480HX_H
 
3
 
 
4
#include "rigbase.h"
 
5
 
 
6
class RIG_TS480HX : public rigbase {
 
7
private:
 
8
        bool beatcancel_on;
 
9
        bool preamp_on;
 
10
        bool att_on;
 
11
        const char *_mode_type;
 
12
        bool menu_45;
 
13
        int  alc;
 
14
        bool swralc_polled;
 
15
public:
 
16
        RIG_TS480HX();
 
17
        ~RIG_TS480HX(){}
 
18
 
 
19
        bool sendTScommand(string, int);
 
20
 
 
21
        void initialize();
 
22
        void shutdown();
 
23
 
 
24
        void check_menu_45();
 
25
 
 
26
        long get_vfoA();
 
27
        void set_vfoA(long);
 
28
        long get_vfoB();
 
29
        void set_vfoB(long);
 
30
 
 
31
        int  get_modetype(int n);
 
32
        void set_modeA(int val);
 
33
        int  get_modeA();
 
34
        void set_modeB(int val);
 
35
        int  get_modeB();
 
36
 
 
37
        int  get_smeter();
 
38
        int  get_swr();
 
39
        int  get_alc();
 
40
        int  get_power_out();
 
41
        void set_PTT_control(int val);
 
42
        void tune_rig();
 
43
 
 
44
        void set_bwA(int val);
 
45
        int  get_bwA();
 
46
        void set_bwB(int val);
 
47
        int  get_bwB();
 
48
        void selectA();
 
49
        void selectB();
 
50
 
 
51
        void set_split(bool val);
 
52
        bool can_split();
 
53
        int  get_split();
 
54
        bool twovfos() {return true;}
 
55
 
 
56
        void set_volume_control(int val);
 
57
        int  get_volume_control();
 
58
        void set_power_control(double val);
 
59
        int  get_power_control();
 
60
        void get_pc_min_max_step(double &min, double &max, double &step) {
 
61
                min = 5; max = 200; step = 1; }
 
62
 
 
63
        void set_if_shift(int val);
 
64
        bool get_if_shift(int &val);
 
65
        void get_if_min_max_step(int &min, int &max, int &step);
 
66
 
 
67
        void set_mic_gain(int val);
 
68
        int  get_mic_gain();
 
69
        void get_mic_min_max_step(int &min, int &max, int &step);
 
70
 
 
71
        void set_rf_gain(int val);
 
72
        int  get_rf_gain();
 
73
        void get_rf_min_max_step(int &min, int &max, int &step);
 
74
 
 
75
        void set_attenuator(int val);
 
76
        int  get_attenuator();
 
77
        void set_preamp(int val);
 
78
        int  get_preamp();
 
79
 
 
80
        int  adjust_bandwidth(int m);
 
81
        int  def_bandwidth(int m);
 
82
        int  set_widths(int val);
 
83
 
 
84
        const char **bwtable(int);
 
85
        const char **lotable(int);
 
86
        const char **hitable(int);
 
87
 
 
88
        const char * get_bwname_(int bw, int md);
 
89
};
 
90
 
 
91
 
 
92
#endif