Rubber stamped by Adam.
authormjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 4 Feb 2007 07:56:40 +0000 (07:56 +0000)
committermjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 4 Feb 2007 07:56:40 +0000 (07:56 +0000)
        - remove obsolete code that has an annoying space in the directory name

        * WebCore.vcproj/Image Viewer.cpp: Removed.
        * WebCore.vcproj/Image Viewer.h: Removed.
        * WebCore.vcproj/Image Viewer.ico: Removed.
        * WebCore.vcproj/Image Viewer.rc: Removed.
        * WebCore.vcproj/Image Viewer.reg: Removed.
        * WebCore.vcproj/Image Viewer.vcproj: Removed.
        * WebCore.vcproj/Image Viewer/ImageDocument.cpp: Removed.
        * WebCore.vcproj/Image Viewer/ImageDocument.h: Removed.
        * WebCore.vcproj/Image Viewer/ImageMainFrame.cpp: Removed.
        * WebCore.vcproj/Image Viewer/ImageMainFrame.h: Removed.
        * WebCore.vcproj/Image Viewer/ImageView.cpp: Removed.
        * WebCore.vcproj/Image Viewer/ImageView.h: Removed.
        * WebCore.vcproj/Image Viewer/Resource.h: Removed.
        * WebCore.vcproj/Image Viewer/res/ImageViewer.rc2: Removed.
        * WebCore.vcproj/Image Viewer/res/Toolbar.bmp: Removed.
        * WebCore.vcproj/Image Viewer/stdafx.cpp: Removed.
        * WebCore.vcproj/Image Viewer/stdafx.h: Removed.
        * WebCore.vcproj/Image iewerDoc.ico: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@19394 268f45cc-cd09-0410-ab3c-d52691b4dbfc

19 files changed:
WebCore/ChangeLog
WebCore/WebCore.vcproj/Image Viewer/Image Viewer.cpp [deleted file]
WebCore/WebCore.vcproj/Image Viewer/Image Viewer.h [deleted file]
WebCore/WebCore.vcproj/Image Viewer/Image Viewer.rc [deleted file]
WebCore/WebCore.vcproj/Image Viewer/Image Viewer.reg [deleted file]
WebCore/WebCore.vcproj/Image Viewer/Image Viewer.vcproj [deleted file]
WebCore/WebCore.vcproj/Image Viewer/ImageDocument.cpp [deleted file]
WebCore/WebCore.vcproj/Image Viewer/ImageDocument.h [deleted file]
WebCore/WebCore.vcproj/Image Viewer/ImageMainFrame.cpp [deleted file]
WebCore/WebCore.vcproj/Image Viewer/ImageMainFrame.h [deleted file]
WebCore/WebCore.vcproj/Image Viewer/ImageView.cpp [deleted file]
WebCore/WebCore.vcproj/Image Viewer/ImageView.h [deleted file]
WebCore/WebCore.vcproj/Image Viewer/Resource.h [deleted file]
WebCore/WebCore.vcproj/Image Viewer/res/Image Viewer.ico [deleted file]
WebCore/WebCore.vcproj/Image Viewer/res/Image ViewerDoc.ico [deleted file]
WebCore/WebCore.vcproj/Image Viewer/res/ImageViewer.rc2 [deleted file]
WebCore/WebCore.vcproj/Image Viewer/res/Toolbar.bmp [deleted file]
WebCore/WebCore.vcproj/Image Viewer/stdafx.cpp [deleted file]
WebCore/WebCore.vcproj/Image Viewer/stdafx.h [deleted file]

index 3bcbbddbf85f92e9f4793376a0436d537e0829bf..30325babcd82eefb48c1050b18f5734ce309ae40 100644 (file)
@@ -1,3 +1,28 @@
+2007-02-03  Maciej Stachowiak  <mjs@apple.com>
+
+        Rubber stamped by Adam.
+
+        - remove obsolete code that has an annoying space in the directory name
+
+        * WebCore.vcproj/Image Viewer.cpp: Removed.
+        * WebCore.vcproj/Image Viewer.h: Removed.
+        * WebCore.vcproj/Image Viewer.ico: Removed.
+        * WebCore.vcproj/Image Viewer.rc: Removed.
+        * WebCore.vcproj/Image Viewer.reg: Removed.
+        * WebCore.vcproj/Image Viewer.vcproj: Removed.
+        * WebCore.vcproj/Image Viewer/ImageDocument.cpp: Removed.
+        * WebCore.vcproj/Image Viewer/ImageDocument.h: Removed.
+        * WebCore.vcproj/Image Viewer/ImageMainFrame.cpp: Removed.
+        * WebCore.vcproj/Image Viewer/ImageMainFrame.h: Removed.
+        * WebCore.vcproj/Image Viewer/ImageView.cpp: Removed.
+        * WebCore.vcproj/Image Viewer/ImageView.h: Removed.
+        * WebCore.vcproj/Image Viewer/Resource.h: Removed.
+        * WebCore.vcproj/Image Viewer/res/ImageViewer.rc2: Removed.
+        * WebCore.vcproj/Image Viewer/res/Toolbar.bmp: Removed.
+        * WebCore.vcproj/Image Viewer/stdafx.cpp: Removed.
+        * WebCore.vcproj/Image Viewer/stdafx.h: Removed.
+        * WebCore.vcproj/Image iewerDoc.ico: Removed.
+
 2007-02-04  Mitz Pettel  <mitz@webkit.org>
 
         Reviewed by Oliver.
diff --git a/WebCore/WebCore.vcproj/Image Viewer/Image Viewer.cpp b/WebCore/WebCore.vcproj/Image Viewer/Image Viewer.cpp
deleted file mode 100644 (file)
index 7f6f08c..0000000
+++ /dev/null
@@ -1,252 +0,0 @@
-/*
- * Copyright (C) 2006 Apple Computer, Inc.  All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions 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.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``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 APPLE COMPUTER, INC. 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. 
- */
-
-// Image Viewer.cpp : Defines the class behaviors for the application.
-//
-
-#include "stdafx.h"
-#include "Image Viewer.h"
-#include "ImageMainFrame.h"
-
-#include "ImageDocument.h"
-#include "ImageView.h"
-
-#ifdef _DEBUG
-#define new DEBUG_NEW
-#endif
-
-
-// ImageViewerApp
-
-BEGIN_MESSAGE_MAP(ImageViewerApp, CWinApp)
-       ON_COMMAND(ID_APP_ABOUT, &ImageViewerApp::OnAppAbout)
-       ON_COMMAND(ID_FILE_NEW_FRAME, &ImageViewerApp::OnFileNewFrame)
-       ON_COMMAND(ID_FILE_NEW, &ImageViewerApp::OnFileNew)
-       // Standard file based document commands
-       ON_COMMAND(ID_FILE_OPEN, &CWinApp::OnFileOpen)
-       // Standard print setup command
-       ON_COMMAND(ID_FILE_PRINT_SETUP, &CWinApp::OnFilePrintSetup)
-END_MESSAGE_MAP()
-
-
-// ImageViewerApp construction
-
-ImageViewerApp::ImageViewerApp()
-{
-       // TODO: add construction code here,
-       // Place all significant initialization in InitInstance
-}
-
-
-// The one and only ImageViewerApp object
-
-ImageViewerApp theApp;
-
-
-// ImageViewerApp initialization
-
-BOOL ImageViewerApp::InitInstance()
-{
-       // InitCommonControlsEx() is required on Windows XP if an application
-       // manifest specifies use of ComCtl32.dll version 6 or later to enable
-       // visual styles.  Otherwise, any window creation will fail.
-       INITCOMMONCONTROLSEX InitCtrls;
-       InitCtrls.dwSize = sizeof(InitCtrls);
-       // Set this to include all the common control classes you want to use
-       // in your application.
-       InitCtrls.dwICC = ICC_WIN95_CLASSES;
-       InitCommonControlsEx(&InitCtrls);
-
-       CWinApp::InitInstance();
-
-       // Initialize OLE libraries
-       if (!AfxOleInit())
-       {
-               AfxMessageBox(IDP_OLE_INIT_FAILED);
-               return FALSE;
-       }
-       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
-       // 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(4);  // 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(ImageDocument),
-               RUNTIME_CLASS(ImageMainFrame),       // main SDI frame window
-               RUNTIME_CLASS(ImageView));
-       if (!pDocTemplate)
-               return FALSE;
-       m_pDocTemplate = pDocTemplate;
-       AddDocTemplate(pDocTemplate);
-
-
-       // Enable DDE Execute open
-       EnableShellOpen();
-       RegisterShellFileTypes(TRUE);
-
-       // Parse command line for standard shell commands, DDE, file open
-       CCommandLineInfo cmdInfo;
-       ParseCommandLine(cmdInfo);
-
-
-       // Dispatch commands specified on the command line.  Will return FALSE if
-       // app was launched with /RegServer, /Register, /Unregserver or /Unregister.
-       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();
-       // call DragAcceptFiles only if there's a suffix
-       //  In an SDI app, this should occur after ProcessShellCommand
-       // Enable drag/drop open
-       m_pMainWnd->DragAcceptFiles();
-       return TRUE;
-}
-
-
-
-// CAboutDlg dialog used for App About
-
-class CAboutDlg : public CDialog
-{
-public:
-       CAboutDlg();
-
-// Dialog Data
-       enum { IDD = IDD_ABOUTBOX };
-
-protected:
-       virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
-
-// Implementation
-protected:
-       DECLARE_MESSAGE_MAP()
-};
-
-CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD)
-{
-}
-
-void CAboutDlg::DoDataExchange(CDataExchange* pDX)
-{
-       CDialog::DoDataExchange(pDX);
-}
-
-BEGIN_MESSAGE_MAP(CAboutDlg, CDialog)
-END_MESSAGE_MAP()
-
-// App command to run the dialog
-void ImageViewerApp::OnAppAbout()
-{
-       CAboutDlg aboutDlg;
-       aboutDlg.DoModal();
-}
-
-
-// ImageViewerApp message handlers
-
-void ImageViewerApp::OnFileNewFrame() 
-{
-       ASSERT(m_pDocTemplate != NULL);
-
-       CDocument* pDoc = NULL;
-       CFrameWnd* pFrame = NULL;
-
-       // Create a new instance of the document referenced
-       // by the m_pDocTemplate member. 
-       pDoc = m_pDocTemplate->CreateNewDocument();
-       if (pDoc != NULL)
-       {
-               // If creation worked, use create a new frame for
-               // that document.
-               pFrame = m_pDocTemplate->CreateNewFrame(pDoc, NULL);
-               if (pFrame != NULL)
-               {
-                       // Set the title, and initialize the document.
-                       // If document initialization fails, clean-up
-                       // the frame window and document.
-
-                       m_pDocTemplate->SetDefaultTitle(pDoc);
-                       if (!pDoc->OnNewDocument())
-                       {
-                               pFrame->DestroyWindow();
-                               pFrame = NULL;
-                       }
-                       else
-                       {
-                               // Otherwise, update the frame
-                               m_pDocTemplate->InitialUpdateFrame(pFrame, pDoc, TRUE);
-                       }
-               }
-       }
-
-       // If we failed, clean up the document and show a
-       // message to the user.
-
-       if (pFrame == NULL || pDoc == NULL)
-       {
-               delete pDoc;
-               AfxMessageBox(AFX_IDP_FAILED_TO_CREATE_DOC);
-       }
-}
-
-void ImageViewerApp::OnFileNew() 
-{
-       CDocument* pDoc = NULL;
-       CFrameWnd* pFrame;
-       pFrame = DYNAMIC_DOWNCAST(CFrameWnd, CWnd::GetActiveWindow());
-       
-       if (pFrame != NULL)
-               pDoc = pFrame->GetActiveDocument();
-
-       if (pFrame == NULL || pDoc == NULL)
-       {
-               // if it's the first document, create as normal
-               CWinApp::OnFileNew();
-       }
-       else
-       {
-               // Otherwise, see if we have to save modified, then
-               // ask the document to reinitialize itself.
-               if (!pDoc->SaveModified())
-                       return;
-
-               CDocTemplate* pTemplate = pDoc->GetDocTemplate();
-               ASSERT(pTemplate != NULL);
-
-               pTemplate->SetDefaultTitle(pDoc);
-               pDoc->OnNewDocument();
-       }
-}
diff --git a/WebCore/WebCore.vcproj/Image Viewer/Image Viewer.h b/WebCore/WebCore.vcproj/Image Viewer/Image Viewer.h
deleted file mode 100644 (file)
index 7d38de3..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-/*
- * Copyright (C) 2006 Apple Computer, Inc.  All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions 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.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``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 APPLE COMPUTER, INC. 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. 
- */\r
-\r
-// Image Viewer.h : main header file for the Image Viewer application\r
-//\r
-#pragma once\r
-\r
-#ifndef __AFXWIN_H__\r
-       #error "include 'stdafx.h' before including this file for PCH"\r
-#endif\r
-\r
-#include "resource.h"       // main symbols\r
-\r
-\r
-// ImageViewerApp:\r
-// See Image Viewer.cpp for the implementation of this class\r
-//\r
-\r
-class ImageViewerApp : public CWinApp\r
-{\r
-public:\r
-       ImageViewerApp();\r
-\r
-protected:\r
-       CSingleDocTemplate* m_pDocTemplate;\r
-public:\r
-\r
-// Overrides\r
-public:\r
-       virtual BOOL InitInstance();\r
-\r
-// Implementation\r
-       afx_msg void OnAppAbout();\r
-       afx_msg void OnFileNewFrame();\r
-       afx_msg void OnFileNew();\r
-       DECLARE_MESSAGE_MAP()\r
-};\r
-\r
-extern ImageViewerApp theApp;
\ No newline at end of file
diff --git a/WebCore/WebCore.vcproj/Image Viewer/Image Viewer.rc b/WebCore/WebCore.vcproj/Image Viewer/Image Viewer.rc
deleted file mode 100644 (file)
index 5dca2c9..0000000
+++ /dev/null
@@ -1,377 +0,0 @@
-// Microsoft Visual C++ generated resource script.\r
-//\r
-#include "resource.h"\r
-\r
-#define APSTUDIO_READONLY_SYMBOLS\r
-/////////////////////////////////////////////////////////////////////////////\r
-//\r
-// Generated from the TEXTINCLUDE 2 resource.\r
-//\r
-#include "afxres.h"\r
-\r
-/////////////////////////////////////////////////////////////////////////////\r
-#undef APSTUDIO_READONLY_SYMBOLS\r
-\r
-/////////////////////////////////////////////////////////////////////////////\r
-// English (U.S.) resources\r
-\r
-#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r
-#ifdef _WIN32\r
-LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US\r
-#pragma code_page(1252)\r
-#endif //_WIN32\r
-\r
-#ifdef APSTUDIO_INVOKED\r
-/////////////////////////////////////////////////////////////////////////////\r
-//\r
-// TEXTINCLUDE\r
-//\r
-\r
-1 TEXTINCLUDE \r
-BEGIN\r
-    "resource.h\0"\r
-END\r
-\r
-2 TEXTINCLUDE \r
-BEGIN\r
-    "#include ""afxres.h""\r\n"\r
-    "\0"\r
-END\r
-\r
-3 TEXTINCLUDE \r
-BEGIN\r
-    "#define _AFX_NO_SPLITTER_RESOURCES\r\n"\r
-    "#define _AFX_NO_OLE_RESOURCES\r\n"\r
-    "#define _AFX_NO_TRACKER_RESOURCES\r\n"\r
-    "#define _AFX_NO_PROPERTY_RESOURCES\r\n"\r
-    "\r\n"\r
-    "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n"\r
-    "LANGUAGE 9, 1\r\n"\r
-    "#pragma code_page(1252)\r\n"\r
-    "#include ""res\\ImageViewer.rc2""  // non-Microsoft Visual C++ edited resources\r\n"\r
-    "#include ""afxres.rc""         // Standard components\r\n"\r
-    "#include ""afxprint.rc""       // printing/print preview resources\r\n"\r
-    "#endif\r\n"\r
-    "\0"\r
-END\r
-\r
-#endif    // APSTUDIO_INVOKED\r
-\r
-\r
-/////////////////////////////////////////////////////////////////////////////\r
-//\r
-// Icon\r
-//\r
-\r
-// Icon with lowest ID value placed first to ensure application icon\r
-// remains consistent on all systems.\r
-IDR_MAINFRAME           ICON                    "res\\Image Viewer.ico"\r
-IDR_ImageViewerTYPE     ICON                    "res\\Image ViewerDoc.ico"\r
-\r
-/////////////////////////////////////////////////////////////////////////////\r
-//\r
-// Bitmap\r
-//\r
-\r
-IDR_MAINFRAME           BITMAP                  "res\\Toolbar.bmp"\r
-\r
-/////////////////////////////////////////////////////////////////////////////\r
-//\r
-// Toolbar\r
-//\r
-\r
-IDR_MAINFRAME TOOLBAR  16, 15\r
-BEGIN\r
-    BUTTON      ID_FILE_OPEN\r
-    BUTTON      ID_FILE_SAVE\r
-END\r
-\r
-\r
-/////////////////////////////////////////////////////////////////////////////\r
-//\r
-// Menu\r
-//\r
-\r
-IDR_MAINFRAME MENU \r
-BEGIN\r
-    POPUP "&File"\r
-    BEGIN\r
-        MENUITEM "&Open...\tCtrl+O",            ID_FILE_OPEN\r
-        MENUITEM "&Save\tCtrl+S",               ID_FILE_SAVE\r
-        MENUITEM "Save &As...",                 ID_FILE_SAVE_AS\r
-        MENUITEM SEPARATOR\r
-        MENUITEM "&Print...\tCtrl+P",           ID_FILE_PRINT\r
-        MENUITEM "Print Pre&view",              ID_FILE_PRINT_PREVIEW\r
-        MENUITEM "P&rint Setup...",             ID_FILE_PRINT_SETUP\r
-        MENUITEM SEPARATOR\r
-        MENUITEM "Recent File",                 ID_FILE_MRU_FILE1, GRAYED\r
-        MENUITEM SEPARATOR\r
-        MENUITEM "E&xit",                       ID_APP_EXIT\r
-    END\r
-    POPUP "&Edit"\r
-    BEGIN\r
-        MENUITEM "&Undo\tCtrl+Z",               ID_EDIT_UNDO\r
-        MENUITEM SEPARATOR\r
-        MENUITEM "Cu&t\tCtrl+X",                ID_EDIT_CUT\r
-        MENUITEM "&Copy\tCtrl+C",               ID_EDIT_COPY\r
-        MENUITEM "&Paste\tCtrl+V",              ID_EDIT_PASTE\r
-    END\r
-    POPUP "&View"\r
-    BEGIN\r
-        MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR\r
-    END\r
-    POPUP "&Help"\r
-    BEGIN\r
-        MENUITEM "&About Image Viewer...",      ID_APP_ABOUT\r
-    END\r
-END\r
-\r
-\r
-/////////////////////////////////////////////////////////////////////////////\r
-//\r
-// Accelerator\r
-//\r
-\r
-IDR_MAINFRAME ACCELERATORS \r
-BEGIN\r
-    "C",            ID_EDIT_COPY,           VIRTKEY, CONTROL, NOINVERT\r
-    VK_INSERT,      ID_EDIT_COPY,           VIRTKEY, CONTROL, NOINVERT\r
-    VK_DELETE,      ID_EDIT_CUT,            VIRTKEY, SHIFT, NOINVERT\r
-    "X",            ID_EDIT_CUT,            VIRTKEY, CONTROL, NOINVERT\r
-    "V",            ID_EDIT_PASTE,          VIRTKEY, CONTROL, NOINVERT\r
-    VK_INSERT,      ID_EDIT_PASTE,          VIRTKEY, SHIFT, NOINVERT\r
-    VK_BACK,        ID_EDIT_UNDO,           VIRTKEY, ALT, NOINVERT\r
-    "Z",            ID_EDIT_UNDO,           VIRTKEY, CONTROL, NOINVERT\r
-    "O",            ID_FILE_OPEN,           VIRTKEY, CONTROL, NOINVERT\r
-    "P",            ID_FILE_PRINT,          VIRTKEY, CONTROL, NOINVERT\r
-    "S",            ID_FILE_SAVE,           VIRTKEY, CONTROL, NOINVERT\r
-    VK_F6,          ID_NEXT_PANE,           VIRTKEY, NOINVERT\r
-    VK_F6,          ID_PREV_PANE,           VIRTKEY, SHIFT, NOINVERT\r
-END\r
-\r
-\r
-/////////////////////////////////////////////////////////////////////////////\r
-//\r
-// Dialog\r
-//\r
-\r
-IDD_ABOUTBOX DIALOGEX 0, 0, 235, 55\r
-STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU\r
-CAPTION "About Image Viewer"\r
-FONT 8, "MS Shell Dlg", 0, 0, 0x1\r
-BEGIN\r
-    ICON            IDR_MAINFRAME,IDC_STATIC,11,17,20,20\r
-    LTEXT           "Image Viewer Version 1.0",IDC_STATIC,40,10,119,8,SS_NOPREFIX\r
-    LTEXT           "Copyright (C) 2006",IDC_STATIC,40,25,119,8\r
-    DEFPUSHBUTTON   "OK",IDOK,178,7,50,16,WS_GROUP\r
-END\r
-\r
-\r
-/////////////////////////////////////////////////////////////////////////////\r
-//\r
-// Version\r
-//\r
-\r
-VS_VERSION_INFO VERSIONINFO\r
- FILEVERSION 1,0,0,1\r
- PRODUCTVERSION 1,0,0,1\r
- FILEFLAGSMASK 0x3fL\r
-#ifdef _DEBUG\r
- FILEFLAGS 0x1L\r
-#else\r
- FILEFLAGS 0x0L\r
-#endif\r
- FILEOS 0x4L\r
- FILETYPE 0x1L\r
- FILESUBTYPE 0x0L\r
-BEGIN\r
-    BLOCK "StringFileInfo"\r
-    BEGIN\r
-        BLOCK "040904e4"\r
-        BEGIN\r
-            VALUE "CompanyName", "TODO: <Company name>"\r
-            VALUE "FileDescription", "TODO: <File description>"\r
-            VALUE "FileVersion", "1.0.0.1"\r
-            VALUE "InternalName", "Image Viewer.exe"\r
-            VALUE "LegalCopyright", "TODO: (c) <Company name>.  All rights reserved."\r
-            VALUE "OriginalFilename", "Image Viewer.exe"\r
-            VALUE "ProductName", "TODO: <Product name>"\r
-            VALUE "ProductVersion", "1.0.0.1"\r
-        END\r
-    END\r
-    BLOCK "VarFileInfo"\r
-    BEGIN\r
-        VALUE "Translation", 0x409, 1252\r
-    END\r
-END\r
-\r
-\r
-/////////////////////////////////////////////////////////////////////////////\r
-//\r
-// DESIGNINFO\r
-//\r
-\r
-#ifdef APSTUDIO_INVOKED\r
-GUIDELINES DESIGNINFO \r
-BEGIN\r
-    IDD_ABOUTBOX, DIALOG\r
-    BEGIN\r
-        LEFTMARGIN, 7\r
-        RIGHTMARGIN, 228\r
-        TOPMARGIN, 7\r
-        BOTTOMMARGIN, 48\r
-    END\r
-END\r
-#endif    // APSTUDIO_INVOKED\r
-\r
-\r
-/////////////////////////////////////////////////////////////////////////////\r
-//\r
-// String Table\r
-//\r
-\r
-STRINGTABLE \r
-BEGIN\r
-    IDP_OLE_INIT_FAILED     "OLE initialization failed.  Make sure that the OLE libraries are the correct version."\r
-END\r
-\r
-STRINGTABLE \r
-BEGIN\r
-    IDR_MAINFRAME           "Image Viewer\n\nImage Viewer\nImage Files (*.gif;.*.png;.*.jpg;.*.jpeg;.*.bmp;.*.ico)\n.gif;.png;.jpg;.jpeg;.bmp;.ico\nImageViewer.Document\nImage Viewer.Document"\r
-END\r
-\r
-STRINGTABLE \r
-BEGIN\r
-    AFX_IDS_APP_TITLE       "Image Viewer"\r
-    AFX_IDS_IDLEMESSAGE     "Ready"\r
-END\r
-\r
-STRINGTABLE \r
-BEGIN\r
-    ID_INDICATOR_EXT        "EXT"\r
-    ID_INDICATOR_CAPS       "CAP"\r
-    ID_INDICATOR_NUM        "NUM"\r
-    ID_INDICATOR_SCRL       "SCRL"\r
-    ID_INDICATOR_OVR        "OVR"\r
-    ID_INDICATOR_REC        "REC"\r
-END\r
-\r
-STRINGTABLE \r
-BEGIN\r
-    ID_FILE_NEW             "Create a new document\nNew"\r
-    ID_FILE_OPEN            "Open an existing document\nOpen"\r
-    ID_FILE_CLOSE           "Close the active document\nClose"\r
-    ID_FILE_SAVE            "Save the active document\nSave"\r
-    ID_FILE_SAVE_AS         "Save the active document with a new name\nSave As"\r
-    ID_FILE_PAGE_SETUP      "Change the printing options\nPage Setup"\r
-    ID_FILE_PRINT_SETUP     "Change the printer and printing options\nPrint Setup"\r
-    ID_FILE_PRINT           "Print the active document\nPrint"\r
-    ID_FILE_PRINT_PREVIEW   "Display full pages\nPrint Preview"\r
-    ID_FILE_NEW_FRAME       "Create a new frame\nNew Frame"\r
-END\r
-\r
-STRINGTABLE \r
-BEGIN\r
-    ID_APP_ABOUT            "Display program information, version number and copyright\nAbout"\r
-    ID_APP_EXIT             "Quit the application; prompts to save documents\nExit"\r
-END\r
-\r
-STRINGTABLE \r
-BEGIN\r
-    ID_FILE_MRU_FILE1       "Open this document"\r
-    ID_FILE_MRU_FILE2       "Open this document"\r
-    ID_FILE_MRU_FILE3       "Open this document"\r
-    ID_FILE_MRU_FILE4       "Open this document"\r
-    ID_FILE_MRU_FILE5       "Open this document"\r
-    ID_FILE_MRU_FILE6       "Open this document"\r
-    ID_FILE_MRU_FILE7       "Open this document"\r
-    ID_FILE_MRU_FILE8       "Open this document"\r
-    ID_FILE_MRU_FILE9       "Open this document"\r
-    ID_FILE_MRU_FILE10      "Open this document"\r
-    ID_FILE_MRU_FILE11      "Open this document"\r
-    ID_FILE_MRU_FILE12      "Open this document"\r
-    ID_FILE_MRU_FILE13      "Open this document"\r
-    ID_FILE_MRU_FILE14      "Open this document"\r
-    ID_FILE_MRU_FILE15      "Open this document"\r
-    ID_FILE_MRU_FILE16      "Open this document"\r
-END\r
-\r
-STRINGTABLE \r
-BEGIN\r
-    ID_NEXT_PANE            "Switch to the next window pane\nNext Pane"\r
-    ID_PREV_PANE            "Switch back to the previous window pane\nPrevious Pane"\r
-END\r
-\r
-STRINGTABLE \r
-BEGIN\r
-    ID_WINDOW_SPLIT         "Split the active window into panes\nSplit"\r
-END\r
-\r
-STRINGTABLE \r
-BEGIN\r
-    ID_EDIT_CLEAR           "Erase the selection\nErase"\r
-    ID_EDIT_CLEAR_ALL       "Erase everything\nErase All"\r
-    ID_EDIT_COPY            "Copy the selection and put it on the Clipboard\nCopy"\r
-    ID_EDIT_CUT             "Cut the selection and put it on the Clipboard\nCut"\r
-    ID_EDIT_FIND            "Find the specified text\nFind"\r
-    ID_EDIT_PASTE           "Insert Clipboard contents\nPaste"\r
-    ID_EDIT_REPEAT          "Repeat the last action\nRepeat"\r
-    ID_EDIT_REPLACE         "Replace specific text with different text\nReplace"\r
-    ID_EDIT_SELECT_ALL      "Select the entire document\nSelect All"\r
-    ID_EDIT_UNDO            "Undo the last action\nUndo"\r
-    ID_EDIT_REDO            "Redo the previously undone action\nRedo"\r
-END\r
-\r
-STRINGTABLE \r
-BEGIN\r
-    ID_VIEW_TOOLBAR         "Show or hide the toolbar\nToggle ToolBar"\r
-END\r
-\r
-STRINGTABLE \r
-BEGIN\r
-    AFX_IDS_SCSIZE          "Change the window size"\r
-    AFX_IDS_SCMOVE          "Change the window position"\r
-    AFX_IDS_SCMINIMIZE      "Reduce the window to an icon"\r
-    AFX_IDS_SCMAXIMIZE      "Enlarge the window to full size"\r
-    AFX_IDS_SCNEXTWINDOW    "Switch to the next document window"\r
-    AFX_IDS_SCPREVWINDOW    "Switch to the previous document window"\r
-    AFX_IDS_SCCLOSE         "Close the active window and prompts to save the documents"\r
-END\r
-\r
-STRINGTABLE \r
-BEGIN\r
-    AFX_IDS_SCRESTORE       "Restore the window to normal size"\r
-    AFX_IDS_SCTASKLIST      "Activate Task List"\r
-END\r
-\r
-STRINGTABLE \r
-BEGIN\r
-    AFX_IDS_PREVIEW_CLOSE   "Close print preview mode\nCancel Preview"\r
-END\r
-\r
-#endif    // English (U.S.) resources\r
-/////////////////////////////////////////////////////////////////////////////\r
-\r
-\r
-\r
-#ifndef APSTUDIO_INVOKED\r
-/////////////////////////////////////////////////////////////////////////////\r
-//\r
-// Generated from the TEXTINCLUDE 3 resource.\r
-//\r
-#define _AFX_NO_SPLITTER_RESOURCES\r
-#define _AFX_NO_OLE_RESOURCES\r
-#define _AFX_NO_TRACKER_RESOURCES\r
-#define _AFX_NO_PROPERTY_RESOURCES\r
-\r
-#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r
-LANGUAGE 9, 1\r
-#pragma code_page(1252)\r
-#include "res\ImageViewer.rc2"  // non-Microsoft Visual C++ edited resources\r
-#include "afxres.rc"         // Standard components\r
-#include "afxprint.rc"       // printing/print preview resources\r
-#endif\r
-\r
-/////////////////////////////////////////////////////////////////////////////\r
-#endif    // not APSTUDIO_INVOKED\r
-\r
diff --git a/WebCore/WebCore.vcproj/Image Viewer/Image Viewer.reg b/WebCore/WebCore.vcproj/Image Viewer/Image Viewer.reg
deleted file mode 100644 (file)
index ae1d867..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-REGEDIT\r
-; This .REG file may be used by your SETUP program.\r
-;   If a SETUP program is not available, the entries below will be\r
-;   registered in your InitInstance automatically with a call to\r
-;   CWinApp::RegisterShellFileTypes and COleObjectFactory::UpdateRegistryAll.\r
-\r
-HKEY_CLASSES_ROOT\.*.gif;*.png;*.jpg;*.jpeg;*.bmp;*.ico = ImageViewer.Document\r
-HKEY_CLASSES_ROOT\ImageViewer.Document\shell\open\command = Image Viewer.EXE %1\r
-HKEY_CLASSES_ROOT\ImageViewer.Document\shell\open\ddeexec = [open("%1")]\r
-HKEY_CLASSES_ROOT\ImageViewer.Document\shell\open\ddeexec\application = Image Viewer\r
-    ; note: the application is optional\r
-    ;  (it defaults to the app name in "command")\r
-\r
-HKEY_CLASSES_ROOT\ImageViewer.Document = Image Viewer.Document\r
-\r
diff --git a/WebCore/WebCore.vcproj/Image Viewer/Image Viewer.vcproj b/WebCore/WebCore.vcproj/Image Viewer/Image Viewer.vcproj
deleted file mode 100644 (file)
index 6dee393..0000000
+++ /dev/null
@@ -1,300 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>\r
-<VisualStudioProject\r
-       ProjectType="Visual C++"\r
-       Version="8.00"\r
-       Name="Image Viewer"\r
-       ProjectGUID="{B5787C4C-FA77-4517-80A0-62C396A6C6C3}"\r
-       RootNamespace="ImageViewer"\r
-       Keyword="MFCProj"\r
-       >\r
-       <Platforms>\r
-               <Platform\r
-                       Name="Win32"\r
-               />\r
-       </Platforms>\r
-       <ToolFiles>\r
-       </ToolFiles>\r
-       <Configurations>\r
-               <Configuration\r
-                       Name="Debug|Win32"\r
-                       OutputDirectory="$(WebKitOutputDir)\$(ConfigurationName)"\r
-                       IntermediateDirectory="$(WebKitOutputDir)\WebCore.intermediate\$(ConfigurationName)\ImageViewer.intermediate"\r
-                       ConfigurationType="1"\r
-                       UseOfMFC="2"\r
-                       CharacterSet="1"\r
-                       >\r
-                       <Tool\r
-                               Name="VCPreBuildEventTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCCustomBuildTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCXMLDataGeneratorTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCWebServiceProxyGeneratorTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCMIDLTool"\r
-                               PreprocessorDefinitions="_DEBUG"\r
-                               MkTypLibCompatible="false"\r
-                               ValidateParameters="false"\r
-                       />\r
-                       <Tool\r
-                               Name="VCCLCompilerTool"\r
-                               Optimization="0"\r
-                               AdditionalIncludeDirectories="&quot;$(ProjectDir)\..\..&quot;;&quot;$(ProjectDir)\..\..\dom&quot;;&quot;$(ProjectDir)\..\..\bridge\win&quot;;&quot;$(ProjectDir)\..\..\bridge&quot;;&quot;$(ProjectDir)\..\..\editing&quot;;&quot;$(ProjectDir)\..\..\page&quot;;&quot;$(ProjectDir)\..\..\loader&quot;;&quot;$(ProjectDir)\..\..\..\icu\include&quot;;&quot;$(ProjectDir)\..\..\icu&quot;;&quot;$(ProjectDir)\..\..\platform\win&quot;;&quot;$(ProjectDir)\..\..\platform&quot;;&quot;$(ProjectDir)\..\..\platform\cairo\cairo\src&quot;;&quot;$(ProjectDir)\..\..\..\JavaScriptCore\os-win32&quot;;&quot;$(ProjectDir)\..\..\..\JavaScriptCore&quot;;&quot;$(ProjectDir)\..\..\ForwardingHeaders&quot;;&quot;$(ProjectDir)\..\..\rendering&quot;"\r
-                               PreprocessorDefinitions="WIN32;_WINDOWS;_DEBUG"\r
-                               MinimalRebuild="true"\r
-                               BasicRuntimeChecks="3"\r
-                               RuntimeLibrary="3"\r
-                               UsePrecompiledHeader="2"\r
-                               WarningLevel="1"\r
-                               Detect64BitPortabilityProblems="false"\r
-                               DebugInformationFormat="4"\r
-                       />\r
-                       <Tool\r
-                               Name="VCManagedResourceCompilerTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCResourceCompilerTool"\r
-                               PreprocessorDefinitions="_DEBUG"\r
-                               Culture="1033"\r
-                               AdditionalIncludeDirectories="$(IntDir)"\r
-                       />\r
-                       <Tool\r
-                               Name="VCPreLinkEventTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCLinkerTool"\r
-                               AdditionalOptions="&quot;$(WebKitOutputDir)\WebCore.intermediate\$(ConfigurationName)\WebCore.intermediate\WebCore.lib&quot;&#x0D;&#x0A;&quot;$(WebKitOutputDir)\JavaScriptCore.intermediate\$(ConfigurationName)\JavaScriptCore.intermediate\JavaScriptCore.lib&quot;&#x0D;&#x0A;&quot;$(ProjectDir)\..\..\..\iconv\lib\iconv.lib&quot;&#x0D;&#x0A;&quot;$(ProjectDir)\..\..\..\libxml\lib\libxml2.lib&quot;&#x0D;&#x0A;&quot;$(ProjectDir)\..\..\..\libxslt\lib\libxslt.lib&quot;&#x0D;&#x0A;&quot;$(ProjectDir)\..\..\..\icu\lib\icuuc.lib&quot;"\r
-                               LinkIncremental="2"\r
-                               GenerateDebugInformation="true"\r
-                               SubSystem="2"\r
-                               TargetMachine="1"\r
-                       />\r
-                       <Tool\r
-                               Name="VCALinkTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCManifestTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCXDCMakeTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCBscMakeTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCFxCopTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCAppVerifierTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCWebDeploymentTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCPostBuildEventTool"\r
-                       />\r
-               </Configuration>\r
-               <Configuration\r
-                       Name="Release|Win32"\r
-                       OutputDirectory="$(WebKitOutputDir)\$(ConfigurationName)"\r
-                       IntermediateDirectory="$(WebKitOutputDir)\WebCore.intermediate\$(ConfigurationName)\ImageViewer.intermediate"\r
-                       ConfigurationType="1"\r
-                       UseOfMFC="2"\r
-                       CharacterSet="1"\r
-                       WholeProgramOptimization="1"\r
-                       >\r
-                       <Tool\r
-                               Name="VCPreBuildEventTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCCustomBuildTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCXMLDataGeneratorTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCWebServiceProxyGeneratorTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCMIDLTool"\r
-                               PreprocessorDefinitions="NDEBUG"\r
-                               MkTypLibCompatible="false"\r
-                               ValidateParameters="false"\r
-                       />\r
-                       <Tool\r
-                               Name="VCCLCompilerTool"\r
-                               AdditionalIncludeDirectories="&quot;$(ProjectDir)\..\..&quot;;&quot;$(ProjectDir)\..\..\dom&quot;;&quot;$(ProjectDir)\..\..\bridge\win&quot;;&quot;$(ProjectDir)\..\..\bridge&quot;;&quot;$(ProjectDir)\..\..\editing&quot;;&quot;$(ProjectDir)\..\..\page&quot;;&quot;$(ProjectDir)\..\..\loader&quot;;&quot;$(ProjectDir)\..\..\..\icu\include&quot;;&quot;$(ProjectDir)\..\..\icu&quot;;&quot;$(ProjectDir)\..\..\platform\win&quot;;&quot;$(ProjectDir)\..\..\platform&quot;;&quot;$(ProjectDir)\..\..\platform\cairo\cairo\src&quot;;&quot;$(ProjectDir)\..\..\..\JavaScriptCore\os-win32&quot;;&quot;$(ProjectDir)\..\..\..\JavaScriptCore&quot;;&quot;$(ProjectDir)\..\..\ForwardingHeaders&quot;;&quot;$(ProjectDir)\..\..\rendering&quot;"\r
-                               PreprocessorDefinitions="WIN32;_WINDOWS;NDEBUG"\r
-                               MinimalRebuild="false"\r
-                               RuntimeLibrary="2"\r
-                               UsePrecompiledHeader="2"\r
-                               WarningLevel="1"\r
-                               Detect64BitPortabilityProblems="false"\r
-                               DebugInformationFormat="3"\r
-                       />\r
-                       <Tool\r
-                               Name="VCManagedResourceCompilerTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCResourceCompilerTool"\r
-                               PreprocessorDefinitions="NDEBUG"\r
-                               Culture="1033"\r
-                               AdditionalIncludeDirectories="$(IntDir)"\r
-                       />\r
-                       <Tool\r
-                               Name="VCPreLinkEventTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCLinkerTool"\r
-                               AdditionalOptions="&quot;$(WebKitOutputDir)\WebCore.intermediate\$(ConfigurationName)\WebCore.intermediate\WebCore.lib&quot;&#x0D;&#x0A;&quot;$(WebKitOutputDir)\JavaScriptCore.intermediate\$(ConfigurationName)\JavaScriptCore.intermediate\JavaScriptCore.lib&quot;&#x0D;&#x0A;&quot;$(ProjectDir)\..\..\..\iconv\lib\iconv.lib&quot;&#x0D;&#x0A;&quot;$(ProjectDir)\..\..\..\libxml\lib\libxml2.lib&quot;&#x0D;&#x0A;&quot;$(ProjectDir)\..\..\..\libxslt\lib\libxslt.lib&quot;&#x0D;&#x0A;&quot;$(ProjectDir)\..\..\..\icu\lib\icuuc.lib&quot;"\r
-                               LinkIncremental="1"\r
-                               GenerateDebugInformation="true"\r
-                               SubSystem="2"\r
-                               OptimizeReferences="2"\r
-                               EnableCOMDATFolding="2"\r
-                               TargetMachine="1"\r
-                       />\r
-                       <Tool\r
-                               Name="VCALinkTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCManifestTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCXDCMakeTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCBscMakeTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCFxCopTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCAppVerifierTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCWebDeploymentTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCPostBuildEventTool"\r
-                       />\r
-               </Configuration>\r
-       </Configurations>\r
-       <References>\r
-       </References>\r
-       <Files>\r
-               <Filter\r
-                       Name="Source Files"\r
-                       Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"\r
-                       UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"\r
-                       >\r
-                       <File\r
-                               RelativePath=".\Image Viewer.cpp"\r
-                               >\r
-                       </File>\r
-                       <File\r
-                               RelativePath=".\ImageDocument.cpp"\r
-                               >\r
-                       </File>\r
-                       <File\r
-                               RelativePath=".\ImageMainFrame.cpp"\r
-                               >\r
-                       </File>\r
-                       <File\r
-                               RelativePath=".\ImageView.cpp"\r
-                               >\r
-                       </File>\r
-                       <File\r
-                               RelativePath=".\stdafx.cpp"\r
-                               >\r
-                               <FileConfiguration\r
-                                       Name="Debug|Win32"\r
-                                       >\r
-                                       <Tool\r
-                                               Name="VCCLCompilerTool"\r
-                                               UsePrecompiledHeader="1"\r
-                                       />\r
-                               </FileConfiguration>\r
-                               <FileConfiguration\r
-                                       Name="Release|Win32"\r
-                                       >\r
-                                       <Tool\r
-                                               Name="VCCLCompilerTool"\r
-                                               UsePrecompiledHeader="1"\r
-                                       />\r
-                               </FileConfiguration>\r
-                       </File>\r
-               </Filter>\r
-               <Filter\r
-                       Name="Header Files"\r
-                       Filter="h;hpp;hxx;hm;inl;inc;xsd"\r
-                       UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"\r
-                       >\r
-                       <File\r
-                               RelativePath=".\Image Viewer.h"\r
-                               >\r
-                       </File>\r
-                       <File\r
-                               RelativePath=".\ImageDocument.h"\r
-                               >\r
-                       </File>\r
-                       <File\r
-                               RelativePath=".\ImageMainFrame.h"\r
-                               >\r
-                       </File>\r
-                       <File\r
-                               RelativePath=".\ImageView.h"\r
-                               >\r
-                       </File>\r
-                       <File\r
-                               RelativePath=".\Resource.h"\r
-                               >\r
-                       </File>\r
-                       <File\r
-                               RelativePath=".\stdafx.h"\r
-                               >\r
-                       </File>\r
-               </Filter>\r
-               <Filter\r
-                       Name="Resource Files"\r
-                       Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"\r
-                       UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"\r
-                       >\r
-                       <File\r
-                               RelativePath=".\res\Image Viewer.ico"\r
-                               >\r
-                       </File>\r
-                       <File\r
-                               RelativePath=".\Image Viewer.rc"\r
-                               >\r
-                       </File>\r
-                       <File\r
-                               RelativePath=".\res\Image ViewerDoc.ico"\r
-                               >\r
-                       </File>\r
-                       <File\r
-                               RelativePath=".\res\ImageViewer.rc2"\r
-                               >\r
-                       </File>\r
-                       <File\r
-                               RelativePath=".\res\Toolbar.bmp"\r
-                               >\r
-                       </File>\r
-               </Filter>\r
-               <File\r
-                       RelativePath=".\Image Viewer.reg"\r
-                       >\r
-               </File>\r
-       </Files>\r
-       <Globals>\r
-               <Global\r
-                       Name="RESOURCE_FILE"\r
-                       Value="Image Viewer.rc"\r
-               />\r
-       </Globals>\r
-</VisualStudioProject>\r
diff --git a/WebCore/WebCore.vcproj/Image Viewer/ImageDocument.cpp b/WebCore/WebCore.vcproj/Image Viewer/ImageDocument.cpp
deleted file mode 100644 (file)
index 46c7bf6..0000000
+++ /dev/null
@@ -1,107 +0,0 @@
-/*
- * Copyright (C) 2006 Apple Computer, Inc.  All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions 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.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``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 APPLE COMPUTER, INC. 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. 
- */
-
-// ImageDocument.cpp : implementation of the ImageDocument class
-//
-
-#include "stdafx.h"
-#include "Image Viewer.h"
-
-#include "ImageDocument.h"
-#include "ImageView.h"
-
-#ifdef _DEBUG
-#define new DEBUG_NEW
-#endif
-
-using WebCore::Image;
-using WebCore::DeprecatedByteArray;
-
-// ImageDocument
-
-IMPLEMENT_DYNCREATE(ImageDocument, CDocument)
-
-BEGIN_MESSAGE_MAP(ImageDocument, CDocument)
-END_MESSAGE_MAP()
-
-
-// ImageDocument construction/destruction
-
-ImageDocument::ImageDocument()
-{
-    m_image = 0;
-}
-
-ImageDocument::~ImageDocument()
-{
-    delete m_image;
-}
-
-// ImageDocument serialization
-
-void ImageDocument::Serialize(CArchive& ar)
-{
-    if (ar.IsStoring())
-        ar.Write(m_buffer.data(), m_buffer.size());
-    else {
-       // Pull the image into a buffer.
-        CFile* file = ar.GetFile();
-        if (!file)
-            return;
-        UINT len = (UINT)file->GetLength();
-        if (len == 0)
-            return;
-        m_buffer.resize(len);
-        ar.Read(m_buffer.data(), len);
-        if (m_image)
-            delete m_image;
-        m_image = new Image(this);
-        m_image->setData(m_buffer, true);
-        UpdateAllViews(0);
-    }
-}
-
-
-// ImageDocument diagnostics
-
-#ifdef _DEBUG
-void ImageDocument::AssertValid() const
-{
-       CDocument::AssertValid();
-}
-
-void ImageDocument::Dump(CDumpContext& dc) const
-{
-       CDocument::Dump(dc);
-}
-#endif //_DEBUG
-
-
-// ImageDocument commands
-
-void ImageDocument::animationAdvanced(const Image*)
-{
-    UpdateAllViews(0);
-}
diff --git a/WebCore/WebCore.vcproj/Image Viewer/ImageDocument.h b/WebCore/WebCore.vcproj/Image Viewer/ImageDocument.h
deleted file mode 100644 (file)
index 800b410..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-/*
- * Copyright (C) 2006 Apple Computer, Inc.  All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions 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.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``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 APPLE COMPUTER, INC. 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. 
- */
-
-// ImageDocument.h : interface of the ImageDocument class
-//
-
-
-#pragma once
-
-#include "config.h"
-#include "ImageAnimationObserver.h"
-#include "DeprecatedArray.h"
-#include "Image.h"
-
-class ImageDocument : public CDocument, public WebCore::ImageAnimationObserver
-{
-protected: // create from serialization only
-       ImageDocument();
-       DECLARE_DYNCREATE(ImageDocument)
-
-// Attributes
-public:
-
-// Operations
-public:
-
-// Overrides
-public:
-       virtual void Serialize(CArchive& ar);
-
-        virtual bool shouldStopAnimation(const WebCore::Image*) { return false; }
-        virtual void animationAdvanced(const WebCore::Image*);
-
-        WebCore::Image* image() const { return m_image; }
-
-// Implementation
-public:
-       virtual ~ImageDocument();
-#ifdef _DEBUG
-       virtual void AssertValid() const;
-       virtual void Dump(CDumpContext& dc) const;
-#endif
-
-protected:
-        DeprecatedByteArray m_buffer;
-        WebCore::Image* m_image;
-
-// Generated message map functions
-protected:
-       DECLARE_MESSAGE_MAP()
-};
-
-
diff --git a/WebCore/WebCore.vcproj/Image Viewer/ImageMainFrame.cpp b/WebCore/WebCore.vcproj/Image Viewer/ImageMainFrame.cpp
deleted file mode 100644 (file)
index b4d181a..0000000
+++ /dev/null
@@ -1,141 +0,0 @@
-/*
- * Copyright (C) 2006 Apple Computer, Inc.  All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions 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.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``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 APPLE COMPUTER, INC. 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. 
- */
-// ImageMainFrame.cpp : implementation of the ImageMainFrame class
-//
-
-#include "stdafx.h"
-#include "Image Viewer.h"
-
-#include "ImageMainFrame.h"
-
-#ifdef _DEBUG
-#define new DEBUG_NEW
-#endif
-
-
-// ImageMainFrame
-
-IMPLEMENT_DYNCREATE(ImageMainFrame, CFrameWnd)
-
-BEGIN_MESSAGE_MAP(ImageMainFrame, CFrameWnd)
-       ON_WM_CREATE()
-       ON_COMMAND(ID_FILE_CLOSE, &ImageMainFrame::OnFileClose)
-END_MESSAGE_MAP()
-
-
-// ImageMainFrame construction/destruction
-
-ImageMainFrame::ImageMainFrame()
-{
-       // TODO: add member initialization code here
-}
-
-ImageMainFrame::~ImageMainFrame()
-{
-}
-
-
-int ImageMainFrame::OnCreate(LPCREATESTRUCT lpCreateStruct)
-{
-       if (CFrameWnd::OnCreate(lpCreateStruct) == -1)
-               return -1;
-       
-        if (!m_wndReBar.Create(this))
-       {
-               TRACE0("Failed to create rebar\n");
-               return -1;      // fail to create
-       }
-
-       if (!m_wndToolBar.CreateEx(this) || !m_wndToolBar.LoadToolBar(IDR_MAINFRAME))
-       {
-               TRACE0("Failed to create toolbar\n");
-               return -1;      // fail to create
-       }
-
-       // add the toolbar
-       m_wndReBar.AddBar(&m_wndToolBar,NULL, NULL, RBBS_GRIPPERALWAYS|RBBS_FIXEDBMP|RBBS_USECHEVRON);
-       
-       return 0;
-}
-
-BOOL ImageMainFrame::PreCreateWindow(CREATESTRUCT& cs)
-{
-       if( !CFrameWnd::PreCreateWindow(cs) )
-               return FALSE;
-       // TODO: Modify the Window class or styles here by modifying
-       //  the CREATESTRUCT cs
-
-       return TRUE;
-}
-
-
-// ImageMainFrame diagnostics
-
-#ifdef _DEBUG
-void ImageMainFrame::AssertValid() const
-{
-       CFrameWnd::AssertValid();
-}
-
-void ImageMainFrame::Dump(CDumpContext& dc) const
-{
-       CFrameWnd::Dump(dc);
-}
-
-#endif //_DEBUG
-
-
-// ImageMainFrame message handlers
-
-
-
-BOOL ImageMainFrame::LoadFrame(UINT nIDResource, DWORD dwDefaultStyle, CWnd* pParentWnd, CCreateContext* pContext) 
-{
-       // base class does the real work
-
-       if (!CFrameWnd::LoadFrame(nIDResource, dwDefaultStyle, pParentWnd, pContext))
-       {
-               return FALSE;
-       }
-
-       CWinApp* pApp = AfxGetApp();
-       if (pApp->m_pMainWnd == NULL)
-               pApp->m_pMainWnd = this;
-
-       // replace Exit option on File menu with Close for secondary windows
-       if (AfxGetApp()->m_pMainWnd != this)
-       {
-               CMenu *pMenu = GetMenu();
-               ASSERT(pMenu);
-               pMenu->ModifyMenu(ID_APP_EXIT, MF_BYCOMMAND | MF_STRING, ID_FILE_CLOSE, _T("&Close"));
-       }
-
-       return TRUE;
-}
-
-void ImageMainFrame::OnFileClose()
-{
-   DestroyWindow();
-}
diff --git a/WebCore/WebCore.vcproj/Image Viewer/ImageMainFrame.h b/WebCore/WebCore.vcproj/Image Viewer/ImageMainFrame.h
deleted file mode 100644 (file)
index 616e95b..0000000
+++ /dev/null
@@ -1,69 +0,0 @@
-/*
- * Copyright (C) 2006 Apple Computer, Inc.  All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions 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.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``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 APPLE COMPUTER, INC. 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. 
- */\r
-\r
-// ImageMainFrame.h : interface of the ImageMainFrame class\r
-//\r
-\r
-\r
-#pragma once\r
-\r
-class ImageMainFrame : public CFrameWnd\r
-{\r
-       \r
-protected: // create from serialization only\r
-       ImageMainFrame();\r
-       DECLARE_DYNCREATE(ImageMainFrame)\r
-\r
-// Attributes\r
-public:\r
-\r
-// Operations\r
-public:\r
-\r
-// Overrides\r
-public:\r
-       virtual BOOL PreCreateWindow(CREATESTRUCT& cs);\r
-       virtual BOOL LoadFrame(UINT nIDResource, DWORD dwDefaultStyle = WS_OVERLAPPEDWINDOW | FWS_ADDTOTITLE, CWnd* pParentWnd = NULL, CCreateContext* pContext = NULL);\r
-\r
-// Implementation\r
-public:\r
-       virtual ~ImageMainFrame();\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
-       CToolBar    m_wndToolBar;\r
-        CReBar      m_wndReBar;\r
-\r
-// Generated message map functions\r
-protected:\r
-       afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);\r
-       afx_msg void OnFileClose();\r
-       DECLARE_MESSAGE_MAP()\r
-};\r
-\r
-\r
diff --git a/WebCore/WebCore.vcproj/Image Viewer/ImageView.cpp b/WebCore/WebCore.vcproj/Image Viewer/ImageView.cpp
deleted file mode 100644 (file)
index 0b158ee..0000000
+++ /dev/null
@@ -1,172 +0,0 @@
-// ImageView.cpp : implementation of the ImageView class
-//
-
-#include "stdafx.h"
-#include "Image Viewer.h"
-#include "ImageDocument.h"
-#include "ImageView.h"
-#include <cairo.h>
-#include "Image.h"
-#include "FloatRect.h"
-#include "IntRect.h"
-#include "GraphicsContext.h"
-#include "FrameWin.h"
-
-using namespace WebCore;
-
-#ifdef _DEBUG
-#define new DEBUG_NEW
-#endif
-
-
-// ImageView
-
-IMPLEMENT_DYNCREATE(ImageView, CView)
-
-BEGIN_MESSAGE_MAP(ImageView, CView)
-       // Standard printing commands
-       ON_COMMAND(ID_FILE_PRINT, &CView::OnFilePrint)
-       ON_COMMAND(ID_FILE_PRINT_DIRECT, &CView::OnFilePrint)
-       ON_COMMAND(ID_FILE_PRINT_PREVIEW, &CView::OnFilePrintPreview)
-        ON_WM_ERASEBKGND()
-END_MESSAGE_MAP()
-
-// ImageView construction/destruction
-
-ImageView::ImageView()
-{
-    // Needed to make sure everything is properly initialized;
-    static FrameWin *dummyFrame = new FrameWin(0, 0, 0);
-}
-
-ImageView::~ImageView()
-{
-}
-
-BOOL ImageView::PreCreateWindow(CREATESTRUCT& cs)
-{
-       // TODO: Modify the Window class or styles here by modifying
-       //  the CREATESTRUCT cs
-
-       return CView::PreCreateWindow(cs);
-}
-
-// ImageView drawing
-
-BOOL ImageView::OnEraseBkgnd(CDC* pDC)
-{
-    // Don't ever let windows erase the background.
-    ImageDocument* pDoc = GetDocument();
-    if (!pDoc || !pDoc->image())
-        return CView::OnEraseBkgnd(pDC);
-    return FALSE;
-}
-
-void ImageView::OnDraw(CDC* pDC)
-{
-    ImageDocument* pDoc = GetDocument();
-    ASSERT_VALID(pDoc);
-    if (!pDoc)
-        return;
-
-    Image* image = pDoc->image();
-    if (!image)
-        return;
-
-    // Make a win32 cairo surface for painting.
-    HDC dc = pDC->m_hDC;
-    
-    // Center the image.
-    RECT rect;
-    GetClientRect(&rect);
-
-    cairo_surface_t* finalSurface = cairo_win32_surface_create(dc);
-    cairo_surface_t* surface = cairo_surface_create_similar(finalSurface,
-                                                            CAIRO_CONTENT_COLOR_ALPHA,
-                                                            rect.right, rect.bottom);
-
-    cairo_t* context = cairo_create(surface);
-    GraphicsContext gc(context);
-    // Fill with white.
-    gc.fillRect(IntRect(0, 0, rect.right, rect.bottom), Color::white);
-
-    // Comment in to test overlapping.
-    bool overlapping = false; // true;
-
-    // Comment in to test tiling.
-    bool tile = false; // true;
-    FloatPoint srcPoint; // The src point to use when tiling.  Change value to test offset tiling.
-
-    // Comment the multiplicative factor in to test scaling (doubles the size).
-    float width = tile ? rect.right : image->size().width(); // * 2;
-    float height = tile ? rect.bottom : image->size().height(); // * 2;
-
-    float left = tile ? 0 : (rect.right - width) / 2;
-    float top = tile ? 0 : (rect.bottom - height) / 2;
-    if (left < 0) left = 0;
-    if (top < 0) top = 0;
-
-    FloatRect dstRect(FloatPoint(left, top), FloatSize(width, height));
-    FloatRect imageRect(srcPoint, image->size());
-    if (tile)
-        gc.drawTiledImage(image, IntRect(left, top, width, height), IntPoint(srcPoint.x(), srcPoint.y()), image->size());
-    else {
-        gc.drawImage(image, dstRect, imageRect);
-    //    if (overlapping)
-     //       image->drawInRect(FloatRect(dstRect.x() + dstRect.width()/2, dstRect.y(), dstRect.width(), dstRect.height()),
-     //                        imageRect, Image::CompositeSourceOver, context);
-    }
-    
-    context = cairo_create(finalSurface);
-    cairo_set_operator(context, CAIRO_OPERATOR_SOURCE);
-    cairo_set_source_surface(context, surface, 0, 0);
-    cairo_rectangle(context, 0, 0, rect.right, rect.bottom);
-    cairo_fill(context);
-    cairo_destroy(context);
-
-    cairo_surface_destroy(surface);
-    cairo_surface_destroy(finalSurface);   
-}
-
-
-// ImageView printing
-
-BOOL ImageView::OnPreparePrinting(CPrintInfo* pInfo)
-{
-       // default preparation
-       return DoPreparePrinting(pInfo);
-}
-
-void ImageView::OnBeginPrinting(CDC* /*pDC*/, CPrintInfo* /*pInfo*/)
-{
-       // TODO: add extra initialization before printing
-}
-
-void ImageView::OnEndPrinting(CDC* /*pDC*/, CPrintInfo* /*pInfo*/)
-{
-       // TODO: add cleanup after printing
-}
-
-
-// ImageView diagnostics
-
-#ifdef _DEBUG
-void ImageView::AssertValid() const
-{
-       CView::AssertValid();
-}
-
-void ImageView::Dump(CDumpContext& dc) const
-{
-       CView::Dump(dc);
-}
-
-ImageDocument* ImageView::GetDocument() const // non-debug version is inline
-{
-       ASSERT(m_pDocument->IsKindOf(RUNTIME_CLASS(ImageDocument)));
-       return (ImageDocument*)m_pDocument;
-}
-#endif //_DEBUG
-
-
-// ImageView message handlers
diff --git a/WebCore/WebCore.vcproj/Image Viewer/ImageView.h b/WebCore/WebCore.vcproj/Image Viewer/ImageView.h
deleted file mode 100644 (file)
index 62efdb6..0000000
+++ /dev/null
@@ -1,78 +0,0 @@
-/*
- * Copyright (C) 2006 Apple Computer, Inc.  All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions 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.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``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 APPLE COMPUTER, INC. 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. 
- */\r
-\r
-// ImageView.h : interface of the ImageView class\r
-//\r
-\r
-\r
-#pragma once\r
-\r
-#include <cairo.h>\r
-#include <cairo-win32.h>\r
-\r
-class ImageView : public CView\r
-{\r
-protected: // create from serialization only\r
-       ImageView();\r
-\r
-        DECLARE_DYNCREATE(ImageView)\r
-\r
-// Attributes\r
-public:\r
-       ImageDocument* GetDocument() const;\r
-\r
-// Operations\r
-public:\r
-\r
-// Overrides\r
-public:\r
-        afx_msg BOOL OnEraseBkgnd(CDC* pDC);\r
-       virtual void OnDraw(CDC* pDC);  // overridden to draw this view\r
-       virtual BOOL PreCreateWindow(CREATESTRUCT& cs);\r
-protected:\r
-       virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);\r
-       virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);\r
-       virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);\r
-\r
-// Implementation\r
-public:\r
-       virtual ~ImageView();\r
-#ifdef _DEBUG\r
-       virtual void AssertValid() const;\r
-       virtual void Dump(CDumpContext& dc) const;\r
-#endif\r
-\r
-protected:\r
-\r
-// Generated message map functions\r
-protected:\r
-       DECLARE_MESSAGE_MAP()\r
-};\r
-\r
-#ifndef _DEBUG  // debug version in ImageView.cpp\r
-inline ImageDocument* ImageView::GetDocument() const\r
-   { return reinterpret_cast<ImageDocument*>(m_pDocument); }\r
-#endif\r
-\r
diff --git a/WebCore/WebCore.vcproj/Image Viewer/Resource.h b/WebCore/WebCore.vcproj/Image Viewer/Resource.h
deleted file mode 100644 (file)
index 1798dce..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-//{{NO_DEPENDENCIES}}
-// Microsoft Visual C++ generated include file.
-// Used by Image Viewer.rc
-//
-#define IDD_ABOUTBOX                    100
-#define IDP_OLE_INIT_FAILED             100
-#define IDR_MAINFRAME                   128
-#define IDR_ImageViewerTYPE             129
-#define ID_BUTTON32771                  32771
-
-// Next default values for new objects
-// 
-#ifdef APSTUDIO_INVOKED
-#ifndef APSTUDIO_READONLY_SYMBOLS
-#define _APS_NEXT_RESOURCE_VALUE        131
-#define _APS_NEXT_COMMAND_VALUE         32772
-#define _APS_NEXT_CONTROL_VALUE         1004
-#define _APS_NEXT_SYMED_VALUE           101
-#endif
-#endif
diff --git a/WebCore/WebCore.vcproj/Image Viewer/res/Image Viewer.ico b/WebCore/WebCore.vcproj/Image Viewer/res/Image Viewer.ico
deleted file mode 100644 (file)
index 8a84ca3..0000000
Binary files a/WebCore/WebCore.vcproj/Image Viewer/res/Image Viewer.ico and /dev/null differ
diff --git a/WebCore/WebCore.vcproj/Image Viewer/res/Image ViewerDoc.ico b/WebCore/WebCore.vcproj/Image Viewer/res/Image ViewerDoc.ico
deleted file mode 100644 (file)
index 2a1f1ae..0000000
Binary files a/WebCore/WebCore.vcproj/Image Viewer/res/Image ViewerDoc.ico and /dev/null differ
diff --git a/WebCore/WebCore.vcproj/Image Viewer/res/ImageViewer.rc2 b/WebCore/WebCore.vcproj/Image Viewer/res/ImageViewer.rc2
deleted file mode 100644 (file)
index 0be9b97..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-//\r
-// ImageViewer.RC2 - resources Microsoft Visual C++ does not edit directly\r
-//\r
-\r
-#ifdef APSTUDIO_INVOKED\r
-#error this file is not editable by Microsoft Visual C++\r
-#endif //APSTUDIO_INVOKED\r
-\r
-\r
-/////////////////////////////////////////////////////////////////////////////\r
-// Add manually edited resources here...\r
-\r
-/////////////////////////////////////////////////////////////////////////////\r
diff --git a/WebCore/WebCore.vcproj/Image Viewer/res/Toolbar.bmp b/WebCore/WebCore.vcproj/Image Viewer/res/Toolbar.bmp
deleted file mode 100644 (file)
index 3091e1c..0000000
Binary files a/WebCore/WebCore.vcproj/Image Viewer/res/Toolbar.bmp and /dev/null differ
diff --git a/WebCore/WebCore.vcproj/Image Viewer/stdafx.cpp b/WebCore/WebCore.vcproj/Image Viewer/stdafx.cpp
deleted file mode 100644 (file)
index 657dba2..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * Copyright (C) 2006 Apple Computer, Inc.  All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions 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.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``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 APPLE COMPUTER, INC. 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. 
- */
-
-// stdafx.cpp : source file that includes just the standard includes
-// Image Viewer.pch will be the pre-compiled header
-// stdafx.obj will contain the pre-compiled type information
-
-#include "stdafx.h"
-
-
diff --git a/WebCore/WebCore.vcproj/Image Viewer/stdafx.h b/WebCore/WebCore.vcproj/Image Viewer/stdafx.h
deleted file mode 100644 (file)
index b79e170..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
-/*
- * Copyright (C) 2006 Apple Computer, Inc.  All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions 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.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``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 APPLE COMPUTER, INC. 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. 
- */\r
-// stdafx.h : include file for standard system include files,\r
-// or project specific include files that are used frequently,\r
-// but are changed infrequently\r
-\r
-#pragma once\r
-\r
-#ifndef _SECURE_ATL\r
-#define _SECURE_ATL 1\r
-#endif\r
-\r
-#ifndef VC_EXTRALEAN\r
-#define VC_EXTRALEAN           // Exclude rarely-used stuff from Windows headers\r
-#endif\r
-\r
-// Modify the following defines if you have to target a platform prior to the ones specified below.\r
-// Refer to MSDN for the latest info on corresponding values for different platforms.\r
-#ifndef WINVER                         // Allow use of features specific to Windows XP or later.\r
-#define WINVER 0x0501          // Change this to the appropriate value to target other versions of Windows.\r
-#endif\r
-\r
-#ifndef _WIN32_WINNT           // Allow use of features specific to Windows XP or later.                   \r
-#define _WIN32_WINNT 0x0501    // Change this to the appropriate value to target other versions of Windows.\r
-#endif                                         \r
-\r
-#ifndef _WIN32_WINDOWS         // Allow use of features specific to Windows 98 or later.\r
-#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later.\r
-#endif\r
-\r
-#ifndef _WIN32_IE                      // Allow use of features specific to IE 6.0 or later.\r
-#define _WIN32_IE 0x0600       // Change this to the appropriate value to target other versions of IE.\r
-#endif\r
-\r
-#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS     // some CString constructors will be explicit\r
-\r
-// turns off MFC's hiding of some common and often safely ignored warning messages\r
-#define _AFX_ALL_WARNINGS\r
-\r
-#include <afxwin.h>         // MFC core and standard components\r
-#include <afxext.h>         // MFC extensions\r
-\r
-\r
-#include <afxdisp.h>        // MFC Automation classes\r
-\r
-\r
-\r
-#ifndef _AFX_NO_OLE_SUPPORT\r
-#include <afxdtctl.h>          // MFC support for Internet Explorer 4 Common Controls\r
-#endif\r
-#ifndef _AFX_NO_AFXCMN_SUPPORT\r
-#include <afxcmn.h>                    // MFC support for Windows Common Controls\r
-#endif // _AFX_NO_AFXCMN_SUPPORT\r
-\r
-\r
-\r
-\r
-\r
-\r
-\r
-\r
-\r
-#ifdef _UNICODE\r
-#if defined _M_IX86\r
-#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"")\r
-#elif defined _M_IA64\r
-#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"")\r
-#elif defined _M_X64\r
-#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"")\r
-#else\r
-#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")\r
-#endif\r
-#endif\r
-\r
-\r