#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>
// returns true if this view has the focus.
virtual bool hasFocus() const;
+ ///
+ Gui & gui() { return frontend_; }
+
private:
void showViewState();
bool onFocusIn(GdkEventFocus * event);
boost::scoped_ptr<GMiniBuffer> minibuffer_;
Gtk::Widget * workArea_;
+ ///
+ GuiImplementation frontend_;
};
} // namespace frontend