]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/WorkAreaManager.h
Hack to display section symbol
[lyx.git] / src / frontends / WorkAreaManager.h
index dfef00e6f69168cb2b679f1eff37b6845bbac2b8..94c528b3a69858da58c3ed1e40090603b678f218 100644 (file)
@@ -15,6 +15,9 @@
 #include <list>
 
 namespace lyx {
+
+class Buffer;
+
 namespace frontend {
 
 class WorkArea;
@@ -38,8 +41,14 @@ public:
        void redrawAll(bool update_metrics);
        ///
        void closeAll();
-       /// Update window titles of all users.
+       /// Update window titles of all users and the external modifications
+       /// warning.
        void updateTitles();
+       /// Schedule redraw of work areas
+       void scheduleRedraw();
+       /// If there is no work area, create a new one in the current view using the
+       /// buffer buf. Returns false if not possible.
+       bool unhide(Buffer * buf) const;
 
 private:
        typedef std::list<WorkArea *>::iterator iterator;