X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=apps%2FHawk%2FHawkDoc.h;fp=apps%2FHawk%2FHawkDoc.h;h=0000000000000000000000000000000000000000;hb=e4c14cdbdf2fe805e79cd96ded236f57e7b89060;hp=1f9b9eae78a45e17909c04a62af2759365886bee;hpb=454138ff8a20f6edb9b65a910101403d8b520643;p=opencv diff --git a/apps/Hawk/HawkDoc.h b/apps/Hawk/HawkDoc.h deleted file mode 100644 index 1f9b9ea..0000000 --- a/apps/Hawk/HawkDoc.h +++ /dev/null @@ -1,136 +0,0 @@ -/*M/////////////////////////////////////////////////////////////////////////////////////// -// -// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. -// -// By downloading, copying, installing or using the software you agree to this license. -// If you do not agree to this license, do not download, install, -// copy or use the software. -// -// -// Intel License Agreement -// For Open Source Computer Vision Library -// -// Copyright (C) 2000, Intel Corporation, all rights reserved. -// Third party copyrights are property of their respective owners. -// -// Redistribution and use in source and binary forms, with or without modification, -// are permitted provided that the following conditions are met: -// -// * Redistribution's of source code must retain the above copyright notice, -// this list of conditions and the following disclaimer. -// -// * Redistribution's in binary form must reproduce the above copyright notice, -// this list of conditions and the following disclaimer in the documentation -// and/or other materials provided with the distribution. -// -// * The name of Intel Corporation may not be used to endorse or promote products -// derived from this software without specific prior written permission. -// -// This software is provided by the copyright holders and contributors "as is" and -// any express or implied warranties, including, but not limited to, the implied -// warranties of merchantability and fitness for a particular purpose are disclaimed. -// In no event shall the Intel Corporation or contributors be liable for any direct, -// indirect, incidental, special, exemplary, or consequential damages -// (including, but not limited to, procurement of substitute goods or services; -// loss of use, data, or profits; or business interruption) however caused -// and on any theory of liability, whether in contract, strict liability, -// or tort (including negligence or otherwise) arising in any way out of -// the use of this software, even if advised of the possibility of such damage. -// -//M*/// HawkDoc.h : interface of the CHawkDoc class -// -///////////////////////////////////////////////////////////////////////////// - -#if !defined(AFX_HAWKDOC_H__6FFD53AF_939A_11D3_AE7E_00A0C9989BC6__INCLUDED_) -#define AFX_HAWKDOC_H__6FFD53AF_939A_11D3_AE7E_00A0C9989BC6__INCLUDED_ - -#if _MSC_VER > 1000 -#pragma once -#endif // _MSC_VER > 1000 - -class CDSWnd; -class CHawkView; -class CLogView; -class CHawkDoc : public CDocument -{ -friend unsigned long __stdcall _StopDS(void* doc); - -protected: // create from serialization only - CHawkDoc(); - DECLARE_DYNCREATE(CHawkDoc) - -// Attributes -public: - -// Operations -public: - -// Overrides - // ClassWizard generated virtual function overrides - //{{AFX_VIRTUAL(CHawkDoc) - public: - virtual BOOL OnNewDocument(); - virtual void Serialize(CArchive& ar); - virtual BOOL CanCloseFrame(CFrameWnd* pFrame); - virtual BOOL IsModified(); - virtual BOOL OnOpenDocument(LPCTSTR lpszPathName); - //}}AFX_VIRTUAL - -// Implementation -public: - BOOL m_dsSimpleMode; - HANDLE m_readMutex; - BOOL IsRunning(); - void ClearTransformFunction(); - BOOL ParseTransformFunction(); - HANDLE m_hThread; - HANDLE m_hScriptExec; - HANDLE m_hScriptMutex; - volatile BOOL m_execState; - BOOL Initialize(); - CLogView* GetLogView(); - char* m_pScript; - CStringArray m_parsedStrings; - CHawkView* GetHawkView(); - virtual ~CHawkDoc(); - void ParseString(); -#ifdef _DEBUG - virtual void AssertValid() const; - virtual void Dump(CDumpContext& dc) const; -#endif - -protected: - -// Generated message map functions -protected: - //{{AFX_MSG(CHawkDoc) - afx_msg void OnRun(); - afx_msg void OnUpdateRun(CCmdUI* pCmdUI); - afx_msg void OnRunds(); - afx_msg void OnUpdateRunds(CCmdUI* pCmdUI); - afx_msg void OnStopds(); - afx_msg void OnUpdateStopds(CCmdUI* pCmdUI); - afx_msg void OnOptionsConfiguration(); - afx_msg void OnOptionsColors(); - afx_msg void OnUpdateOptionsColors(CCmdUI* pCmdUI); - afx_msg void OnFileClose(); - afx_msg void OnUpdateFileClose(CCmdUI* pCmdUI); - afx_msg void OnFileSave(); - afx_msg void OnFileSaveAs(); - afx_msg void OnEicQwatch(); - //}}AFX_MSG - DECLARE_MESSAGE_MAP() -private: - CString m_tempName; -// CDSWnd* m_DSWnd; - CHawkView* m_pHawkView; - CLogView* m_pLogView; - -}; - -///////////////////////////////////////////////////////////////////////////// - -//{{AFX_INSERT_LOCATION}} -// Microsoft Visual C++ will insert additional declarations immediately before the previous line. - -#endif // !defined(AFX_HAWKDOC_H__6FFD53AF_939A_11D3_AE7E_00A0C9989BC6__INCLUDED_)