1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-02 17:46:22 +03:00
bugmster 480bf81e37 0024428: Implementation of LGPL license
Update of OCCT samples source code due to moving to LGPL license
2013-12-17 12:43:15 +04:00

44 lines
1.2 KiB
C++
Executable File

// 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_)