faab6d825f
- Update ILI9341 driver to v2.0.1 - Lots of code cleanup for apps - Refactor app "type" into "category" and added flags to the manifest (for show/hide statusbar and for hidden apps) - Rename some ElfApp-related functionality and improved the way the static data was managed - Rename "filebrowser" to "files" - Added cstring functions to tt_init.cpp - Minor fix in Boot app - Updated external apps for SDK changes
21 lines
419 B
C++
21 lines
419 B
C++
#pragma once
|
|
|
|
#include <Tactility/Bundle.h>
|
|
|
|
#include <string>
|
|
|
|
/**
|
|
* Start the app by its ID and provide:
|
|
* - a title
|
|
* - a text
|
|
*/
|
|
namespace tt::app::inputdialog {
|
|
|
|
void start(const std::string& title, const std::string& message, const std::string& prefilled = "");
|
|
|
|
/**
|
|
* @return the text that was in the field when OK was pressed, or otherwise empty string
|
|
*/
|
|
std::string getResult(const Bundle& bundle);
|
|
}
|