]> git.lyx.org Git - features.git/blobdiff - src/frontends/gtk/GView.h
This is the merging of the GUI API cleanup branch that was developed in svn+ssh:...
[features.git] / src / frontends / gtk / GView.h
index 2b74894cb1b9a512a7116918c87a427673017dd7..cc796a66f3772cbc1f44b3abfe179635df88549a 100644 (file)
 #ifndef GVIEW_H
 #define GVIEW_H
 
-#include "frontends/LyXView.h"
 #include "bufferview_funcs.h"
 
+#include "frontends/LyXView.h"
+
+#include "GuiImplementation.h"
+
 #include <gtkmm.h>
 
 #include <map>
@@ -55,6 +58,9 @@ public:
        // returns true if this view has the focus.
        virtual bool hasFocus() const;
 
+       ///
+       Gui & gui() { return frontend_; }
+
 private:
        void showViewState();
        bool onFocusIn(GdkEventFocus * event);
@@ -73,6 +79,8 @@ private:
 
        boost::scoped_ptr<GMiniBuffer> minibuffer_;
        Gtk::Widget * workArea_;
+       ///
+       GuiImplementation frontend_;
 };
 
 } // namespace frontend