]> git.lyx.org Git - features.git/blobdiff - src/frontends/xforms/XFormsView.h
This is the merging of the GUI API cleanup branch that was developed in svn+ssh:...
[features.git] / src / frontends / xforms / XFormsView.h
index 45e58ff870d738c9bfbc83f22508aeaa5068b01d..91099b00dbe05fbd4f47db3eb04495adb77351c1 100644 (file)
@@ -12,6 +12,7 @@
 #ifndef LyXView_H
 #define LyXView_H
 
+#include "GuiImplementation.h"
 #include "LayoutEngine.h"
 #include "forms_fwd.h"
 
@@ -82,6 +83,9 @@ public:
        // returns true if this view has the focus.
        virtual bool hasFocus() const;
 
+       ///
+       Gui & gui() { return frontend_; }
+
 private:
        /**
         * setWindowTitle - set title of window
@@ -116,6 +120,8 @@ private:
        Pixmap icon_pixmap_;
        ///
        Pixmap icon_mask_;
+       ///
+       GuiImplementation frontend_;
 };
 
 } // namespace frontend