1 // ---------------------------------------------------------------------------- 2 // Copyright (C) 2014 3 // David Freese, W1HKJ 4 // 5 // This file is part of fldigi 6 // 7 // fldigi 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 // fldigi 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 LOOKUPCALL_H 22 #define LOOKUPCALL_H 23 24 #include <cstring> 25 26 extern std::string lookup_latd; 27 extern std::string lookup_lond; 28 extern std::string lookup_addr1; 29 extern std::string lookup_addr2; 30 extern std::string lookup_qth; 31 extern std::string lookup_state; 32 extern std::string lookup_province; 33 extern std::string lookup_zip; 34 extern std::string lookup_country; 35 36 extern void clear_Lookup(); 37 38 extern void CALLSIGNquery(); 39 40 enum qrz_xmlquery_t { 41 QRZXML_EXIT = -1, 42 QRZXMLNONE, 43 QRZNET, QRZCD, 44 HAMCALLNET, 45 CALLOOK, 46 HAMQTH }; 47 48 enum qrz_webquery_t { 49 QRZWEB_EXIT = -1, 50 QRZWEBNONE, 51 QRZHTML, HAMCALLHTML, HAMQTHHTML, CALLOOKHTML }; 52 53 extern void sendEQSL(const char *url); 54 extern void makeEQSL(const char *msg); 55 56 #endif 57