Update to 2.0.0 tree from current Fremantle build
[opencv] / apps / LkDemo / LkDemo.cpp
diff --git a/apps/LkDemo/LkDemo.cpp b/apps/LkDemo/LkDemo.cpp
deleted file mode 100644 (file)
index e45cd53..0000000
+++ /dev/null
@@ -1,191 +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*/// LkDemo.cpp : Defines the class behaviors for the application.
-//
-
-#include "stdafx.h"
-#include "LkDemo.h"
-
-#include "MainFrm.h"
-#include "LkDemoDoc.h"
-#include "LkDemoView.h"
-
-#ifdef _DEBUG
-#define new DEBUG_NEW
-#undef THIS_FILE
-static char THIS_FILE[] = __FILE__;
-#endif
-
-/////////////////////////////////////////////////////////////////////////////
-// CLkDemoApp
-
-BEGIN_MESSAGE_MAP(CLkDemoApp, CWinApp)
-       //{{AFX_MSG_MAP(CLkDemoApp)
-       ON_COMMAND(ID_APP_ABOUT, OnAppAbout)
-               // NOTE - the ClassWizard will add and remove mapping macros here.
-               //    DO NOT EDIT what you see in these blocks of generated code!
-       //}}AFX_MSG_MAP
-       // Standard file based document commands
-       ON_COMMAND(ID_FILE_NEW, CWinApp::OnFileNew)
-       ON_COMMAND(ID_FILE_OPEN, CWinApp::OnFileOpen)
-END_MESSAGE_MAP()
-
-/////////////////////////////////////////////////////////////////////////////
-// CLkDemoApp construction
-
-CLkDemoApp::CLkDemoApp()
-{
-       // TODO: add construction code here,
-       // Place all significant initialization in InitInstance
-}
-
-/////////////////////////////////////////////////////////////////////////////
-// The one and only CLkDemoApp object
-
-CLkDemoApp theApp;
-
-/////////////////////////////////////////////////////////////////////////////
-// CLkDemoApp initialization
-
-BOOL CLkDemoApp::InitInstance()
-{
-       AfxEnableControlContainer();
-
-       // Standard initialization
-       // If you are not using these features and wish to reduce the size
-       //  of your final executable, you should remove from the following
-       //  the specific initialization routines you do not need.
-
-#ifdef _AFXDLL
-       Enable3dControls();                     // Call this when using MFC in a shared DLL
-#else
-       Enable3dControlsStatic();       // Call this when linking to MFC statically
-#endif
-
-       // Change the registry key under which our settings are stored.
-       // TODO: You should modify this string to be something appropriate
-       // such as the name of your company or organization.
-       SetRegistryKey(_T("Local AppWizard-Generated Applications"));
-
-       LoadStdProfileSettings();  // Load standard INI file options (including MRU)
-
-       // Register the application's document templates.  Document templates
-       //  serve as the connection between documents, frame windows and views.
-
-       CSingleDocTemplate* pDocTemplate;
-       pDocTemplate = new CSingleDocTemplate(
-               IDR_MAINFRAME,
-               RUNTIME_CLASS(CLkDemoDoc),
-               RUNTIME_CLASS(CMainFrame),       // main SDI frame window
-               RUNTIME_CLASS(CLkDemoView));
-       AddDocTemplate(pDocTemplate);
-
-       // Parse command line for standard shell commands, DDE, file open
-       CCommandLineInfo cmdInfo;
-       ParseCommandLine(cmdInfo);
-
-       // Dispatch commands specified on the command line
-       if (!ProcessShellCommand(cmdInfo))
-               return FALSE;
-
-       // The one and only window has been initialized, so show and update it.
-       m_pMainWnd->ShowWindow(SW_SHOW);
-       m_pMainWnd->UpdateWindow();
-
-       return TRUE;
-}
-
-
-/////////////////////////////////////////////////////////////////////////////
-// CAboutDlg dialog used for App About
-
-class CAboutDlg : public CDialog
-{
-public:
-       CAboutDlg();
-
-// Dialog Data
-       //{{AFX_DATA(CAboutDlg)
-       enum { IDD = IDD_ABOUTBOX };
-       //}}AFX_DATA
-
-       // ClassWizard generated virtual function overrides
-       //{{AFX_VIRTUAL(CAboutDlg)
-       protected:
-       virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
-       //}}AFX_VIRTUAL
-
-// Implementation
-protected:
-       //{{AFX_MSG(CAboutDlg)
-               // No message handlers
-       //}}AFX_MSG
-       DECLARE_MESSAGE_MAP()
-};
-
-CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD)
-{
-       //{{AFX_DATA_INIT(CAboutDlg)
-       //}}AFX_DATA_INIT
-}
-
-void CAboutDlg::DoDataExchange(CDataExchange* pDX)
-{
-       CDialog::DoDataExchange(pDX);
-       //{{AFX_DATA_MAP(CAboutDlg)
-       //}}AFX_DATA_MAP
-}
-
-BEGIN_MESSAGE_MAP(CAboutDlg, CDialog)
-       //{{AFX_MSG_MAP(CAboutDlg)
-               // No message handlers
-       //}}AFX_MSG_MAP
-END_MESSAGE_MAP()
-
-// App command to run the dialog
-void CLkDemoApp::OnAppAbout()
-{
-       CAboutDlg aboutDlg;
-       aboutDlg.DoModal();
-}
-
-/////////////////////////////////////////////////////////////////////////////
-// CLkDemoApp message handlers
-