20 #include <QLoggingCategory> 23 #include "WindowManagerGlobal.h" 25 Q_DECLARE_LOGGING_CATEGORY(INPUTMETHODMANAGER)
31 namespace application {
32 class MirSurfaceInterface;
37 class WINDOWMANAGERQML_EXPORT InputMethodManager :
public QObject
40 Q_PROPERTY(unity::shell::application::MirSurfaceInterface* surface READ surface NOTIFY surfaceChanged)
44 static InputMethodManager* instance();
46 void setWindow(
Window* window);
49 void surfaceChanged(unity::shell::application::MirSurfaceInterface* inputMethodSurface);
52 unity::shell::application::MirSurfaceInterface* surface()
const;
54 Window* m_inputMethodWindow{
nullptr};
A slightly higher concept than MirSurface.