0028892: BOPAlgo_PaveFiller returns status "error: 11" in draw or raises exception...
[occt.git] / samples / mfc / standard / 06_Ocaf / src / OcafApp.h
1 // OcafApp.h : main header file for the OCAF application
2 //
3
4 #if !defined(AFX_OCAF_H__49324D74_7836_11D4_8D45_00AA00D10994__INCLUDED_)
5 #define AFX_OCAF_H__49324D74_7836_11D4_8D45_00AA00D10994__INCLUDED_
6
7 #if _MSC_VER >= 1000
8 #pragma once
9 #endif // _MSC_VER >= 1000
10
11 #include <OCC_App.h>
12 #include "OcafDoc.h"
13 #include "TOCAF_Application.hxx"
14 #include <TOcaf_Application.hxx>
15
16
17 class COcafApp : public OCC_App
18 {
19 public:
20
21   COcafApp();
22
23 // Overrides
24   // ClassWizard generated virtual function overrides
25   //{{AFX_VIRTUAL(COcafApp)
26   public:
27   virtual BOOL InitInstance();
28   //}}AFX_VIRTUAL
29   void OnFileOpen();
30 public:
31   Handle(TOcaf_Application) GetApp() {return myApp;}
32
33 private :
34   BOOL IsViewExisting(CDocument* pDoc,CRuntimeClass* pViewClass,CView*& pView);
35
36 private:
37
38   Handle(TOcaf_Application) myApp;
39   CMultiDocTemplate* pDocTemplateForView3d;
40
41   DECLARE_MESSAGE_MAP()
42 };
43
44 /////////////////////////////////////////////////////////////////////////////
45
46 #endif // !defined(AFX_OCAF_H__49324D74_7836_11D4_8D45_00AA00D10994__INCLUDED_)