summaryrefslogtreecommitdiff
path: root/winrt/winapp/App.xaml.h
diff options
context:
space:
mode:
Diffstat (limited to 'winrt/winapp/App.xaml.h')
-rw-r--r--winrt/winapp/App.xaml.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/winrt/winapp/App.xaml.h b/winrt/winapp/App.xaml.h
new file mode 100644
index 00000000..760d4eb9
--- /dev/null
+++ b/winrt/winapp/App.xaml.h
@@ -0,0 +1,25 @@
+//
+// App.xaml.h
+// Declaration of the App class.
+//
+
+#pragma once
+
+#include "App.g.h"
+
+
+namespace winapp
+{
+ /// <summary>
+ /// Provides application-specific behavior to supplement the default Application class.
+ /// </summary>
+ ref class App sealed
+ {
+ public:
+ App();
+ virtual void OnLaunched(Windows::ApplicationModel::Activation::LaunchActivatedEventArgs^ args) override;
+
+ private:
+ void OnSuspending(Platform::Object^ sender, Windows::ApplicationModel::SuspendingEventArgs^ e);
+ };
+}