Add shortDescription

This commit is contained in:
dmitry
2021-08-17 05:28:41 +03:00
parent 9aec6bbed4
commit a57e431437
3 changed files with 22 additions and 8 deletions

View File

@ -25,6 +25,7 @@ class Language : public ALabel, public sigc::trackable {
std::string full_name;
std::string short_name;
std::string variant;
std::string short_description;
};
class XKBContext {
@ -36,6 +37,7 @@ class Language : public ALabel, public sigc::trackable {
rxkb_context* context_ = nullptr;
rxkb_layout* xkb_layout_ = nullptr;
Layout* layout_ = nullptr;
std::map<std::string, rxkb_layout*> base_layouts_by_name_;
};
void onEvent(const struct Ipc::ipc_response&);
@ -50,7 +52,6 @@ class Language : public ALabel, public sigc::trackable {
Layout layout_;
std::string tooltip_format_ = "";
std::map<std::string, Layout> layouts_map_;
XKBContext xkb_context_;
bool is_variant_displayed;
util::JsonParser parser_;