summaryrefslogtreecommitdiff
path: root/winrt/winapp/MainPage.xaml.h
diff options
context:
space:
mode:
Diffstat (limited to 'winrt/winapp/MainPage.xaml.h')
-rw-r--r--winrt/winapp/MainPage.xaml.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/winrt/winapp/MainPage.xaml.h b/winrt/winapp/MainPage.xaml.h
index 3b1b1530..47e1bfab 100644
--- a/winrt/winapp/MainPage.xaml.h
+++ b/winrt/winapp/MainPage.xaml.h
@@ -30,6 +30,15 @@ using namespace Windows::UI::Xaml::Shapes;
using namespace Windows::Foundation::Collections;
using namespace Platform::Collections;
using namespace ListViewContents;
+using namespace Windows::UI::ViewManagement;
+using namespace Windows::UI::Popups;
+using namespace Windows::UI::Xaml::Navigation;
+
+typedef enum
+{
+ StatusMessage,
+ ErrorMessage
+} NotifyType_t;
typedef enum {
REN_AVAILABLE = 0,
@@ -126,6 +135,7 @@ namespace winapp
cancellation_token_source m_ThumbCancel;
fz_link *m_links;
content_t m_content;
+ TextBlock^ m_StatusBlock;
bool m_zoom_mode;
bool m_from_doubleflip;
bool m_scaling_occured;
@@ -193,5 +203,11 @@ namespace winapp
void RichGridManipulationDelta(Platform::Object^ sender, Windows::UI::Xaml::Input::ManipulationDeltaRoutedEventArgs^ e);
void RichGridManipulationStarted(Platform::Object^ sender, Windows::UI::Xaml::Input::ManipulationStartedRoutedEventArgs^ e);
void RichGridManipulationCompleted(Platform::Object^ sender, Windows::UI::Xaml::Input::ManipulationCompletedRoutedEventArgs^ e);
+ void topAppBar_Loaded(Platform::Object^ sender, Windows::UI::Xaml::RoutedEventArgs^ e);
+ void UpdateAppBarButtonViewState();
+ bool EnsureUnsnapped();
+ void NotifyUser(String^ strMessage, NotifyType_t type);
+ void ExitInvokedHandler(Windows::UI::Popups::IUICommand^ command);
+ void OKInvokedHandler(Windows::UI::Popups::IUICommand^ command);
};
}