mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-27 18:20:27 +00:00
Create ui_win32_application.c
This commit is contained in:
parent
3b16eb1e91
commit
3aeecc7eb2
@ -650,7 +650,8 @@ endif
|
||||
|
||||
ifneq ($(findstring Win32,$(OS)),)
|
||||
OBJ += ui/drivers/ui_win32.o \
|
||||
ui/drivers/win32/ui_win32_window.o
|
||||
ui/drivers/win32/ui_win32_window.o \
|
||||
ui/drivers/win32/ui_win32_application.o
|
||||
endif
|
||||
|
||||
# Video
|
||||
|
@ -732,6 +732,7 @@ UI
|
||||
#if defined(_WIN32) && !defined(_XBOX)
|
||||
#include "../ui/drivers/ui_win32.c"
|
||||
#include "../ui/drivers/win32/ui_win32_window.c"
|
||||
#include "../ui/drivers/win32/ui_win32_application.c"
|
||||
#endif
|
||||
|
||||
/*============================================================
|
||||
|
@ -730,6 +730,6 @@ const ui_companion_driver_t ui_companion_win32 = {
|
||||
NULL,
|
||||
NULL,
|
||||
&ui_window_win32,
|
||||
&ui_application_null,
|
||||
&ui_application_win32,
|
||||
"win32",
|
||||
};
|
||||
|
31
ui/drivers/win32/ui_win32_application.c
Normal file
31
ui/drivers/win32/ui_win32_application.c
Normal file
@ -0,0 +1,31 @@
|
||||
/* RetroArch - A frontend for libretro.
|
||||
* Copyright (C) 2011-2016 - Daniel De Matteis
|
||||
*
|
||||
* RetroArch is free software: you can redistribute it and/or modify it under the terms
|
||||
* of the GNU General Public License as published by the Free Software Found-
|
||||
* ation, either version 3 of the License, or (at your option) any later version.
|
||||
*
|
||||
* RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
|
||||
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
* PURPOSE. See the GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License along with RetroArch.
|
||||
* If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <stdint.h>
|
||||
#include <boolean.h>
|
||||
#include <stddef.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "../../ui_companion_driver.h"
|
||||
|
||||
static void ui_application_win32_process_events(void *data)
|
||||
{
|
||||
}
|
||||
|
||||
const ui_application_t ui_application_win32 = {
|
||||
ui_application_win32_process_events,
|
||||
"win32"
|
||||
};
|
@ -70,6 +70,7 @@ extern const ui_window_t ui_window_cocoa;
|
||||
extern const ui_window_t ui_window_win32;
|
||||
|
||||
extern const ui_application_t ui_application_null;
|
||||
extern const ui_application_t ui_application_win32;
|
||||
extern const ui_application_t ui_application_cocoa;
|
||||
|
||||
extern const ui_companion_driver_t ui_companion_null;
|
||||
|
Loading…
Reference in New Issue
Block a user