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

« back to all changes in this revision

Viewing changes to .pc/0001-License-Declaration.patch/src/include/FT450.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 _FT450_H
 
2
#define _FT450_H
 
3
 
 
4
#include "rigbase.h"
 
5
 
 
6
class RIG_FT450 : public rigbase {
 
7
private:
 
8
        bool notch_on;
 
9
        int  m_60m_indx;
 
10
public:
 
11
        RIG_FT450();
 
12
        ~RIG_FT450(){}
 
13
        
 
14
        void initialize();
 
15
 
 
16
        long get_vfoA();
 
17
        void set_vfoA(long);
 
18
        long get_vfoB();
 
19
        void set_vfoB(long);
 
20
 
 
21
        void selectA();
 
22
        void selectB();
 
23
        void A2B();
 
24
        void set_modeA(int val);
 
25
        int  get_modeA();
 
26
        int  get_modetype(int n);
 
27
        void set_bwA(int val);
 
28
        int  get_bwA();
 
29
 
 
30
        void set_modeB(int val);
 
31
        int  get_modeB();
 
32
        void set_bwB(int val);
 
33
        int  get_bwB();
 
34
 
 
35
        bool twovfos() {return true;}
 
36
        bool can_split() {return true;}
 
37
        void set_split(bool);
 
38
        int  get_split();
 
39
 
 
40
        int  get_smeter();
 
41
        int  get_swr();
 
42
        int  get_power_out();
 
43
        int  get_power_control();
 
44
        void get_pc_min_max_step(double &min, double &max, double &step) {
 
45
                min = 5; max = 100; step = 1; }
 
46
        void set_volume_control(int val);
 
47
        int  get_volume_control();
 
48
        void get_vol_min_max_step(int &min, int &max, int &step);
 
49
        void set_power_control(double val);
 
50
        void set_PTT_control(int val);
 
51
        void tune_rig();
 
52
        void set_attenuator(int val);
 
53
        int  get_attenuator();
 
54
        void set_preamp(int val);
 
55
        int  get_preamp();
 
56
        void set_if_shift(int val);
 
57
        bool get_if_shift(int &val);
 
58
        void get_if_min_max_step(int &min, int &max, int &step);
 
59
        void set_notch(bool on, int val);
 
60
        bool get_notch(int &val);
 
61
        void get_notch_min_max_step(int &min, int &max, int &step);
 
62
        void set_noise(bool b);
 
63
        void set_mic_gain(int val);
 
64
        int  get_mic_gain();
 
65
        void get_mic_min_max_step(int &min, int &max, int &step);
 
66
        
 
67
        void set_special(int v);
 
68
 
 
69
        int  adjust_bandwidth(int m);
 
70
 
 
71
        void set_vox_onoff();
 
72
        void set_vox_gain();
 
73
        void get_vox_gain_min_max_step(int &min, int &max, int &step) {
 
74
                min = 0; max = 255; step = 1; }
 
75
        void set_vox_hang();
 
76
        void get_vox_hang_min_max_step(int &min, int &max, int &step) {
 
77
                min = 100; max = 3000; step = 100; }
 
78
 
 
79
        void get_cw_wpm_min_max(int &min, int &max) {
 
80
                min = 4; max = 60; }
 
81
 
 
82
        void set_cw_weight();
 
83
        void set_cw_wpm();
 
84
        void enable_keyer();
 
85
        void set_cw_qsk();
 
86
        bool set_cw_spot();
 
87
        void set_cw_spot_tone();
 
88
        void get_cw_spot_tone_min_max_step(int &min, int &max, int &step) {
 
89
                min = 400; max = 800; step = 100; }
 
90
 
 
91
        void set_band_selection(int v);
 
92
 
 
93
        void get_nr_min_max_step(int &min, int &max, int &step) {
 
94
                min = 1; max = 11; step = 1; }
 
95
 
 
96
        void set_noise_reduction_val(int val);
 
97
        int  get_noise_reduction_val();
 
98
        void set_noise_reduction(int val);
 
99
        int  get_noise_reduction();
 
100
 
 
101
        void set_xcvr_auto_on();
 
102
        void set_xcvr_auto_off();
 
103
 
 
104
};
 
105
 
 
106
 
 
107
#endif