openmw-tes3coop/apps/opencs/view/doc/viewmanager.hpp

38 lines
584 B
C++
Raw Normal View History

2012-11-22 12:30:02 +00:00
#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