X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2FWorkAreaManager.h;h=0434074ab45769fa9944972a304f1c4bbf5e0c87;hb=ba3ff646db52efc8faaa735107c5580eae82b29d;hp=e8952f2eae2276a4884f5a7f5db91b06ddc8eca1;hpb=1e57fd12b18f82b4fbc00ee5dbe78d03143b4adb;p=lyx.git diff --git a/src/frontends/WorkAreaManager.h b/src/frontends/WorkAreaManager.h index e8952f2eae..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; @@ -41,6 +44,9 @@ public: /// 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;