1 // ---------------------------------------------------------------------------- 2 // Copyright (C) 2014 3 // David Freese, W1HKJ 4 // 5 // This file is part of flrig. 6 // 7 // flrig is free software; you can redistribute it and/or modify 8 // it under the terms of the GNU General Public License as published by 9 // the Free Software Foundation; either version 3 of the License, or 10 // (at your option) any later version. 11 // 12 // flrig is distributed in the hope that it will be useful, 13 // but WITHOUT ANY WARRANTY; without even the implied warranty of 14 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 // GNU General Public License for more details. 16 // 17 // You should have received a copy of the GNU General Public License 18 // aunsigned long int with this program. If not, see <http://www.gnu.org/licenses/>. 19 // ---------------------------------------------------------------------------- 20 21 #ifndef _TT535_H 22 #define _TT535_H 23 24 #include "ICbase.h" 25 26 class RIG_TT535 : public RIG_ICOM { 27 public: 28 RIG_TT535(); ~RIG_TT535()29 ~RIG_TT535(){} 30 31 bool check(); 32 33 unsigned long int get_vfoA(); 34 void set_vfoA(unsigned long int); 35 unsigned long int get_vfoB(); 36 void set_vfoB(unsigned long int); 37 // void set_PTT_control(int val); 38 void set_modeA(int val); 39 int get_modeA(); 40 void set_modeB(int val); 41 int get_modeB(); 42 int get_modetype(int n); 43 44 int adjust_bandwidth(int m); 45 }; 46 47 #endif 48