Dissect closeBufferAll and closeTabWorkArea. Unfortunately, I have two pass ugly parameters.

Forgot this one of course.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31123 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Vincent van Ravesteijn 2009-08-18 19:05:04 +00:00
parent 0e5f082a57
commit c694bbe6ea

View File

@ -300,6 +300,9 @@ private:
///
bool closeWorkArea(GuiWorkArea * wa, bool close_buffer,
bool in_close_event = false, bool mark_active = false);
/// closes the tabworkarea and all tabs.
bool closeTabWorkArea(TabWorkArea * twa, bool in_close_event = false,
GuiWorkArea * main_work_area = 0);
/// gives the user the possibility to save his work
/// or to discard the changes. If hiding is true, the
/// document will be reloaded.