mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-08 14:17:06 +03:00
0023776: Redesign of MFC samples after V2d viewer removing
This commit is contained in:
43
samples/mfc/standard/Common/OCC_App.h
Normal file
43
samples/mfc/standard/Common/OCC_App.h
Normal file
@@ -0,0 +1,43 @@
|
||||
// OCC_BaseApp.h: interface for the OCC_BaseApp class.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
|
||||
#if !defined(AFX_OCC_APP_H__425A6447_38ED_11D7_8611_0060B0EE281E__INCLUDED_)
|
||||
#define AFX_OCC_APP_H__425A6447_38ED_11D7_8611_0060B0EE281E__INCLUDED_
|
||||
|
||||
#if _MSC_VER > 1000
|
||||
#pragma once
|
||||
#endif // _MSC_VER > 1000
|
||||
|
||||
#include "res\OCC_Resource.h"
|
||||
#include <Standard_Macro.hxx>
|
||||
#include <Graphic3d_GraphicDriver.hxx>
|
||||
|
||||
class AFX_EXT_CLASS OCC_App : public CWinApp
|
||||
{
|
||||
public:
|
||||
void SetSampleName(LPCTSTR Name);
|
||||
virtual LPCTSTR GetSampleName();
|
||||
LPCTSTR GetInitDataDir();
|
||||
void SetSamplePath(LPCTSTR aPath);
|
||||
OCC_App();
|
||||
Handle_Graphic3d_GraphicDriver GetGraphicDriver() const
|
||||
{
|
||||
return myGraphicDriver;
|
||||
}
|
||||
|
||||
// Implementation
|
||||
//{{AFX_MSG(OCC_BaseApp)
|
||||
afx_msg void OnAppAbout();
|
||||
// NOTE - the ClassWizard will add and remove member functions here.
|
||||
// DO NOT EDIT what you see in these blocks of generated code !
|
||||
//}}AFX_MSG
|
||||
DECLARE_MESSAGE_MAP()
|
||||
protected:
|
||||
Handle_Graphic3d_GraphicDriver myGraphicDriver;
|
||||
public:
|
||||
LPCTSTR SampleName;
|
||||
CString SamplePath;
|
||||
};
|
||||
|
||||
#endif // !defined(AFX_OCC_BASEAPP_H__425A6447_38ED_11D7_8611_0060B0EE281E__INCLUDED_)
|
Reference in New Issue
Block a user