mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-16 10:08:36 +03:00
40 lines
1.1 KiB
C++
Executable File
40 lines
1.1 KiB
C++
Executable File
// GeometryApp.h : main header file for the GEOMETRY application
|
|
//
|
|
|
|
#if !defined(AFX_VIEWER_H__4EF39FB2_4EBB_11D1_8D67_0800369C8A03__INCLUDED_)
|
|
#define AFX_VIEWER_H__4EF39FB2_4EBB_11D1_8D67_0800369C8A03__INCLUDED_
|
|
|
|
#if _MSC_VER >= 1000
|
|
#pragma once
|
|
#endif // _MSC_VER >= 1000
|
|
|
|
#include <OCC_App.h>
|
|
#include <GeometryDoc.h>
|
|
|
|
class CGeometryApp : public OCC_App
|
|
{
|
|
public:
|
|
CGeometryApp();
|
|
~CGeometryApp();
|
|
// =========================================
|
|
CFrameWnd* CreateView2D(CGeometryDoc* pDoc);
|
|
// =========================================
|
|
// =========================================
|
|
|
|
// Overrides
|
|
// ClassWizard generated virtual function overrides
|
|
//{{AFX_VIRTUAL(CGeometryApp)
|
|
public:
|
|
virtual BOOL InitInstance();
|
|
//}}AFX_VIRTUAL
|
|
private :
|
|
BOOL IsViewExisting(CDocument* pDoc,CRuntimeClass* pViewClass,CView*& pView);
|
|
CMultiDocTemplate* pDocTemplateForView3d;
|
|
CMultiDocTemplate* pDocTemplateForView2d;
|
|
|
|
};
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
#endif // !defined(AFX_VIEWER_H__4EF39FB2_4EBB_11D1_8D67_0800369C8A03__INCLUDED_)
|