+++ /dev/null
-/*M///////////////////////////////////////////////////////////////////////////////////////\r
-//\r
-// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.\r
-//\r
-// By downloading, copying, installing or using the software you agree to this license.\r
-// If you do not agree to this license, do not download, install,\r
-// copy or use the software.\r
-//\r
-//\r
-// Intel License Agreement\r
-// For Open Source Computer Vision Library\r
-//\r
-// Copyright (C) 2000, Intel Corporation, all rights reserved.\r
-// Third party copyrights are property of their respective owners.\r
-//\r
-// Redistribution and use in source and binary forms, with or without modification,\r
-// are permitted provided that the following conditions are met:\r
-//\r
-// * Redistribution's of source code must retain the above copyright notice,\r
-// this list of conditions and the following disclaimer.\r
-//\r
-// * Redistribution's in binary form must reproduce the above copyright notice,\r
-// this list of conditions and the following disclaimer in the documentation\r
-// and/or other materials provided with the distribution.\r
-//\r
-// * The name of Intel Corporation may not be used to endorse or promote products\r
-// derived from this software without specific prior written permission.\r
-//\r
-// This software is provided by the copyright holders and contributors "as is" and\r
-// any express or implied warranties, including, but not limited to, the implied\r
-// warranties of merchantability and fitness for a particular purpose are disclaimed.\r
-// In no event shall the Intel Corporation or contributors be liable for any direct,\r
-// indirect, incidental, special, exemplary, or consequential damages\r
-// (including, but not limited to, procurement of substitute goods or services;\r
-// loss of use, data, or profits; or business interruption) however caused\r
-// and on any theory of liability, whether in contract, strict liability,\r
-// or tort (including negligence or otherwise) arising in any way out of\r
-// the use of this software, even if advised of the possibility of such damage.\r
-//\r
-//M*/// MainFrm.h : interface of the CMainFrame class\r
-//\r
-/////////////////////////////////////////////////////////////////////////////\r
-\r
-#if !defined(AFX_MAINFRM_H__13D74A12_CE68_4062_ABAE_13988865B567__INCLUDED_)\r
-#define AFX_MAINFRM_H__13D74A12_CE68_4062_ABAE_13988865B567__INCLUDED_\r
-\r
-#if _MSC_VER > 1000\r
-#pragma once\r
-#endif // _MSC_VER > 1000\r
-\r
-class CMainFrame : public CMDIFrameWnd\r
-{\r
- DECLARE_DYNAMIC(CMainFrame)\r
-public:\r
- CMainFrame();\r
-\r
-private:\r
- int m_drawCount;\r
- int m_time;\r
-// Attributes\r
-public:\r
-\r
-// Operations\r
-public:\r
-\r
-// Overrides\r
- // ClassWizard generated virtual function overrides\r
- //{{AFX_VIRTUAL(CMainFrame)\r
- public:\r
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);\r
- virtual BOOL OnCmdMsg(UINT nID, int nCode, void* pExtra, AFX_CMDHANDLERINFO* pHandlerInfo);\r
- virtual BOOL DestroyWindow();\r
- //}}AFX_VIRTUAL\r
-\r
-// Implementation\r
-public:\r
- void RemoveView(CStereoGRView* pView);\r
- void AddView(CStereoGRView* pView);\r
- CStatusBar* GetStatusBar();\r
- virtual void GetClRect( LPRECT lpRect ) const;\r
- virtual ~CMainFrame();\r
-#ifdef _DEBUG\r
- virtual void AssertValid() const;\r
- virtual void Dump(CDumpContext& dc) const;\r
-#endif\r
-\r
-protected: // control bar embedded members\r
- CStatusBar m_wndStatusBar;\r
- CToolBar m_wndToolBar;\r
- CReBar m_wndReBar;\r
- CDialogBar m_wndDlgBar;\r
- CMenu m_menu;\r
-\r
- BOOL m_isTimerStarted;\r
-\r
-// Generated message map functions\r
-protected:\r
- //{{AFX_MSG(CMainFrame)\r
- afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);\r
- afx_msg void OnTimer(UINT nIDEvent);\r
- afx_msg void OnDgRecog();\r
- afx_msg void OnUpdateDgrecog(CCmdUI* pCmdUI);\r
- afx_msg void OnClose();\r
- //}}AFX_MSG\r
- DECLARE_MESSAGE_MAP()\r
-private:\r
- float CountRate();\r
- void InitializeMenu();\r
- void Update();\r
-};\r
-\r
-/////////////////////////////////////////////////////////////////////////////\r
-\r
-//{{AFX_INSERT_LOCATION}}\r
-// Microsoft Visual C++ will insert additional declarations immediately before the previous line.\r
-\r
-#endif // !defined(AFX_MAINFRM_H__13D74A12_CE68_4062_ABAE_13988865B567__INCLUDED_)\r