7 #ifndef _FCITX_USERINTERFACEMANAGER_H_ 8 #define _FCITX_USERINTERFACEMANAGER_H_ 11 #include <fcitx-utils/macros.h> 13 #include <fcitx/fcitxcore_export.h> 25 class UserInterfaceManagerPrivate;
39 void load(
const std::string &ui = {});
50 bool registerAction(
const std::string &name,
Action *action);
57 bool registerAction(
Action *action);
61 void unregisterAction(
Action *action);
68 Action *lookupAction(
const std::string &name)
const;
75 Action *lookupActionById(
int id)
const;
93 void updateAvailability();
97 std::string currentUI()
const;
102 bool isVirtualKeyboardVisible()
const;
108 void showVirtualKeyboard()
const;
114 void hideVirtualKeyboard()
const;
123 void updateVirtualKeyboardVisibility();
126 std::unique_ptr<UserInterfaceManagerPrivate> d_ptr;
131 #endif // _FCITX_USERINTERFACEMANAGER_H_
The Action class provides an abstraction for user commands that can be added to user interfaces...
Class for status area in UI.
Base class for User Interface addon.
An input context represents a client of Fcitx.