7fd59977 |
1 | // OCCDemo.h : main header file for the OCCDEMO application |
2 | // |
3 | |
4 | #if !defined(AFX_OCCDEMO_H__57A6A228_7B4F_11D5_BA4A_0060B0EE18EA__INCLUDED_) |
5 | #define AFX_OCCDEMO_H__57A6A228_7B4F_11D5_BA4A_0060B0EE18EA__INCLUDED_ |
6 | |
7 | #if _MSC_VER > 1000 |
8 | #pragma once |
9 | #endif // _MSC_VER > 1000 |
10 | |
11 | #ifndef __AFXWIN_H__ |
12 | #error include 'stdafx.h' before including this file for PCH |
13 | #endif |
14 | |
15 | #include "resource.h" // main symbols |
16 | |
5c1f974e |
17 | #include <OCC_App.h> |
7fd59977 |
18 | |
19 | ///////////////////////////////////////////////////////////////////////////// |
20 | // COCCDemoApp: |
21 | // See OCCDemo.cpp for the implementation of this class |
22 | // |
23 | |
5c1f974e |
24 | class COCCDemoApp : public OCC_App |
7fd59977 |
25 | { |
26 | public: |
5c1f974e |
27 | |
7fd59977 |
28 | COCCDemoApp(); |
5c1f974e |
29 | |
30 | Handle(Graphic3d_GraphicDriver) GetGraphicDriver() const { return myGraphicDriver; } |
7fd59977 |
31 | |
32 | // Overrides |
5c1f974e |
33 | // ClassWizard generated virtual function overrides |
34 | //{{AFX_VIRTUAL(COCCDemoApp) |
35 | public: |
36 | virtual BOOL InitInstance(); |
37 | //}}AFX_VIRTUAL |
7fd59977 |
38 | |
39 | // Implementation |
5c1f974e |
40 | //{{AFX_MSG(COCCDemoApp) |
41 | //afx_msg void OnAppAbout(); |
42 | // NOTE - the ClassWizard will add and remove member functions here. |
43 | // DO NOT EDIT what you see in these blocks of generated code ! |
44 | //}}AFX_MSG |
45 | DECLARE_MESSAGE_MAP() |
7fd59977 |
46 | |
47 | private: |
7fd59977 |
48 | |
5c1f974e |
49 | Handle(Graphic3d_GraphicDriver) myGraphicDriver; |
7fd59977 |
50 | }; |
51 | |
7fd59977 |
52 | ///////////////////////////////////////////////////////////////////////////// |
53 | |
54 | //{{AFX_INSERT_LOCATION}} |
55 | // Microsoft Visual C++ will insert additional declarations immediately before the previous line. |
56 | |
57 | #endif // !defined(AFX_OCCDEMO_H__57A6A228_7B4F_11D5_BA4A_0060B0EE18EA__INCLUDED_) |