summaryrefslogtreecommitdiffstats
path: root/Tests/VSXaml/App.xaml.h
blob: d3711d065d68f008a44cbab5bfe2cc1f23ee9e0c (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
26
27
28
29
30
31
//
// App.xaml.h
// Declaration of the App class.
//

#pragma once

#include "App.g.h"

namespace VSXaml {
/// <summary>
/// Provides application-specific behavior to supplement the default
/// Application class.
/// </summary>
ref class App sealed
{
protected:
  virtual void OnLaunched(
    Windows::ApplicationModel::Activation::LaunchActivatedEventArgs ^
    e) override;

  internal : App();

private:
  void OnSuspending(Platform::Object ^ sender,
                    Windows::ApplicationModel::SuspendingEventArgs ^ e);
  void OnNavigationFailed(
    Platform::Object ^ sender,
    Windows::UI::Xaml::Navigation::NavigationFailedEventArgs ^ e);
};
}