Luanti 5.10.0-dev
 
Loading...
Searching...
No Matches
porting_android.h File Reference
#include "irrlichttypes_bloated.h"
#include <string>
+ Include dependency graph for porting_android.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  porting
 

Enumerations

enum  porting::AndroidDialogType { porting::TEXT_INPUT , porting::SELECTION_INPUT }
 
enum  porting::AndroidDialogState { porting::DIALOG_SHOWN , porting::DIALOG_INPUTTED , porting::DIALOG_CANCELED }
 

Functions

void porting::showTextInputDialog (const std::string &hint, const std::string &current, int editType)
 Show a text input dialog in Java.
 
void porting::showComboBoxDialog (const std::string *optionList, s32 listSize, s32 selectedIdx)
 Show a selection dialog in Java.
 
void porting::shareFileAndroid (const std::string &path)
 Opens a share intent to the file at path.
 
AndroidDialogType porting::getLastInputDialogType ()
 
AndroidDialogState porting::getInputDialogState ()
 
std::string porting::getInputDialogMessage ()
 
int porting::getInputDialogSelection ()
 
bool porting::hasPhysicalKeyboardAndroid ()
 
float porting::getDisplayDensity ()
 
v2u32 porting::getDisplaySize ()