mirror of
https://github.com/libretro/RetroArch
synced 2025-04-09 21:45:45 +00:00
Get rid of these two pointer functions
This commit is contained in:
parent
691c884434
commit
69fb32cd68
15
retroarch.c
15
retroarch.c
@ -4593,21 +4593,6 @@ const ui_browser_window_t *ui_companion_driver_get_browser_window_ptr(void)
|
|||||||
return ui->browser_window;
|
return ui->browser_window;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef HAVE_QT
|
|
||||||
const ui_application_t *ui_companion_driver_get_qt_application_ptr(void)
|
|
||||||
{
|
|
||||||
return ui_companion_qt.application;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
const ui_application_t *ui_companion_driver_get_application_ptr(void)
|
|
||||||
{
|
|
||||||
const ui_companion_driver_t *ui = ui_companion;
|
|
||||||
if (!ui)
|
|
||||||
return NULL;
|
|
||||||
return ui->application;
|
|
||||||
}
|
|
||||||
|
|
||||||
static void ui_companion_driver_msg_queue_push(
|
static void ui_companion_driver_msg_queue_push(
|
||||||
const char *msg, unsigned priority, unsigned duration, bool flush)
|
const char *msg, unsigned priority, unsigned duration, bool flush)
|
||||||
{
|
{
|
||||||
|
@ -417,7 +417,7 @@ static char** waiting_argv;
|
|||||||
#ifdef HAVE_QT
|
#ifdef HAVE_QT
|
||||||
const ui_application_t *application = &ui_application_qt;
|
const ui_application_t *application = &ui_application_qt;
|
||||||
#else
|
#else
|
||||||
const ui_application_t *application = ui_companion_driver_get_application_ptr();
|
const ui_application_t *application = &ui_application_cocoa;
|
||||||
#endif
|
#endif
|
||||||
if (application)
|
if (application)
|
||||||
application->process_events();
|
application->process_events();
|
||||||
|
@ -218,12 +218,6 @@ const ui_browser_window_t *ui_companion_driver_get_browser_window_ptr(void);
|
|||||||
|
|
||||||
const ui_window_t *ui_companion_driver_get_window_ptr(void);
|
const ui_window_t *ui_companion_driver_get_window_ptr(void);
|
||||||
|
|
||||||
const ui_application_t *ui_companion_driver_get_application_ptr(void);
|
|
||||||
|
|
||||||
#ifdef HAVE_QT
|
|
||||||
const ui_application_t *ui_companion_driver_get_qt_application_ptr(void);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
void ui_companion_driver_log_msg(const char *msg);
|
void ui_companion_driver_log_msg(const char *msg);
|
||||||
|
|
||||||
void *ui_companion_driver_get_main_window(void);
|
void *ui_companion_driver_get_main_window(void);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user