7fd59977 |
1 | // OCC_BaseApp.h: interface for the OCC_BaseApp class. |
2 | // |
3 | ////////////////////////////////////////////////////////////////////// |
4 | |
5c1f974e |
5 | #if !defined(AFX_OCC_APP_H__425A6447_38ED_11D7_8611_0060B0EE281E__INCLUDED_) |
6 | #define AFX_OCC_APP_H__425A6447_38ED_11D7_8611_0060B0EE281E__INCLUDED_ |
7fd59977 |
7 | |
8 | #if _MSC_VER > 1000 |
9 | #pragma once |
10 | #endif // _MSC_VER > 1000 |
11 | |
12 | #include "res\OCC_Resource.h" |
13 | #include <Standard_Macro.hxx> |
5c1f974e |
14 | #include <Graphic3d_GraphicDriver.hxx> |
7fd59977 |
15 | |
5c1f974e |
16 | class AFX_EXT_CLASS OCC_App : public CWinApp |
7fd59977 |
17 | { |
18 | public: |
576f8b11 |
19 | void SetSampleName (const wchar_t* theName); |
20 | virtual const wchar_t* GetSampleName() const; |
21 | const wchar_t* GetInitDataDir() const; |
22 | void SetSamplePath (const wchar_t* thePath); |
5c1f974e |
23 | OCC_App(); |
92efcf78 |
24 | Handle(Graphic3d_GraphicDriver) GetGraphicDriver() const |
5c1f974e |
25 | { |
26 | return myGraphicDriver; |
27 | } |
7fd59977 |
28 | |
29 | // Implementation |
b5ac8292 |
30 | //{{AFX_MSG(OCC_BaseApp) |
31 | afx_msg void OnAppAbout(); |
32 | afx_msg void OnStereo(); |
33 | afx_msg void OnUpdateStereo (CCmdUI* theCmdUI); |
34 | // NOTE - the ClassWizard will add and remove member functions here. |
35 | // DO NOT EDIT what you see in these blocks of generated code ! |
36 | //}}AFX_MSG |
7fd59977 |
37 | DECLARE_MESSAGE_MAP() |
38 | protected: |
92efcf78 |
39 | Handle(Graphic3d_GraphicDriver) myGraphicDriver; |
7fd59977 |
40 | public: |
576f8b11 |
41 | CString SampleName; |
7fd59977 |
42 | CString SamplePath; |
43 | }; |
44 | |
45 | #endif // !defined(AFX_OCC_BASEAPP_H__425A6447_38ED_11D7_8611_0060B0EE281E__INCLUDED_) |