Aurore
A Switch-like interface for your app, on every screen
Loading...
Searching...
No Matches
aurore::ImeManager Class Referenceabstract

#include <aurore/core/ime.hpp>

Inheritance diagram for aurore::ImeManager:
aurore::HeadlessImeManager

Public Member Functions

virtual ~ImeManager ()
 
virtual bool openForText (std::function< void(std::string)> f, std::string headerText="", std::string subText="", int maxStringLength=32, std::string initialText="", int kbdDisableBitmask=KeyboardKeyDisableBitmask::KEYBOARD_DISABLE_NONE)=0
 
virtual bool openForPassword (std::function< void(std::string)> f, std::string headerText="", std::string subText="", int maxStringLength=32, std::string initialText="", int kbdDisableBitmask=KeyboardKeyDisableBitmask::KEYBOARD_DISABLE_NONE)
 
virtual bool openForNumber (std::function< void(long)> f, std::string headerText="", std::string subText="", int maxStringLength=18, std::string initialText="", std::string leftButton="", std::string rightButton="", int kbdDisableBitmask=KeyboardKeyDisableBitmask::KEYBOARD_DISABLE_NONE)=0
 

Constructor & Destructor Documentation

◆ ~ImeManager()

virtual aurore::ImeManager::~ImeManager ( )
inlinevirtual

Member Function Documentation

◆ openForNumber()

virtual bool aurore::ImeManager::openForNumber ( std::function< void(long)>  f,
std::string  headerText = "",
std::string  subText = "",
int  maxStringLength = 18,
std::string  initialText = "",
std::string  leftButton = "",
std::string  rightButton = "",
int  kbdDisableBitmask = KeyboardKeyDisableBitmask::KEYBOARD_DISABLE_NONE 
)
pure virtual

Implemented in aurore::HeadlessImeManager.

◆ openForPassword()

virtual bool aurore::ImeManager::openForPassword ( std::function< void(std::string)>  f,
std::string  headerText = "",
std::string  subText = "",
int  maxStringLength = 32,
std::string  initialText = "",
int  kbdDisableBitmask = KeyboardKeyDisableBitmask::KEYBOARD_DISABLE_NONE 
)
inlinevirtual

The keyboard for a password or a PIN: what is typed is not shown (the Switch's password keyboard). Where the platform has no such keyboard, the text one.

◆ openForText()

virtual bool aurore::ImeManager::openForText ( std::function< void(std::string)>  f,
std::string  headerText = "",
std::string  subText = "",
int  maxStringLength = 32,
std::string  initialText = "",
int  kbdDisableBitmask = KeyboardKeyDisableBitmask::KEYBOARD_DISABLE_NONE 
)
pure virtual

Implemented in aurore::HeadlessImeManager.


The documentation for this class was generated from the following file: