]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/gtk/GView.h
make it compile again
[lyx.git] / src / frontends / gtk / GView.h
index e5c827e09328517e5157192b0e081259d49a9b85..655cdb4646b4cf99424d900efe6623f2a480deaf 100644 (file)
 #ifndef GVIEW_H
 #define GVIEW_H
 
-#include "frontends/LyXView.h"
 #include "bufferview_funcs.h"
 
+#include "frontends/LyXView.h"
+
+#include <gtkmm.h>
+
 #include <map>
 
 namespace lyx {
@@ -39,7 +42,7 @@ public:
 
        virtual void prohibitInput() const;
        virtual void allowInput() const;
-       virtual void message(std::string const &);
+       virtual void message(lyx::docstring const &);
 
        bool on_delete_event(GdkEventAny * event);
        void focusWorkArea() { workArea_->grab_focus(); }
@@ -47,12 +50,21 @@ public:
 
        /// show busy cursor
        virtual void busy(bool) const;
+
+       ///
+       Toolbars::ToolbarPtr makeToolbar(ToolbarBackend::Toolbar const & tbb);
+
        /// clear any temporary message and replace with current status
        virtual void clearMessage();
+
+       // returns true if this view has the focus.
+       virtual bool hasFocus() const;
+       ///
+       void updateStatusBar();
+
 private:
-       void showViewState();
        bool onFocusIn(GdkEventFocus * event);
-       virtual void setWindowTitle(std::string const & t, std::string const & it);
+       virtual void setWindowTitle(lyx::docstring const & t, lyx::docstring const & it);
 
        // The top-most box containing all other boxes.
        Gtk::VBox top_box_;