Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
Emscripten
EmscriptenStubUI.h
1
// Copyright (c) 2014 eeGeo. All rights reserved.
2
3
#pragma once
4
5
#include "IAlertBoxFactory.h"
6
#include "IInputBoxFactory.h"
7
#include "IKeyboardInputFactory.h"
8
#include "IKeyboardInputDismissedHandler.h"
9
#include "NativeUIFactories.h"
10
11
namespace
Eegeo
12
{
13
namespace
Emscripten
14
{
15
class
EmscriptenAlertBoxFactory
:
public
UI::NativeAlerts::IAlertBoxFactory
16
{
17
UI::NativeAlerts::ISingleOptionAlertBox
* CreateSingleOptionAlertBox(
const
std::string& title,
18
const
std::string& message,
19
UI::NativeAlerts::ISingleOptionAlertBoxDismissedHandler
& handler)
20
{
21
return
NULL;
22
}
23
};
24
25
class
EmscriptenInputBoxFactory
:
public
UI::NativeInput::IInputBoxFactory
26
{
27
UI::NativeInput::IInputBox
* CreateInputBox(
const
std::string& title,
28
const
std::string& message,
29
const
std::string& button,
30
const
std::string& initialContent,
31
bool
initialContentIsPlaceholder,
32
UI::NativeInput::IInputBoxDismissedHandler
& handler)
33
{
34
return
NULL;
35
}
36
};
37
38
class
EmscriptenKeyboardInputFactory
:
public
UI::NativeInput::IKeyboardInputFactory
39
{
40
UI::NativeInput::IKeyboardInput
* CreateKeyboardInput(
UI::NativeInput::IKeyboardInputDismissedHandler
& dismissedHandler,
41
UI::NativeInput::IKeyboardInputKeyPressedHandler
& keyPressedHandler,
42
UI::NativeInput::KeyboardType keyboardType = UI::NativeInput::KeyboardTypeDefault,
43
UI::NativeInput::ReturnKeyType returnKeyType = UI::NativeInput::ReturnKeyDone)
44
{
45
return
NULL;
46
}
47
48
};
49
}
50
}
Generated on Sat Jun 10 2023 02:00:30 for eeGeo Platform SDK by
1.8.3.1