1 // GeometryApp.h : main header file for the GEOMETRY application
2 //
3 
4 #if !defined(AFX_VIEWER_H__4EF39FB2_4EBB_11D1_8D67_0800369C8A03__INCLUDED_)
5 #define AFX_VIEWER_H__4EF39FB2_4EBB_11D1_8D67_0800369C8A03__INCLUDED_
6 
7 #if _MSC_VER >= 1000
8 #pragma once
9 #endif // _MSC_VER >= 1000
10 
11 #include <OCC_App.h>
12 #include <GeometryDoc.h>
13 
14 class CGeometryApp : public OCC_App
15 {
16 public:
17   CGeometryApp();
18   ~CGeometryApp();
19   // =========================================
20   CFrameWnd*  CreateView2D(CGeometryDoc* pDoc);
21   // =========================================
22   // =========================================
23 
24   // Overrides
25   // ClassWizard generated virtual function overrides
26   //{{AFX_VIRTUAL(CGeometryApp)
27 public:
28   virtual BOOL InitInstance();
29   //}}AFX_VIRTUAL
30 private :
31   BOOL IsViewExisting(CDocument* pDoc,CRuntimeClass* pViewClass,CView*& pView);
32   CMultiDocTemplate* pDocTemplateForView3d;
33   CMultiDocTemplate* pDocTemplateForView2d;
34 
35 };
36 
37 /////////////////////////////////////////////////////////////////////////////
38 
39 #endif // !defined(AFX_VIEWER_H__4EF39FB2_4EBB_11D1_8D67_0800369C8A03__INCLUDED_)
40