diff options
Diffstat (limited to 'cpp/demo/Glacier2/winrt/chat/ChatView.xaml.h')
-rw-r--r-- | cpp/demo/Glacier2/winrt/chat/ChatView.xaml.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/cpp/demo/Glacier2/winrt/chat/ChatView.xaml.h b/cpp/demo/Glacier2/winrt/chat/ChatView.xaml.h new file mode 100644 index 00000000000..15de1de2aea --- /dev/null +++ b/cpp/demo/Glacier2/winrt/chat/ChatView.xaml.h @@ -0,0 +1,33 @@ +//
+// ChatView.xaml.h
+// Declaration of the ChatView class
+//
+
+#pragma once
+
+#include "ChatView.g.h"
+
+namespace chat
+{
+ /// <summary>
+ /// An empty page that can be used on its own or navigated to within a Frame.
+ /// </summary>
+ public ref class ChatView sealed
+ {
+ public:
+
+ ChatView();
+
+ void setError(Platform::String^ err);
+
+ void appendMessage(Platform::String^ message);
+
+ protected:
+
+ virtual void OnNavigatedTo(Windows::UI::Xaml::Navigation::NavigationEventArgs^ e) override;
+
+ private:
+
+ void inputKeyDown(Platform::Object^ sender, Windows::UI::Xaml::Input::KeyRoutedEventArgs^ e);
+ };
+}
|