mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-08-17 23:55:04 +00:00
15 lines
416 B
C++
15 lines
416 B
C++
#include "tt_app_selectiondialog.h"
|
|
#include <Tactility/app/selectiondialog/SelectionDialog.h>
|
|
|
|
extern "C" {
|
|
|
|
AppInstanceId tt_app_selectiondialog_start(AppInstanceId parent_id, const char* title, int argc, const char* argv[]) {
|
|
std::vector<std::string> list;
|
|
for (int i = 0; i < argc; i++) {
|
|
list.emplace_back(argv[i]);
|
|
}
|
|
return tt::app::selectiondialog::start(parent_id, title, list);
|
|
}
|
|
|
|
}
|