From d41080402cc0aae67405c1b18b09e6be7ab7f9b0 Mon Sep 17 00:00:00 2001 From: Michael Vrhel Date: Tue, 22 Jul 2014 08:58:58 -0700 Subject: Add missing header file pdf-tools.h, Messages.resx and Messages.Designer.cs pdf-tools.h is used so that we can call into pdfclean_main. --- include/mupdf/pdf-tools.h | 6 + platform/winrt/gsview/README.txt | 8 + .../gsview/Strings/en-US/Messages.Designer.cs | 63 ++++ platform/winrt/gsview/Strings/en-US/Messages.resx | 101 ++++++ .../winrt/mupdf_cpp/Package.StoreAssociation.xml | 375 +++++++++++++++++++++ platform/winrt/mupdf_cpp/mupdf_cpp.vcxproj | 4 +- platform/winrt/mupdfwinrt/mupdfwinrt.vcxproj | 4 +- 7 files changed, 557 insertions(+), 4 deletions(-) create mode 100644 include/mupdf/pdf-tools.h create mode 100644 platform/winrt/gsview/README.txt create mode 100644 platform/winrt/gsview/Strings/en-US/Messages.Designer.cs create mode 100644 platform/winrt/gsview/Strings/en-US/Messages.resx create mode 100644 platform/winrt/mupdf_cpp/Package.StoreAssociation.xml diff --git a/include/mupdf/pdf-tools.h b/include/mupdf/pdf-tools.h new file mode 100644 index 00000000..ce13d2a2 --- /dev/null +++ b/include/mupdf/pdf-tools.h @@ -0,0 +1,6 @@ +#ifndef MUPDF_PDF_TOOLS_PDF_H +#define MUPDF_PDF_TOOLS_PDF_H + +int pdfclean_main(int argc, char **argv); + +#endif \ No newline at end of file diff --git a/platform/winrt/gsview/README.txt b/platform/winrt/gsview/README.txt new file mode 100644 index 00000000..35593bce --- /dev/null +++ b/platform/winrt/gsview/README.txt @@ -0,0 +1,8 @@ +Note building the projects in this solution requires VS 2013 +To build the installer projects you will need the extension: + +Microsoft Visual Studio Installer Projects + +located at + +http://visualstudiogallery.msdn.microsoft.com/9abe329c-9bba-44a1-be59-0fbf6151054d \ No newline at end of file diff --git a/platform/winrt/gsview/Strings/en-US/Messages.Designer.cs b/platform/winrt/gsview/Strings/en-US/Messages.Designer.cs new file mode 100644 index 00000000..1c34b901 --- /dev/null +++ b/platform/winrt/gsview/Strings/en-US/Messages.Designer.cs @@ -0,0 +1,63 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34014 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace gsview.Strings.en_US { + using System; + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Messages { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Messages() { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("gsview.Strings.en_US.Messages", typeof(Messages).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + } +} diff --git a/platform/winrt/gsview/Strings/en-US/Messages.resx b/platform/winrt/gsview/Strings/en-US/Messages.resx new file mode 100644 index 00000000..4fdb1b6a --- /dev/null +++ b/platform/winrt/gsview/Strings/en-US/Messages.resx @@ -0,0 +1,101 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 1.3 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.3500.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.3500.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/platform/winrt/mupdf_cpp/Package.StoreAssociation.xml b/platform/winrt/mupdf_cpp/Package.StoreAssociation.xml new file mode 100644 index 00000000..099c2431 --- /dev/null +++ b/platform/winrt/mupdf_cpp/Package.StoreAssociation.xml @@ -0,0 +1,375 @@ + + + CN=B93265AA-82AD-458A-A08E-7069B8ED88B5 + ArtifexSoftware + Artifex Software + http://www.w3.org/2001/04/xmlenc#sha256 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ArtifexSoftware.MuPDF + + MuPDF + + + + + + 6.2.1.0 + arm + 1.0.0.10 + + + 6.2.1.0 + x86 + 1.0.0.10 + + + 6.2.1.0 + x64 + 1.0.0.10 + + + \ No newline at end of file diff --git a/platform/winrt/mupdf_cpp/mupdf_cpp.vcxproj b/platform/winrt/mupdf_cpp/mupdf_cpp.vcxproj index aaeb56dc..eee0eb95 100644 --- a/platform/winrt/mupdf_cpp/mupdf_cpp.vcxproj +++ b/platform/winrt/mupdf_cpp/mupdf_cpp.vcxproj @@ -153,7 +153,7 @@ ../../include/;../mupdfwinrt/;%(AdditionalIncludeDirectories) - D3D11.lib;D2d1.lib;kernel32.lib;%(AdditionalDependencies);../$(Platform)/$(Configuration)/libmupdf_winRT.lib;../$(Platform)/$(Configuration)/libthirdparty_winRT.lib;../$(Platform)/$(Configuration)/libmupdf-nov8_winRT.lib;../$(Platform)/$(Configuration)/mupdfwinrt.lib + D3D11.lib;D2d1.lib;kernel32.lib;%(AdditionalDependencies);../$(Platform)/$(Configuration)/libmupdf_winRT.lib;../$(Platform)/$(Configuration)/libthirdparty_winRT.lib;../$(Platform)/$(Configuration)/mupdfwinrt.lib /APPCONTAINER /SAFESEH %(AdditionalOptions) @@ -165,7 +165,7 @@ _UNICODE;NDEBUG;UNICODE;%(PreprocessorDefinitions) - D3D11.lib;D2d1.lib;kernel32.lib;%(AdditionalDependencies);../$(Platform)/$(Configuration)/libmupdf_winRT.lib;../$(Platform)/$(Configuration)/libthirdparty_winRT.lib;../$(Platform)/$(Configuration)/libmupdf-nov8_winRT.lib;../$(Platform)/$(Configuration)/mupdfwinrt.lib + D3D11.lib;D2d1.lib;kernel32.lib;%(AdditionalDependencies);../$(Platform)/$(Configuration)/libmupdf_winRT.lib;../$(Platform)/$(Configuration)/libthirdparty_winRT.lib;../$(Platform)/$(Configuration)/mupdfwinrt.lib /APPCONTAINER /SAFESEH %(AdditionalOptions) diff --git a/platform/winrt/mupdfwinrt/mupdfwinrt.vcxproj b/platform/winrt/mupdfwinrt/mupdfwinrt.vcxproj index 444ea626..fa162f0e 100644 --- a/platform/winrt/mupdfwinrt/mupdfwinrt.vcxproj +++ b/platform/winrt/mupdfwinrt/mupdfwinrt.vcxproj @@ -134,7 +134,7 @@ Console - runtimeobject.lib;../$(Platform)/$(Configuration)/libmupdf_winRT.lib;../$(Platform)/$(Configuration)/libthirdparty_winRT.lib;../$(Platform)/$(Configuration)/libmupdf-nov8_winRT.lib + runtimeobject.lib;../$(Platform)/$(Configuration)/libmupdf_winRT.lib;../$(Platform)/$(Configuration)/libthirdparty_winRT.lib false @@ -150,7 +150,7 @@ Console - runtimeobject.lib;../$(Platform)/$(Configuration)/libmupdf_winRT.lib;../$(Platform)/$(Configuration)/libthirdparty_winRT.lib;../$(Platform)/$(Configuration)/libmupdf-nov8_winRT.lib + runtimeobject.lib;../$(Platform)/$(Configuration)/libmupdf_winRT.lib;../$(Platform)/$(Configuration)/libthirdparty_winRT.lib false -- cgit v1.2.3