1 /*M///////////////////////////////////////////////////////////////////////////////////////
\r
3 // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
\r
5 // By downloading, copying, installing or using the software you agree to this license.
\r
6 // If you do not agree to this license, do not download, install,
\r
7 // copy or use the software.
\r
10 // Intel License Agreement
\r
11 // For Open Source Computer Vision Library
\r
13 // Copyright (C) 2000, Intel Corporation, all rights reserved.
\r
14 // Third party copyrights are property of their respective owners.
\r
16 // Redistribution and use in source and binary forms, with or without modification,
\r
17 // are permitted provided that the following conditions are met:
\r
19 // * Redistribution's of source code must retain the above copyright notice,
\r
20 // this list of conditions and the following disclaimer.
\r
22 // * Redistribution's in binary form must reproduce the above copyright notice,
\r
23 // this list of conditions and the following disclaimer in the documentation
\r
24 // and/or other materials provided with the distribution.
\r
26 // * The name of Intel Corporation may not be used to endorse or promote products
\r
27 // derived from this software without specific prior written permission.
\r
29 // This software is provided by the copyright holders and contributors "as is" and
\r
30 // any express or implied warranties, including, but not limited to, the implied
\r
31 // warranties of merchantability and fitness for a particular purpose are disclaimed.
\r
32 // In no event shall the Intel Corporation or contributors be liable for any direct,
\r
33 // indirect, incidental, special, exemplary, or consequential damages
\r
34 // (including, but not limited to, procurement of substitute goods or services;
\r
35 // loss of use, data, or profits; or business interruption) however caused
\r
36 // and on any theory of liability, whether in contract, strict liability,
\r
37 // or tort (including negligence or otherwise) arising in any way out of
\r
38 // the use of this software, even if advised of the possibility of such damage.
\r
40 //M*/// MainFrm.h : interface of the CMainFrame class
\r
42 /////////////////////////////////////////////////////////////////////////////
\r
44 #if !defined(AFX_MAINFRM_H__13D74A12_CE68_4062_ABAE_13988865B567__INCLUDED_)
\r
45 #define AFX_MAINFRM_H__13D74A12_CE68_4062_ABAE_13988865B567__INCLUDED_
\r
49 #endif // _MSC_VER > 1000
\r
51 class CMainFrame : public CMDIFrameWnd
\r
53 DECLARE_DYNAMIC(CMainFrame)
\r
67 // ClassWizard generated virtual function overrides
\r
68 //{{AFX_VIRTUAL(CMainFrame)
\r
70 virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
\r
71 virtual BOOL OnCmdMsg(UINT nID, int nCode, void* pExtra, AFX_CMDHANDLERINFO* pHandlerInfo);
\r
72 virtual BOOL DestroyWindow();
\r
77 void RemoveView(CStereoGRView* pView);
\r
78 void AddView(CStereoGRView* pView);
\r
79 CStatusBar* GetStatusBar();
\r
80 virtual void GetClRect( LPRECT lpRect ) const;
\r
81 virtual ~CMainFrame();
\r
83 virtual void AssertValid() const;
\r
84 virtual void Dump(CDumpContext& dc) const;
\r
87 protected: // control bar embedded members
\r
88 CStatusBar m_wndStatusBar;
\r
89 CToolBar m_wndToolBar;
\r
91 CDialogBar m_wndDlgBar;
\r
94 BOOL m_isTimerStarted;
\r
96 // Generated message map functions
\r
98 //{{AFX_MSG(CMainFrame)
\r
99 afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
\r
100 afx_msg void OnTimer(UINT nIDEvent);
\r
101 afx_msg void OnDgRecog();
\r
102 afx_msg void OnUpdateDgrecog(CCmdUI* pCmdUI);
\r
103 afx_msg void OnClose();
\r
105 DECLARE_MESSAGE_MAP()
\r
108 void InitializeMenu();
\r
112 /////////////////////////////////////////////////////////////////////////////
\r
114 //{{AFX_INSERT_LOCATION}}
\r
115 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
\r
117 #endif // !defined(AFX_MAINFRM_H__13D74A12_CE68_4062_ABAE_13988865B567__INCLUDED_)
\r