summaryrefslogtreecommitdiff
path: root/cpp/test/WinRT/TestSuite/MainPage.xaml.h
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2012-07-13 00:18:06 +0200
committerJose <jose@zeroc.com>2012-07-13 00:18:06 +0200
commit70802b63320582f0afa8229659ea9fe4a21d02ec (patch)
treeeb455947cc774cc558f96b8d7c78373d2a6f1c2b /cpp/test/WinRT/TestSuite/MainPage.xaml.h
parentICE-4839 - Glacier2 sessionHelper IceSSL plug-in (diff)
downloadice-70802b63320582f0afa8229659ea9fe4a21d02ec.tar.bz2
ice-70802b63320582f0afa8229659ea9fe4a21d02ec.tar.xz
ice-70802b63320582f0afa8229659ea9fe4a21d02ec.zip
WinRT support
Diffstat (limited to 'cpp/test/WinRT/TestSuite/MainPage.xaml.h')
-rw-r--r--cpp/test/WinRT/TestSuite/MainPage.xaml.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/cpp/test/WinRT/TestSuite/MainPage.xaml.h b/cpp/test/WinRT/TestSuite/MainPage.xaml.h
new file mode 100644
index 00000000000..f9fbaf596a5
--- /dev/null
+++ b/cpp/test/WinRT/TestSuite/MainPage.xaml.h
@@ -0,0 +1,40 @@
+// **********************************************************************
+//
+// Copyright (c) 2003-2012 ZeroC, Inc. All rights reserved.
+//
+// This copy of Ice is licensed to you under the terms described in the
+// ICE_LICENSE file included in this distribution.
+//
+// **********************************************************************
+
+#pragma once
+
+#include "MainPage.g.h"
+#include <collection.h>
+
+namespace TestSuite
+{
+/// <summary>
+/// An empty page that can be used on its own or navigated to within a Frame.
+/// </summary>
+public ref class MainPage sealed
+{
+public:
+
+ MainPage();
+
+ void completed();
+ void failed(Platform::String^);
+
+protected:
+
+ virtual void OnNavigatedTo(Windows::UI::Xaml::Navigation::NavigationEventArgs^ e) override;
+
+private:
+
+ void btnRun_Click(Platform::Object^ sender, Windows::UI::Xaml::RoutedEventArgs^ e);
+ void runSelectedTest();
+ Platform::Collections::Vector<Platform::String^>^ _names;
+};
+
+}