]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/gtk/GView.h
Change glob() API to accept a dir parameter.
[lyx.git] / src / frontends / gtk / GView.h
index d04a0ab3297ce502ecb494f80d7f4ff2326e72d6..2b74894cb1b9a512a7116918c87a427673017dd7 100644 (file)
 
 #include "frontends/LyXView.h"
 #include "bufferview_funcs.h"
+
+#include <gtkmm.h>
+
 #include <map>
 
+namespace lyx {
+namespace frontend {
+
 class GMiniBuffer;
 
-class GView : public LyXView, public Gtk::Window
-{
+class GView : public LyXView, public Gtk::Window {
 public:
        enum Position {
                Top,
@@ -46,6 +51,10 @@ public:
        virtual void busy(bool) const;
        /// clear any temporary message and replace with current status
        virtual void clearMessage();
+
+       // returns true if this view has the focus.
+       virtual bool hasFocus() const;
+
 private:
        void showViewState();
        bool onFocusIn(GdkEventFocus * event);
@@ -66,4 +75,7 @@ private:
        Gtk::Widget * workArea_;
 };
 
+} // namespace frontend
+} // namespace lyx
+
 #endif