0023776: Redesign of MFC samples after V2d viewer removing
[occt.git] / samples / mfc / standard / 08_HLR / src / HLRApp.h
CommitLineData
7fd59977 1// HLRApp.h : main header file for the HLR application
2//
3
4#if !defined(AFX_HLR_H__376C7004_0B3D_11D2_8E0A_0800369C8A03__INCLUDED_)
5#define AFX_HLR_H__376C7004_0B3D_11D2_8E0A_0800369C8A03__INCLUDED_
6
7#if _MSC_VER >= 1000
8#pragma once
9#endif // _MSC_VER >= 1000
10
5c1f974e 11#include <OCC_App.h>
7fd59977 12#include "HLRDoc.h"
13//#include "CutAndPasteSession.h"
14
5c1f974e 15class CHLRApp : public OCC_App
7fd59977 16{
17public:
5c1f974e 18 CHLRApp();
19 ~CHLRApp();
20 virtual BOOL InitInstance();
21
22 // =========================================
23 CFrameWnd* CreateView2D(CHLRDoc* pDoc);
24 // =========================================
25 CFrameWnd* CreateView3D(CHLRDoc* pDoc);
26 // =========================================
7fd59977 27
28private :
5c1f974e 29 BOOL IsViewExisting(CDocument* pDoc,CRuntimeClass* pViewClass,CView*& pView);
30 CMultiDocTemplate* pDocTemplateForView3d;
31 CMultiDocTemplate* pDocTemplateForView2d;
7fd59977 32};
33
34/////////////////////////////////////////////////////////////////////////////
35
36#endif // !defined(AFX_HLR_H__376C7004_0B3D_11D2_8E0A_0800369C8A03__INCLUDED_)