Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
UI
NativeAlerts
Android
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
{
18
class
AndroidSingleOptionAlertBox
:
public
ISingleOptionAlertBox
19
{
20
AndroidNativeState
* m_pState;
21
ISingleOptionAlertBoxDismissedHandler
& m_handler;
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
:
30
AndroidSingleOptionAlertBox
(
31
AndroidNativeState
* pState,
32
const
std::string& title,
33
const
std::string& message,
34
ISingleOptionAlertBoxDismissedHandler
& handler);
35
36
virtual
~
AndroidSingleOptionAlertBox
();
37
38
void
DismissFromJavaCallback();
39
40
virtual
void
Close();
41
};
42
}
43
}
44
}
45
}
46
Generated on Sat Jun 10 2023 02:00:34 for eeGeo Platform SDK by
1.8.3.1