mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-02-06 20:33:00 -05:00
Completely independent input language files and display language files. Input language files are now loaded based on number of files in "profiles" folder. InputLanguageSettings window now shows input languages based on their "filetype" value andfiles in "profiles" folder.
25 lines
544 B
C++
25 lines
544 B
C++
// Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved.
|
|
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
|
|
|
|
#pragma once
|
|
|
|
#include "BaseSettingsWindow.hpp"
|
|
#include "Translator.hpp"
|
|
|
|
namespace gui
|
|
{
|
|
|
|
class InputLanguageWindow : public BaseSettingsWindow
|
|
{
|
|
public:
|
|
InputLanguageWindow(app::Application *app);
|
|
|
|
protected:
|
|
auto buildOptionsList() -> std::list<gui::Option> override;
|
|
|
|
private:
|
|
Language selectedLang;
|
|
Profiles profiles;
|
|
};
|
|
} // namespace gui
|