X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2FWorkAreaManager.h;h=0434074ab45769fa9944972a304f1c4bbf5e0c87;hb=ba3ff646db52efc8faaa735107c5580eae82b29d;hp=7d389c67034b82e5993887a9e139a06d9bf117ba;hpb=34859c9a4fb66b038268b9444de85692c5fa5471;p=lyx.git diff --git a/src/frontends/WorkAreaManager.h b/src/frontends/WorkAreaManager.h index 7d389c6703..0434074ab4 100644 --- a/src/frontends/WorkAreaManager.h +++ b/src/frontends/WorkAreaManager.h @@ -15,6 +15,9 @@ #include namespace lyx { + +class Buffer; + namespace frontend { class WorkArea; @@ -35,13 +38,15 @@ public: /// void remove(WorkArea * wa); /// - void redrawAll(); + void redrawAll(bool update_metrics); /// void closeAll(); - /// This function is called when the buffer readonly status change. - void setReadOnly(bool); - /// Update window titles of all users. + /// Update window titles of all users and the external modifications + /// warning. void updateTitles(); + /// 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); private: typedef std::list::iterator iterator;