]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/xscreen.h
Change glob() API to accept a dir parameter.
[lyx.git] / src / frontends / xforms / xscreen.h
index 420c31db0fa86f301a9cd28316d6597d4c792e53..00bfc2538e2455602404165ad568b821a04f9ecf 100644 (file)
 #ifndef XSCREEN_H
 #define XSCREEN_H
 
-
 #include "screen.h"
 #include <X11/Xlib.h> // for Pixmap, GC
 
+class WorkArea;
+
+namespace lyx {
+namespace frontend {
+
 class XWorkArea;
 
 /** The class XScreen is used for the main Textbody.
@@ -37,7 +41,7 @@ public:
 
 protected:
        /// get the work area
-       virtual WorkArea & workarea() const { return owner_; }
+       virtual WorkArea & workarea() const;
 
        /// Copies specified area of pixmap to screen
        virtual void expose(int x, int y, int w, int h);
@@ -66,4 +70,7 @@ private:
        GC gc_copy;
 };
 
+} // namespace frontend
+} // namespace lyx
+
 #endif