diff options
author | Robin Watts <robin.watts@artifex.com> | 2015-04-03 12:01:49 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2015-04-06 19:31:59 +0100 |
commit | 4c9611cb3d9f18322f8e77f8ba493799d77c0a0a (patch) | |
tree | d8b8fa3450ba94391d30ab61038ee97cfbabbc6d /platform/windows/mupdfwinrt/mudocument.h | |
parent | 1ed4656f99a09f38216d11275fe85bb75c0d635a (diff) | |
download | mupdf-4c9611cb3d9f18322f8e77f8ba493799d77c0a0a.tar.xz |
Remove gsview from mupdf repo.
It has its own repo now. See http://git.ghostscript.com/?p=gsview.git
Diffstat (limited to 'platform/windows/mupdfwinrt/mudocument.h')
-rw-r--r-- | platform/windows/mupdfwinrt/mudocument.h | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/platform/windows/mupdfwinrt/mudocument.h b/platform/windows/mupdfwinrt/mudocument.h deleted file mode 100644 index 9ab37ed7..00000000 --- a/platform/windows/mupdfwinrt/mudocument.h +++ /dev/null @@ -1,55 +0,0 @@ -#pragma once - -/* This file contains the interface between the muctx class, which - implements the mupdf calls and the WinRT objects enabling calling from - C#, C++, and JavaScript applications */ - -#include "muctx.h" -#include "Links.h" -#include "ppltasks.h" -#include "ContentItem.h" -#include <winnt.h> -#include <collection.h> - -using namespace Windows::Storage; -using namespace Platform; -using namespace Concurrency; -using namespace Platform::Collections; - -namespace mupdfwinrt -{ - public ref class mudocument sealed - { - private: - muctx mu_object; - std::mutex mutex_lock; - Platform::Collections::Vector<Links^>^ links; - Platform::Collections::Vector<Links^>^ textsearch; - Platform::Collections::Vector<ContentItem^>^ contents; - public: - mudocument(); - void CleanUp(); - Windows::Foundation::IAsyncOperation<int>^ OpenFileAsync(StorageFile^ file); - int GetNumPages(void); - Point GetPageSize(int page_num); - Windows::Foundation::IAsyncOperation<InMemoryRandomAccessStream^>^ - RenderPageAsync(int page_num, int width, int height, - bool use_dlist, float scale); - int RenderPageBitmapSync(int page_num, int bmp_width, int bmp_height, - float scale, bool use_dlist, bool flipy, bool tiling, Point top_left, - Point bottom_right, Array<unsigned char>^* bit_map); - Windows::Foundation::IAsyncOperationWithProgress<int, double>^ - SearchDocumentWithProgressAsync(String^ textToFind, int dir, - int start_page, int num_pages); - String^ ComputeHTML(int page_num); - int ComputeTextSearch(String^ text, int page_num); - Links^ GetTextSearch(unsigned int k); - int TextSearchCount(void); - unsigned int ComputeContents(void); - ContentItem^ GetContent(unsigned int k); - unsigned int ComputeLinks(int page_num); - Links^ GetLink(unsigned int k); - bool RequiresPassword(); - bool ApplyPassword(String^ password); - }; -} |