// ----------------------------------------------------------------------------
// Copyright (C) 2014
// David Freese, W1HKJ
//
// This file is part of fldigi
//
// fldigi is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 3 of the License, or
// (at your option) any later version.
//
// fldigi is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see .
// ----------------------------------------------------------------------------
#ifndef RIGIO_H
#define RIGIO_H
#include
#include "serial.h"
extern Cserial rigio;
extern bool hexout(const std::string&);
extern bool sendCommand(std::string, int retnbr);
extern long long rigCAT_getfreq(int retries, bool &failed);
extern void rigCAT_setfreq(long long);
extern std::string rigCAT_getmode();
extern void rigCAT_setmode(const std::string&);
extern std::string rigCAT_getwidth();
extern void rigCAT_setwidth(const std::string&);
extern void rigCAT_close();
extern bool rigCAT_init(bool);
extern void rigCAT_set_ptt(int);
extern void rigCAT_set_qsy(long long f);
extern void rigCAT_defaults();
extern void rigCAT_restore_defaults();
#endif