| 1 |
// ---------------------------------------------------------------------------- |
| 2 |
// Copyright (C) 2014 |
| 3 |
// David Freese, W1HKJ |
| 4 |
// |
| 5 |
// This file is part of flmsg |
| 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 |
// along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 19 |
// ---------------------------------------------------------------------------- |
| 20 |
|
| 21 |
#ifndef _status_H |
| 22 |
#define _status_H |
| 23 |
|
| 24 |
#include <string> |
| 25 |
|
| 26 |
struct status { |
| 27 |
int mainX; |
| 28 |
int mainY; |
| 29 |
int expertW; |
| 30 |
int expertH; |
| 31 |
|
| 32 |
int wpl; // words per line in radiogram |
| 33 |
bool open_on_export; |
| 34 |
int UTC; |
| 35 |
int dtformat; |
| 36 |
|
| 37 |
void saveLastState(); |
| 38 |
void loadLastState(); |
| 39 |
std::string my_call; |
| 40 |
std::string my_tel; |
| 41 |
std::string my_name; |
| 42 |
std::string my_addr; |
| 43 |
std::string my_city; |
| 44 |
std::string my_email; |
| 45 |
bool sernbr_fname; |
| 46 |
bool call_fname; |
| 47 |
int dt_fname; |
| 48 |
bool rgnbr_fname; |
| 49 |
bool arl_desc; |
| 50 |
std::string sernbr; |
| 51 |
std::string rgnbr; |
| 52 |
bool rri; |
| 53 |
bool insert_x; |
| 54 |
int tab; |
| 55 |
std::string mars_roster_file; |
| 56 |
int charcount; |
| 57 |
bool autowordwrap; |
| 58 |
bool send_original; |
| 59 |
std::string xmlrpc_addr; |
| 60 |
std::string xmlrpc_port; |
| 61 |
|
| 62 |
bool use_compression; |
| 63 |
int selected_mode; |
| 64 |
int swx_index_default_state; |
| 65 |
int swx_index_default_county; |
| 66 |
std::string swx_default_city; |
| 67 |
std::string swx_default_location; |
| 68 |
std::string swx_default_zone; |
| 69 |
std::string swx_default_profile; |
| 70 |
bool change_modem_with_autosend; |
| 71 |
bool sync_modem_to_fldigi; |
| 72 |
bool caplocal; |
| 73 |
bool auto_open_url; |
| 74 |
int retries; |
| 75 |
int timeout; |
| 76 |
int exponent; |
| 77 |
bool ID_on; |
| 78 |
bool ID_off; |
| 79 |
bool ID_restore; |
| 80 |
bool arq_shown; |
| 81 |
|
| 82 |
bool UI_expert; |
| 83 |
bool UI_default; |
| 84 |
|
| 85 |
int arq_notify_timeout; |
| 86 |
bool notify_receipt; |
| 87 |
}; |
| 88 |
|
| 89 |
extern status progStatus; |
| 90 |
|
| 91 |
#endif |