]> 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 5d7967202b81c020671622fb980ac5f878724e6b..2b74894cb1b9a512a7116918c87a427673017dd7 100644 (file)
@@ -14,6 +14,9 @@
 
 #include "frontends/LyXView.h"
 #include "bufferview_funcs.h"
+
+#include <gtkmm.h>
+
 #include <map>
 
 namespace lyx {
@@ -21,8 +24,7 @@ namespace frontend {
 
 class GMiniBuffer;
 
-class GView : public LyXView, public Gtk::Window
-{
+class GView : public LyXView, public Gtk::Window {
 public:
        enum Position {
                Top,
@@ -49,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);