www.pudn.com > Proximity-sample.zip > Constants.cpp, change:2012-06-01,size:1085b


//********************************************************* 
// 
// Copyright (c) Microsoft. All rights reserved. 
// This code is licensed under the Microsoft Public License. 
// 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 "MainPage.xaml.h" 
#include "Constants.h" 
 
using namespace ProximityCPP; 
 
Platform::Array<Scenario>^ MainPage::scenariosInner = ref new Platform::Array<Scenario>   
{ 
    // The format here is the following: 
    //     { "Description for the sample", "Fully quaified name for the class that implements the scenario" } 
    { "Use PeerFinder to connect to peers", "ProximityCPP.PeerFinderScenario" },  
    { "Use ProximityDevice to publish and subscribe for messages", "ProximityCPP.ProximityDeviceScenario" }, 
    { "Display ProximityDevice events", "ProximityCPP.ProximityDeviceEvents" } 
};