0023776: Redesign of MFC samples after V2d viewer removing
[occt.git] / samples / mfc / standard / Common / OCC_App.h
CommitLineData
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 16class AFX_EXT_CLASS OCC_App : public CWinApp
7fd59977 17{
18public:
19 void SetSampleName(LPCTSTR Name);
20 virtual LPCTSTR GetSampleName();
21 LPCTSTR GetInitDataDir();
22 void SetSamplePath(LPCTSTR aPath);
5c1f974e 23 OCC_App();
24 Handle_Graphic3d_GraphicDriver GetGraphicDriver() const
25 {
26 return myGraphicDriver;
27 }
7fd59977 28
29// Implementation
30 //{{AFX_MSG(OCC_BaseApp)
31 afx_msg void OnAppAbout();
32 // NOTE - the ClassWizard will add and remove member functions here.
33 // DO NOT EDIT what you see in these blocks of generated code !
34 //}}AFX_MSG
35 DECLARE_MESSAGE_MAP()
36protected:
5c1f974e 37 Handle_Graphic3d_GraphicDriver myGraphicDriver;
7fd59977 38public:
39 LPCTSTR SampleName;
40 CString SamplePath;
41};
42
43#endif // !defined(AFX_OCC_BASEAPP_H__425A6447_38ED_11D7_8611_0060B0EE281E__INCLUDED_)