0023712: Remove dependency on Aspect_GraphicDevice from Aspect_Window
[occt.git] / samples / mfc / standard / 10_Convert / src / WNT / OCCDemo.h
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
17 #include <OCC_BaseApp.h>
18
19 /////////////////////////////////////////////////////////////////////////////
20 // COCCDemoApp:
21 // See OCCDemo.cpp for the implementation of this class
22 //
23
24 class COCCDemoApp : public OCC_BaseApp
25 {
26 public:
27   COCCDemoApp();
28   Handle(Graphic3d_GraphicDriver)         GetGraphicDriver() const 
29   { return myGraphicDriver; } ;
30
31 // Overrides
32         // ClassWizard generated virtual function overrides
33         //{{AFX_VIRTUAL(COCCDemoApp)
34         public:
35         virtual BOOL InitInstance();
36         //}}AFX_VIRTUAL
37
38 // Implementation
39         //{{AFX_MSG(COCCDemoApp)
40         //afx_msg void OnAppAbout();
41                 // NOTE - the ClassWizard will add and remove member functions here.
42                 //    DO NOT EDIT what you see in these blocks of generated code !
43         //}}AFX_MSG
44         DECLARE_MESSAGE_MAP()
45
46 private:
47   Handle(Graphic3d_GraphicDriver) myGraphicDriver;
48
49 };
50
51
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_)