mirror of
https://github.com/reactos/CMake.git
synced 2024-11-25 04:29:52 +00:00
01a9ab0def
XAML files are by default of type Page in the vcxproj and can be overriden by setting the VS_XAML_TYPE property. The .cpp and .h file of the same name are automatically added as depending on the XAML file. New VSXaml test builds a basic XAML WindowsStore 8.1 app with VS2013.
28 lines
672 B
C++
28 lines
672 B
C++
//
|
|
// 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);
|
|
};
|
|
}
|