1 // OCC_BaseApp.h: interface for the OCC_BaseApp class.
3 //////////////////////////////////////////////////////////////////////
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_
10 #endif // _MSC_VER > 1000
12 #include "res\OCC_Resource.h"
13 #include <Standard_Macro.hxx>
14 #include <Graphic3d_GraphicDriver.hxx>
16 class Standard_EXPORT OCC_App : public CWinApp
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);
24 virtual BOOL InitApplication ();
26 Handle(Graphic3d_GraphicDriver) GetGraphicDriver() const
28 return myGraphicDriver;
32 //{{AFX_MSG(OCC_BaseApp)
33 afx_msg void OnAppAbout();
34 afx_msg void OnStereo();
35 afx_msg void OnUpdateStereo (CCmdUI* theCmdUI);
36 // NOTE - the ClassWizard will add and remove member functions here.
37 // DO NOT EDIT what you see in these blocks of generated code !
41 Handle(Graphic3d_GraphicDriver) myGraphicDriver;
47 #endif // !defined(AFX_OCC_BASEAPP_H__425A6447_38ED_11D7_8611_0060B0EE281E__INCLUDED_)