1#include "../sdl_dialogs.hpp"
2#include "../sdl_select_list.hpp"
4#include <freerdp/api.h>
7typedef int (*fkt_t)(void);
9BOOL sdl_log_error_ex(Sint32 res, wLog* log,
const char* what,
const char* file,
size_t line,
14 WLog_Print(log, WLOG_ERROR,
"[%s:%" PRIuz
"][%s]: %s", fkt, line, what,
"xxx");
18static int select_dialogs(
void)
20 const std::vector<std::string> labels{
"foo",
"bar",
"gaga",
"blabla" };
25static int runTest(fkt_t fkt)
29 SDL_Init(SDL_INIT_VIDEO);
44int main(
int argc,
char* argv[])
51 rc = runTest(select_dialogs);