diff options
author | Michael Vrhel <michael.vrhel@artifex.com> | 2014-02-10 10:08:09 -0800 |
---|---|---|
committer | Michael Vrhel <michael.vrhel@artifex.com> | 2014-09-09 16:39:30 -0700 |
commit | 56d4072bec0ea65451e869c24eab24656e395020 (patch) | |
tree | c2808c8cc3fc6b67dd9534108205109547466a63 /platform | |
parent | e16c621b9a49cc386b3b65e7fde1f25eb780e85b (diff) | |
download | mupdf-56d4072bec0ea65451e869c24eab24656e395020.tar.xz |
Rename of munet to mupdfnet
Diffstat (limited to 'platform')
-rw-r--r-- | platform/winrt/gsview/mudocument.cs | 26 | ||||
-rw-r--r-- | platform/winrt/mupdf.sln | 2 | ||||
-rw-r--r-- | platform/winrt/mupdfnet/mupdfnet.cpp (renamed from platform/winrt/munet/munet.cpp) | 2 | ||||
-rw-r--r-- | platform/winrt/mupdfnet/mupdfnet.h (renamed from platform/winrt/munet/munet.h) | 0 | ||||
-rw-r--r-- | platform/winrt/mupdfnet/mupdfnet.vcxproj (renamed from platform/winrt/munet/munet.vcxproj) | 4 | ||||
-rw-r--r-- | platform/winrt/mupdfnet/mupdfnet.vcxproj.filters (renamed from platform/winrt/munet/munet.vcxproj.filters) | 4 |
6 files changed, 19 insertions, 19 deletions
diff --git a/platform/winrt/gsview/mudocument.cs b/platform/winrt/gsview/mudocument.cs index c9ccb4de..f24defe0 100644 --- a/platform/winrt/gsview/mudocument.cs +++ b/platform/winrt/gsview/mudocument.cs @@ -33,61 +33,61 @@ namespace gsview * Calling into C++ code from managed code is complex. Since CLR * compiling is needed and that does not support mutex. Hence the C * interface */ - [DllImport("munet.dll", CharSet = CharSet.Auto, + [DllImport("mupdfnet.dll", CharSet = CharSet.Auto, CallingConvention = CallingConvention.StdCall)] public static extern IntPtr mInitialize(); - [DllImport("munet.dll", CharSet = CharSet.Auto, + [DllImport("mupdfnet.dll", CharSet = CharSet.Auto, CallingConvention = CallingConvention.StdCall)] public static extern status_t mOpenDocument(IntPtr ctx, string filename); - [DllImport("munet.dll", CharSet = CharSet.Auto, + [DllImport("mupdfnet.dll", CharSet = CharSet.Auto, CallingConvention = CallingConvention.StdCall)] public static extern void mCleanUp(IntPtr ctx); - [DllImport("munet.dll", CharSet = CharSet.Auto, + [DllImport("mupdfnet.dll", CharSet = CharSet.Auto, CallingConvention = CallingConvention.StdCall)] public static extern int mGetPageCount(IntPtr ctx); - [DllImport("munet.dll", CharSet = CharSet.Auto, + [DllImport("mupdfnet.dll", CharSet = CharSet.Auto, CallingConvention = CallingConvention.StdCall)] public static extern bool mRequiresPassword(IntPtr ctx); - [DllImport("munet.dll", CharSet = CharSet.Auto, + [DllImport("mupdfnet.dll", CharSet = CharSet.Auto, CallingConvention = CallingConvention.StdCall)] public static extern bool mApplyPassword(IntPtr ctx, string password); - [DllImport("munet.dll", CharSet = CharSet.Auto, + [DllImport("mupdfnet.dll", CharSet = CharSet.Auto, CallingConvention = CallingConvention.StdCall)] public static extern int mRenderPage(IntPtr ctx, int page_num, Byte[] bmp_data, int bmp_width, int bmp_height, double scale, bool flipy); - [DllImport("munet.dll", CharSet = CharSet.Auto, + [DllImport("mupdfnet.dll", CharSet = CharSet.Auto, CallingConvention = CallingConvention.StdCall)] public static extern int mMeasurePage(IntPtr ctx, int page_num, ref double width, ref double height); - [DllImport("munet.dll", CharSet = CharSet.Auto, + [DllImport("mupdfnet.dll", CharSet = CharSet.Auto, CallingConvention = CallingConvention.StdCall)] public static extern int mGetContents(IntPtr ctx); - [DllImport("munet.dll", CharSet = CharSet.Auto, + [DllImport("mupdfnet.dll", CharSet = CharSet.Auto, CallingConvention = CallingConvention.StdCall)] public static extern void mReleaseContents(); /* The managed code Marshal actually releases the allocated string from C */ - [DllImport("munet.dll", CharSet = CharSet.Ansi, + [DllImport("mupdfnet.dll", CharSet = CharSet.Ansi, CallingConvention = CallingConvention.StdCall)] [return: MarshalAs(UnmanagedType.LPStr)] public static extern string mGetContentsItem(int k, ref int len, ref int page); - [DllImport("munet.dll", CharSet = CharSet.Auto, + [DllImport("mupdfnet.dll", CharSet = CharSet.Auto, CallingConvention = CallingConvention.StdCall)] public static extern IntPtr mCreateDisplayList(IntPtr ctx, int page_num, ref int page_width, ref int page_height); - [DllImport("munet.dll", CharSet = CharSet.Auto, + [DllImport("mupdfnet.dll", CharSet = CharSet.Auto, CallingConvention = CallingConvention.StdCall)] public static extern int mRenderPageMT(IntPtr ctx, IntPtr dlist, int page_width, int page_height, Byte[] bmp_data, int bmp_width, diff --git a/platform/winrt/mupdf.sln b/platform/winrt/mupdf.sln index ca4347a2..90d274c2 100644 --- a/platform/winrt/mupdf.sln +++ b/platform/winrt/mupdf.sln @@ -33,7 +33,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mupdf_cpp", "mupdf_cpp\mupd EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "gsview", "gsview\gsview.csproj", "{5DA0ECC9-4026-4427-862F-E3226EFEFEB1}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "munet", "munet\munet.vcxproj", "{4468C2E0-6C90-4FA5-8A48-0A9629776167}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mupdfnet", "mupdfnet\mupdfnet.vcxproj", "{4468C2E0-6C90-4FA5-8A48-0A9629776167}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/platform/winrt/munet/munet.cpp b/platform/winrt/mupdfnet/mupdfnet.cpp index 72242127..e5b32e93 100644 --- a/platform/winrt/munet/munet.cpp +++ b/platform/winrt/mupdfnet/mupdfnet.cpp @@ -1,4 +1,4 @@ -#include "munet.h" +#include "mupdfnet.h" #include <strsafe.h> #include "muctx.h" diff --git a/platform/winrt/munet/munet.h b/platform/winrt/mupdfnet/mupdfnet.h index ac869b98..ac869b98 100644 --- a/platform/winrt/munet/munet.h +++ b/platform/winrt/mupdfnet/mupdfnet.h diff --git a/platform/winrt/munet/munet.vcxproj b/platform/winrt/mupdfnet/mupdfnet.vcxproj index 661dbaee..33e53594 100644 --- a/platform/winrt/munet/munet.vcxproj +++ b/platform/winrt/mupdfnet/mupdfnet.vcxproj @@ -195,12 +195,12 @@ <ItemGroup> <ClCompile Include="..\mupdfwinrt\Cache.cpp" /> <ClCompile Include="..\mupdfwinrt\muctx.cpp" /> - <ClCompile Include="munet.cpp" /> + <ClCompile Include="mupdfnet.cpp" /> </ItemGroup> <ItemGroup> <ClInclude Include="..\mupdfwinrt\Cache.h" /> <ClInclude Include="..\mupdfwinrt\muctx.h" /> - <ClInclude Include="munet.h" /> + <ClInclude Include="mupdfnet.h" /> </ItemGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> <ImportGroup Label="ExtensionTargets"> diff --git a/platform/winrt/munet/munet.vcxproj.filters b/platform/winrt/mupdfnet/mupdfnet.vcxproj.filters index f024845f..e06c17d7 100644 --- a/platform/winrt/munet/munet.vcxproj.filters +++ b/platform/winrt/mupdfnet/mupdfnet.vcxproj.filters @@ -24,7 +24,7 @@ <ClCompile Include="..\mupdfwinrt\muctx.cpp"> <Filter>Source Files</Filter> </ClCompile> - <ClCompile Include="munet.cpp"> + <ClCompile Include="mupdfnet.cpp"> <Filter>Source Files</Filter> </ClCompile> </ItemGroup> @@ -35,7 +35,7 @@ <ClInclude Include="..\mupdfwinrt\muctx.h"> <Filter>Header Files</Filter> </ClInclude> - <ClInclude Include="munet.h"> + <ClInclude Include="mupdfnet.h"> <Filter>Header Files</Filter> </ClInclude> </ItemGroup> |