3 * \file WorkAreaManager.h
4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Abdelrazak Younes
9 * Full author contact details are available in file CREDITS.
12 #ifndef WORKAREA_MANAGER_H
13 #define WORKAREA_MANAGER_H
22 /// \c WorkArea Manager.
24 * This is a helper class designed to avoid signal/slot connections
25 * between a \c Buffer and the potentially multiple \c WorkArea(s)
26 * used to visualize this Buffer contents.
34 void add(WorkArea * wa);
36 void remove(WorkArea * wa);
41 /// This function is called when the buffer readonly status change.
42 void setReadOnly(bool);
43 /// Update window titles of all users.
47 typedef std::list<WorkArea *>::iterator iterator;
49 std::list<WorkArea *> work_areas_;
52 } // namespace frontend
55 #endif // BASE_WORKAREA_H