1 //
2 // App.xaml.h
3 // Declaration of the App class.
4 //
5 
6 #pragma once
7 
8 #include "App.g.h"
9 
10 namespace uwp
11 {
12   /// <summary>
13   /// Provides application-specific behavior to supplement the default Application class.
14   /// </summary>
15   ref class App sealed
16   {
17   protected:
18     virtual void OnLaunched(Windows::ApplicationModel::Activation::LaunchActivatedEventArgs^ theEvent) override;
19 
20   internal:
21     App();
22 
23   private:
24     void OnSuspending(Platform::Object^ theSender, Windows::ApplicationModel::SuspendingEventArgs^ theEvent);
25     void OnNavigationFailed(Platform::Object ^theSender, Windows::UI::Xaml::Navigation::NavigationFailedEventArgs ^theEvent);
26   };
27 }
28