diff options
author | Michael Vrhel <michael.vrhel@artifex.com> | 2013-05-07 23:09:29 -0700 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2013-05-16 19:25:50 +0100 |
commit | 085eae5dfc8086694f0ae703a843e8d92db38abe (patch) | |
tree | 7fdd7c835e01e7ccde3fefd99daf337f7b626705 /winrt/mupdfwinrt/muctx.h | |
parent | e26c2d8a535f163348c4e50ccffd4125082df393 (diff) | |
download | mupdf-085eae5dfc8086694f0ae703a843e8d92db38abe.tar.xz |
Rework of background task set up for rendering the thumbnails of the pages in the background.
these are stored and swapped in and out of the page collection that is viewed as the user goes through
the flip view. had some issues with respect to getting the background tasks shut down and mupdf
cleaned up when someone opens a new file. that is now all resolved. This all simplified the code
significantly.
Diffstat (limited to 'winrt/mupdfwinrt/muctx.h')
-rw-r--r-- | winrt/mupdfwinrt/muctx.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/winrt/mupdfwinrt/muctx.h b/winrt/mupdfwinrt/muctx.h index 112d6cb5..c738593f 100644 --- a/winrt/mupdfwinrt/muctx.h +++ b/winrt/mupdfwinrt/muctx.h @@ -84,6 +84,7 @@ private: public: muctx(void); ~muctx(void); + void CleanUp(void); HRESULT InitializeStream(IRandomAccessStream^ readStream, char *ext); int GetPageCount(); HRESULT InitializeContext(); |