2007-10-02 09:00:08 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
/**
|
|
|
|
* \file WorkAreaManager.h
|
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
|
|
|
*
|
|
|
|
* \author Abdelrazak Younes
|
|
|
|
*
|
|
|
|
* Full author contact details are available in file CREDITS.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef WORKAREA_MANAGER_H
|
|
|
|
#define WORKAREA_MANAGER_H
|
|
|
|
|
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
namespace lyx {
|
|
|
|
namespace frontend {
|
|
|
|
|
|
|
|
class WorkArea;
|
|
|
|
|
|
|
|
class WorkAreaManager
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
WorkAreaManager() {}
|
|
|
|
|
|
|
|
///
|
2007-10-02 09:12:13 +00:00
|
|
|
void add(WorkArea * wa);
|
2007-10-02 09:00:08 +00:00
|
|
|
|
|
|
|
///
|
2007-10-02 09:12:13 +00:00
|
|
|
void redrawAll();
|
2007-10-02 09:00:08 +00:00
|
|
|
|
|
|
|
///
|
2007-10-02 09:12:13 +00:00
|
|
|
void closeAll();
|
2007-10-02 09:00:08 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
std::vector<WorkArea *> work_areas_;
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace frontend
|
|
|
|
} // namespace lyx
|
|
|
|
|
|
|
|
#endif // BASE_WORKAREA_H
|