mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-20 14:23:53 +00:00
38 lines
No EOL
584 B
C++
38 lines
No EOL
584 B
C++
#ifndef CSV_DOC_VIEWMANAGER_H
|
|
#define CSV_DOC_VIEWMANAGER_H
|
|
|
|
#include <vector>
|
|
|
|
namespace CSMDoc
|
|
{
|
|
class Document;
|
|
}
|
|
|
|
namespace CSVDoc
|
|
{
|
|
class View;
|
|
|
|
class ViewManager
|
|
{
|
|
std::vector<View *> mViews;
|
|
|
|
// not implemented
|
|
ViewManager (const ViewManager&);
|
|
ViewManager& operator= (const ViewManager&);
|
|
|
|
public:
|
|
|
|
ViewManager();
|
|
|
|
~ViewManager();
|
|
|
|
View *addView (CSMDoc::Document *document);
|
|
///< The ownership of the returned view is not transferred.
|
|
|
|
|
|
|
|
};
|
|
|
|
}
|
|
|
|
#endif |