1 //********************************************************* 2 // 3 // Copyright (c) Microsoft. All rights reserved. 4 // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 5 // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY 6 // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR 7 // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. 8 // 9 //********************************************************* 10 11 // 12 // App.xaml.h 13 // Declaration of the App.xaml class. 14 // 15 16 #pragma once 17 18 #include "pch.h" 19 #include "App.g.h" 20 #include "MainPage.g.h" 21 22 namespace SDKSample 23 { 24 ref class App 25 { 26 internal: 27 App(); 28 virtual void OnSuspending(Platform::Object^ sender, Windows::ApplicationModel::SuspendingEventArgs^ pArgs); 29 Windows::ApplicationModel::Activation::LaunchActivatedEventArgs^ LaunchArgs; 30 protected: 31 virtual void OnLaunched(Windows::ApplicationModel::Activation::LaunchActivatedEventArgs^ pArgs) override; 32 private: 33 Windows::UI::Xaml::Controls::Frame^ rootFrame; 34 }; 35 } 36