0028316: Coding Rules - Elimilate confusing aliases of Standard_Real type in V3d_View
[occt.git] / samples / mfc / standard / Common / OCC_App.h
1 // OCC_BaseApp.h: interface for the OCC_BaseApp class.
2 //
3 //////////////////////////////////////////////////////////////////////
4
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_
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>
14 #include <Graphic3d_GraphicDriver.hxx>
15
16 class AFX_EXT_CLASS OCC_App : public CWinApp 
17 {
18 public:
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);
23         OCC_App();
24   Handle(Graphic3d_GraphicDriver) GetGraphicDriver() const
25   {
26     return myGraphicDriver;
27   }
28
29 // Implementation
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
37    DECLARE_MESSAGE_MAP()
38 protected:
39   Handle(Graphic3d_GraphicDriver) myGraphicDriver;
40 public:
41         CString SampleName;
42         CString SamplePath;
43 };
44
45 #endif // !defined(AFX_OCC_BASEAPP_H__425A6447_38ED_11D7_8611_0060B0EE281E__INCLUDED_)