All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
WindowsInputBox.h
1 // Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2 
3 #pragma once
4 
5 #include <string>
6 #include "WindowsNativeState.h"
7 #include "InputBox.h"
8 #include "IInputBox.h"
9 
10 namespace Eegeo
11 {
12  namespace UI
13  {
14  namespace NativeInput
15  {
16  namespace Windows
17  {
18  class WindowsInputBox : public IInputBox
19  {
20  WindowsNativeState* m_pState;
21  IInputBoxDismissedHandler& m_handler;
22  bool m_closed;
23  bool m_nativesRequireUnregistering;
24 
25  public:
27  WindowsNativeState* pState,
28  const std::string& title,
29  const std::string& message,
30  const std::string& button,
31  const std::string& initialContent,
32  bool initialContentIsPlaceholder,
33  IInputBoxDismissedHandler& handler);
34 
35  virtual ~WindowsInputBox();
36 
37  virtual void Close();
38  };
39  }
40  }
41  }
42 }
43