summaryrefslogtreecommitdiff
path: root/winrt/winapp/App.xaml.h
blob: 760d4eb9e90959d8a46b144459df09fd23f74e25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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);
	};
}