File indexing completed on 2024-04-28 04:50:48
0001 /* 0002 * iso-codes.h 0003 * 0004 * Copyright (C) 2017 Mauro Carvalho Chehab <mchehab+samsung@kernel.org> 0005 * 0006 * This program is free software; you can redistribute it and/or modify 0007 * it under the terms of the GNU General Public License as published by 0008 * the Free Software Foundation; either version 2 of the License, or 0009 * (at your option) any later version. 0010 * 0011 * This program is distributed in the hope that it will be useful, 0012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 0013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 0014 * GNU General Public License for more details. 0015 */ 0016 0017 #ifndef ISO_CODES_H 0018 #define ISO_CODES_H 0019 0020 class QString; 0021 0022 namespace IsoCodes 0023 { 0024 bool getLanguage(const QString &code, QString *language); 0025 bool getCountry(const QString &code, QString *country); 0026 const QString code2Convert(const QString &code2); 0027 } 0028 0029 #endif