/usr/include/openrpt/common/languageoptions.h is in libopenrpt-dev 3.3.10-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | #ifndef LANGUAGEOPTIONS_H
#define LANGUAGEOPTIONS_H
#include <QObject>
#include <QString>
#include <QMap>
#include <QTranslator>
class LanguageOptions : public QObject
{
Q_OBJECT
public:
LanguageOptions(QObject *parent);
~LanguageOptions();
private:
public:
void addLanguage(QString languageID, QString languageTitle);
void addTranslation(QString languageID, QString translationFile);
void addTranslationToDefault(QString file);
void select(QString languageID);
void installLanguage(QString languageID);
void installSelected(void);
QStringList languageTitlesList(void);
QString selectedTitle();
void selectFromTitle(QString title);
private:
QString _defaultLanguage;
QString _selectedLanguage;
QMap<QString,QStringList> _languages;
QList<QTranslator *> _translators;
public:
};
#endif // LANGUAGEOPTIONS_H
|