diff options
author | Jose <jose@zeroc.com> | 2016-12-22 00:52:23 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2016-12-22 00:52:23 +0100 |
commit | ea1fecad5fa51ddb3c1604504cf69a9afc1a8a80 (patch) | |
tree | 68ed539541a921921f561b61f3532fad4692d8c1 /cpp/test/uwp/controller/ViewController.xaml.h | |
parent | A few more version fixes (diff) | |
download | ice-ea1fecad5fa51ddb3c1604504cf69a9afc1a8a80.tar.bz2 ice-ea1fecad5fa51ddb3c1604504cf69a9afc1a8a80.tar.xz ice-ea1fecad5fa51ddb3c1604504cf69a9afc1a8a80.zip |
UWP test controller and related fixes
Diffstat (limited to 'cpp/test/uwp/controller/ViewController.xaml.h')
-rw-r--r-- | cpp/test/uwp/controller/ViewController.xaml.h | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/cpp/test/uwp/controller/ViewController.xaml.h b/cpp/test/uwp/controller/ViewController.xaml.h new file mode 100644 index 00000000000..d93f2b27ee4 --- /dev/null +++ b/cpp/test/uwp/controller/ViewController.xaml.h @@ -0,0 +1,52 @@ +// ********************************************************************** +// +// Copyright (c) 2003-2016 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 <ViewController.g.h> +#include <collection.h> +#include <map> +#include <string> +#include <memory> + +namespace +{ +class MainHelperI; +class ProcessControllerI; +class ControllerHelper; +} + +namespace Controller +{ + +[Windows::Foundation::Metadata::WebHostHidden] +public ref class ViewController sealed +{ +public: + + ViewController(); + virtual ~ViewController(); + + +protected: + + virtual void OnNavigatedTo(Windows::UI::Xaml::Navigation::NavigationEventArgs^ e) override; +private: + + friend class MainHelperI; + friend class ProcessControllerI; + friend class ControllerHelper; + HINSTANCE loadDll(const std::string&); + void println(const std::string&); + void Hostname_SelectionChanged(Platform::Object^ sender, Windows::UI::Xaml::Controls::SelectionChangedEventArgs^ e); + + std::map<std::string, HINSTANCE> _dlls; +}; + +}
\ No newline at end of file |