All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
AndroidSingleOptionAlertBox.h
1 // Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2 
3 #pragma once
4 
5 #include <string>
6 #include "AndroidNativeState.h"
7 #include "AlertBox.h"
8 #include "ISingleOptionAlertBox.h"
9 
10 namespace Eegeo
11 {
12  namespace UI
13  {
14  namespace NativeAlerts
15  {
16  namespace Android
17  {
19  {
20  AndroidNativeState* m_pState;
22  bool m_closed;
23  bool m_nativesRequireUnregistering;
24 
25  //sjm - we could store a jobject here if there is more than one inputbox, and implement via instance rather than
26  //static methods - would be easy, change should be made here if need to do that arises
27  jclass m_msgBoxClass;
28 
29  public:
31  AndroidNativeState* pState,
32  const std::string& title,
33  const std::string& message,
35 
36  virtual ~AndroidSingleOptionAlertBox();
37 
38  void DismissFromJavaCallback();
39 
40  virtual void Close();
41  };
42  }
43  }
44  }
45 }
46