diff --git a/src/platform/linux.c b/src/platform/linux.c index b4d3304329..8070466dfa 100644 --- a/src/platform/linux.c +++ b/src/platform/linux.c @@ -112,4 +112,26 @@ void platform_posix_sub_user_data_path(char *buffer, const char *homedir, const strncat(buffer, separator, MAX_PATH - strnlen(buffer, MAX_PATH) - 1); } +utf8 *platform_open_directory_browser(utf8 *title) +{ + STUB(); + return NULL; +} + +void platform_show_messagebox(char *message) +{ + STUB(); + log_verbose(message); +} + +/** + * + * rct2: 0x004080EA + */ +int platform_open_common_file_dialog(int type, utf8 *title, utf8 *filename, utf8 *filterPattern, utf8 *filterName) +{ + STUB(); + return 0; +} + #endif diff --git a/src/platform/posix.c b/src/platform/posix.c index 18eeef0851..c1271e529b 100644 --- a/src/platform/posix.c +++ b/src/platform/posix.c @@ -588,28 +588,6 @@ void platform_get_user_directory(utf8 *outPath, const utf8 *subDirectory) log_verbose("outPath + subDirectory = '%s'", buffer); } -void platform_show_messagebox(char *message) -{ - STUB(); - log_verbose(message); -} - -/** - * - * rct2: 0x004080EA - */ -int platform_open_common_file_dialog(int type, utf8 *title, utf8 *filename, utf8 *filterPattern, utf8 *filterName) -{ - STUB(); - return 0; -} - -utf8 *platform_open_directory_browser(utf8 *title) -{ - STUB(); - return NULL; -} - uint16 platform_get_locale_language(){ const char *langString = setlocale(LC_MESSAGES, ""); if(langString != NULL){