-
Notifications
You must be signed in to change notification settings - Fork 7.9k
/
Copy pathSampleConfiguration.cpp
31 lines (27 loc) · 1.13 KB
/
SampleConfiguration.cpp
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
//*********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the MIT License (MIT).
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
// IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
// PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
//
//*********************************************************
#include "pch.h"
#include <winrt/SDKTemplate.h>
#include "MainPage.h"
#include "SampleConfiguration.h"
using namespace winrt;
using namespace Windows::Foundation::Collections;
using namespace SDKTemplate;
hstring implementation::MainPage::FEATURE_NAME()
{
return L"LockScreenApps C++/WinRT Sample";
}
IVector<Scenario> implementation::MainPage::scenariosInner = winrt::single_threaded_observable_vector<Scenario>(
{
Scenario{ L"Add app to lock screen", xaml_typename<SDKTemplate::Scenario1_Configure>() },
Scenario{ L"Badge and tile notifications", xaml_typename<SDKTemplate::Scenario2_Notifications>() },
Scenario{ L"Secondary tiles", xaml_typename<SDKTemplate::Scenario3_SecondaryTiles>() },
});