1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-28 08:48:48 +02:00
vcmi/launcher/languages.h

28 lines
659 B
C++

/*
* languages.h, part of VCMI engine
*
* Authors: listed in file AUTHORS in main folder
*
* License: GNU General Public License v2.0 or later
* Full text of license available in license.txt file, in main folder
*
*/
#pragma once
class QString;
class QComboBox;
class QListWidget;
namespace Languages
{
struct Options;
QString generateLanguageName(const Languages::Options & identifier);
QString getHeroesDataLanguage();
/// if includeAll is set, all languages including encoding placeholders will be included into widget
void fillLanguages(QComboBox * widget, bool includeAll);
void fillLanguages(QListWidget * widget, bool includeAll);
}