www.pudn.com > cad3d.zip > ModelDocument.h
/***************************************************************************
ModelDocument.h - description
-------------------
begin : Sat Mar 16 2002
copyright : (C) 2002 by Martin Marinov
email : martin_marinov@hotmail.com
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef __ModelDocument_h__
#define __ModelDocument_h__
#include
#include "Modeling/Model.h"
class CModelDocument : public wxDocument,
public CModel
{
DECLARE_DYNAMIC_CLASS(CModelDocument)
public:
CModelDocument();
virtual ~CModelDocument();
//wxDocument overrides
virtual bool OnSaveDocument(const wxString& filename);
virtual bool OnOpenDocument(const wxString& filename);
virtual bool DeleteContents();
//CModel overrides
virtual void UpdateViews();
};
#endif//__ModelDocument_h__