]> 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 e5c827e09328517e5157192b0e081259d49a9b85..2b74894cb1b9a512a7116918c87a427673017dd7 100644 (file)
@@ -15,6 +15,8 @@
 #include "frontends/LyXView.h"
 #include "bufferview_funcs.h"
 
+#include <gtkmm.h>
+
 #include <map>
 
 namespace lyx {
@@ -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);