From e2b0ce7914ff846c80ff43488bc8a423315b9c17 Mon Sep 17 00:00:00 2001 From: Michael Vrhel Date: Mon, 6 May 2013 21:45:56 -0700 Subject: Removal of old winapp project --- winrt/mupdf.sln | 56 - winrt/winapp/App.xaml | 20 - winrt/winapp/App.xaml.cpp | 109 -- winrt/winapp/App.xaml.h | 25 - winrt/winapp/Assets/mupdf_logo.png | Bin 12690 -> 0 bytes winrt/winapp/Assets/mupdf_smallogo.png | Bin 4108 -> 0 bytes winrt/winapp/Assets/mupdf_splash.png | Bin 23297 -> 0 bytes winrt/winapp/Assets/mupdf_storelogo.png | Bin 5382 -> 0 bytes winrt/winapp/Common/StandardStyles.xaml | 1855 ---------------------------- winrt/winapp/LVContents.cpp | 9 - winrt/winapp/LVContents.h | 12 - winrt/winapp/MainPage.xaml | 116 -- winrt/winapp/MainPage.xaml.cpp | 2043 ------------------------------- winrt/winapp/MainPage.xaml.h | 213 ---- winrt/winapp/Package.appxmanifest | 54 - winrt/winapp/pch.cpp | 6 - winrt/winapp/pch.h | 10 - winrt/winapp/winapp.vcxproj | 327 ----- winrt/winapp/winapp.vcxproj.filters | 52 - 19 files changed, 4907 deletions(-) delete mode 100644 winrt/winapp/App.xaml delete mode 100644 winrt/winapp/App.xaml.cpp delete mode 100644 winrt/winapp/App.xaml.h delete mode 100644 winrt/winapp/Assets/mupdf_logo.png delete mode 100644 winrt/winapp/Assets/mupdf_smallogo.png delete mode 100644 winrt/winapp/Assets/mupdf_splash.png delete mode 100644 winrt/winapp/Assets/mupdf_storelogo.png delete mode 100644 winrt/winapp/Common/StandardStyles.xaml delete mode 100644 winrt/winapp/LVContents.cpp delete mode 100644 winrt/winapp/LVContents.h delete mode 100644 winrt/winapp/MainPage.xaml delete mode 100644 winrt/winapp/MainPage.xaml.cpp delete mode 100644 winrt/winapp/MainPage.xaml.h delete mode 100644 winrt/winapp/Package.appxmanifest delete mode 100644 winrt/winapp/pch.cpp delete mode 100644 winrt/winapp/pch.h delete mode 100644 winrt/winapp/winapp.vcxproj delete mode 100644 winrt/winapp/winapp.vcxproj.filters diff --git a/winrt/mupdf.sln b/winrt/mupdf.sln index 86d70448..cac7645f 100644 --- a/winrt/mupdf.sln +++ b/winrt/mupdf.sln @@ -3,14 +3,6 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 2012 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "generated", "generated.vcxproj", "{A5053AA7-02E5-4903-B596-04F17AEB1526}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "winapp", "winapp\winapp.vcxproj", "{35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}" - ProjectSection(ProjectDependencies) = postProject - {5AFFE821-C5C8-45FB-B834-10FED76E49A7} = {5AFFE821-C5C8-45FB-B834-10FED76E49A7} - {C0D1C355-1BEE-40E1-9EF4-FD9FFFDBF396} = {C0D1C355-1BEE-40E1-9EF4-FD9FFFDBF396} - {A5053AA7-02E5-4903-B596-04F17AEB1526} = {A5053AA7-02E5-4903-B596-04F17AEB1526} - {0715F3CF-5D1B-4617-A331-6527371365B7} = {0715F3CF-5D1B-4617-A331-6527371365B7} - EndProjectSection -EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libmupdf_winRT", "libmupdf_winRT.vcxproj", "{0715F3CF-5D1B-4617-A331-6527371365B7}" ProjectSection(ProjectDependencies) = postProject {C0D1C355-1BEE-40E1-9EF4-FD9FFFDBF396} = {C0D1C355-1BEE-40E1-9EF4-FD9FFFDBF396} @@ -83,54 +75,6 @@ Global {A5053AA7-02E5-4903-B596-04F17AEB1526}.Release|x64.ActiveCfg = Release|Win32 {A5053AA7-02E5-4903-B596-04F17AEB1526}.Release|x86.ActiveCfg = Release|Win32 {A5053AA7-02E5-4903-B596-04F17AEB1526}.Release|x86.Build.0 = Release|Win32 - {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Debug|Any CPU.ActiveCfg = Debug|Win32 - {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Debug|ARM.ActiveCfg = Debug|ARM - {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Debug|ARM.Build.0 = Debug|ARM - {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Debug|ARM.Deploy.0 = Debug|ARM - {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 - {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Debug|Mixed Platforms.Build.0 = Debug|Win32 - {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Debug|Mixed Platforms.Deploy.0 = Debug|Win32 - {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Debug|Win32.ActiveCfg = Debug|Win32 - {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Debug|Win32.Build.0 = Debug|Win32 - {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Debug|Win32.Deploy.0 = Debug|Win32 - {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Debug|x64.ActiveCfg = Debug|x64 - {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Debug|x64.Build.0 = Debug|x64 - {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Debug|x64.Deploy.0 = Debug|x64 - {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Debug|x86.ActiveCfg = Debug|Win32 - {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Debug|x86.Build.0 = Debug|Win32 - {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Debug|x86.Deploy.0 = Debug|Win32 - {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Memento|Any CPU.ActiveCfg = Memento|Win32 - {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Memento|ARM.ActiveCfg = Memento|ARM - {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Memento|ARM.Build.0 = Memento|ARM - {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Memento|ARM.Deploy.0 = Memento|ARM - {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Memento|Mixed Platforms.ActiveCfg = Memento|Win32 - {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Memento|Mixed Platforms.Build.0 = Memento|Win32 - {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Memento|Mixed Platforms.Deploy.0 = Memento|Win32 - {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Memento|Win32.ActiveCfg = Memento|Win32 - {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Memento|Win32.Build.0 = Memento|Win32 - {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Memento|Win32.Deploy.0 = Memento|Win32 - {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Memento|x64.ActiveCfg = Memento|x64 - {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Memento|x64.Build.0 = Memento|x64 - {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Memento|x64.Deploy.0 = Memento|x64 - {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Memento|x86.ActiveCfg = Memento|Win32 - {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Memento|x86.Build.0 = Memento|Win32 - {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Memento|x86.Deploy.0 = Memento|Win32 - {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Release|Any CPU.ActiveCfg = Release|Win32 - {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Release|ARM.ActiveCfg = Release|ARM - {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Release|ARM.Build.0 = Release|ARM - {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Release|ARM.Deploy.0 = Release|ARM - {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Release|Mixed Platforms.ActiveCfg = Release|Win32 - {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Release|Mixed Platforms.Build.0 = Release|Win32 - {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Release|Mixed Platforms.Deploy.0 = Release|Win32 - {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Release|Win32.ActiveCfg = Release|Win32 - {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Release|Win32.Build.0 = Release|Win32 - {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Release|Win32.Deploy.0 = Release|Win32 - {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Release|x64.ActiveCfg = Release|x64 - {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Release|x64.Build.0 = Release|x64 - {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Release|x64.Deploy.0 = Release|x64 - {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Release|x86.ActiveCfg = Release|Win32 - {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Release|x86.Build.0 = Release|Win32 - {35C27DF7-0CF2-413E-9C7A-6436AFEE5D4E}.Release|x86.Deploy.0 = Release|Win32 {0715F3CF-5D1B-4617-A331-6527371365B7}.Debug|Any CPU.ActiveCfg = Debug|Win32 {0715F3CF-5D1B-4617-A331-6527371365B7}.Debug|ARM.ActiveCfg = Debug|ARM {0715F3CF-5D1B-4617-A331-6527371365B7}.Debug|ARM.Build.0 = Debug|ARM diff --git a/winrt/winapp/App.xaml b/winrt/winapp/App.xaml deleted file mode 100644 index 59d289e0..00000000 --- a/winrt/winapp/App.xaml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - - - - - - diff --git a/winrt/winapp/App.xaml.cpp b/winrt/winapp/App.xaml.cpp deleted file mode 100644 index d51b19bb..00000000 --- a/winrt/winapp/App.xaml.cpp +++ /dev/null @@ -1,109 +0,0 @@ -// -// App.xaml.cpp -// Implementation of the App class. -// - -#include "pch.h" -#include "MainPage.xaml.h" - - -using namespace winapp; - -using namespace Platform; -using namespace Windows::ApplicationModel; -using namespace Windows::ApplicationModel::Activation; -using namespace Windows::Foundation; -using namespace Windows::Foundation::Collections; -using namespace Windows::UI::Xaml; -using namespace Windows::UI::Xaml::Controls; -using namespace Windows::UI::Xaml::Controls::Primitives; -using namespace Windows::UI::Xaml::Data; -using namespace Windows::UI::Xaml::Input; -using namespace Windows::UI::Xaml::Interop; -using namespace Windows::UI::Xaml::Media; -using namespace Windows::UI::Xaml::Navigation; - - -// The Blank Application template is documented at http://go.microsoft.com/fwlink/?LinkId=234227 - -/// -/// Initializes the singleton application object. This is the first line of authored code -/// executed, and as such is the logical equivalent of main() or WinMain(). -/// -App::App() -{ - InitializeComponent(); - Suspending += ref new SuspendingEventHandler(this, &App::OnSuspending); -} - -/// -/// Invoked when the application is launched normally by the end user. Other entry points -/// will be used when the application is launched to open a specific file, to display -/// search results, and so forth. -/// -/// Details about the launch request and process. -void App::OnLaunched(Windows::ApplicationModel::Activation::LaunchActivatedEventArgs^ args) -{ - auto rootFrame = dynamic_cast(Window::Current->Content); - - // Do not repeat app initialization when the Window already has content, - // just ensure that the window is active - if (rootFrame == nullptr) - { - // Create a Frame to act as the navigation context and associate it with - // a SuspensionManager key - rootFrame = ref new Frame(); - - if (args->PreviousExecutionState == ApplicationExecutionState::Terminated) - { - // TODO: Restore the saved session state only when appropriate, scheduling the - // final launch steps after the restore is complete - - } - - if (rootFrame->Content == nullptr) - { - // When the navigation stack isn't restored navigate to the first page, - // configuring the new page by passing required information as a navigation - // parameter - if (!rootFrame->Navigate(TypeName(MainPage::typeid), args->Arguments)) - { - throw ref new FailureException("Failed to create initial page"); - } - } - // Place the frame in the current Window - Window::Current->Content = rootFrame; - // Ensure the current window is active - Window::Current->Activate(); - } - else - { - if (rootFrame->Content == nullptr) - { - // When the navigation stack isn't restored navigate to the first page, - // configuring the new page by passing required information as a navigation - // parameter - if (!rootFrame->Navigate(TypeName(MainPage::typeid), args->Arguments)) - { - throw ref new FailureException("Failed to create initial page"); - } - } - // Ensure the current window is active - Window::Current->Activate(); - } -} - -/// -/// Invoked when application execution is being suspended. Application state is saved -/// without knowing whether the application will be terminated or resumed with the contents -/// of memory still intact. -/// -/// The source of the suspend request. -/// Details about the suspend request. -void App::OnSuspending(Object^ sender, SuspendingEventArgs^ e) -{ - (void) sender; // Unused parameter - (void) e; // Unused parameter - - //TODO: Save application state and stop any background activity -} diff --git a/winrt/winapp/App.xaml.h b/winrt/winapp/App.xaml.h deleted file mode 100644 index 760d4eb9..00000000 --- a/winrt/winapp/App.xaml.h +++ /dev/null @@ -1,25 +0,0 @@ -// -// App.xaml.h -// Declaration of the App class. -// - -#pragma once - -#include "App.g.h" - - -namespace winapp -{ - /// - /// Provides application-specific behavior to supplement the default Application class. - /// - ref class App sealed - { - public: - App(); - virtual void OnLaunched(Windows::ApplicationModel::Activation::LaunchActivatedEventArgs^ args) override; - - private: - void OnSuspending(Platform::Object^ sender, Windows::ApplicationModel::SuspendingEventArgs^ e); - }; -} diff --git a/winrt/winapp/Assets/mupdf_logo.png b/winrt/winapp/Assets/mupdf_logo.png deleted file mode 100644 index ba6b005d..00000000 Binary files a/winrt/winapp/Assets/mupdf_logo.png and /dev/null differ diff --git a/winrt/winapp/Assets/mupdf_smallogo.png b/winrt/winapp/Assets/mupdf_smallogo.png deleted file mode 100644 index 15997f5c..00000000 Binary files a/winrt/winapp/Assets/mupdf_smallogo.png and /dev/null differ diff --git a/winrt/winapp/Assets/mupdf_splash.png b/winrt/winapp/Assets/mupdf_splash.png deleted file mode 100644 index 5f011d17..00000000 Binary files a/winrt/winapp/Assets/mupdf_splash.png and /dev/null differ diff --git a/winrt/winapp/Assets/mupdf_storelogo.png b/winrt/winapp/Assets/mupdf_storelogo.png deleted file mode 100644 index 1b6473d4..00000000 Binary files a/winrt/winapp/Assets/mupdf_storelogo.png and /dev/null differ diff --git a/winrt/winapp/Common/StandardStyles.xaml b/winrt/winapp/Common/StandardStyles.xaml deleted file mode 100644 index cae5dc9e..00000000 --- a/winrt/winapp/Common/StandardStyles.xaml +++ /dev/null @@ -1,1855 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Mouse - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/winrt/winapp/LVContents.cpp b/winrt/winapp/LVContents.cpp deleted file mode 100644 index 1905c10c..00000000 --- a/winrt/winapp/LVContents.cpp +++ /dev/null @@ -1,9 +0,0 @@ -#include "pch.h" -#include "LVContents.h" - -using namespace ListViewContents; -LVContents::LVContents(void) -{ - ContentItem = ""; - Page = -1; -} diff --git a/winrt/winapp/LVContents.h b/winrt/winapp/LVContents.h deleted file mode 100644 index 1ca4179c..00000000 --- a/winrt/winapp/LVContents.h +++ /dev/null @@ -1,12 +0,0 @@ -#pragma once -namespace ListViewContents { - [Windows::UI::Xaml::Data::Bindable] - public ref class LVContents sealed - { - public: - LVContents(void); - property Platform::String^ ContentItem; - property int Page; - - }; -} diff --git a/winrt/winapp/MainPage.xaml b/winrt/winapp/MainPage.xaml deleted file mode 100644 index 011bd8d7..00000000 --- a/winrt/winapp/MainPage.xaml +++ /dev/null @@ -1,116 +0,0 @@ - - - - - - - - - - -