mirror of
https://github.com/libretro/RetroArch
synced 2025-02-07 03:40:24 +00:00
(Cocoa) Buildfix
This commit is contained in:
parent
98014f7b66
commit
7a564720fb
@ -35,6 +35,7 @@
|
||||
#import <AVFoundation/AVCaptureOutput.h>
|
||||
#endif
|
||||
|
||||
|
||||
/*********************************************/
|
||||
/* RAMenuBase */
|
||||
/* A menu class that displays RAMenuItemBase */
|
||||
@ -88,6 +89,8 @@ void get_ios_version(int *major, int *minor);
|
||||
#elif defined(HAVE_COCOA)
|
||||
#include <AppKit/AppKit.h>
|
||||
|
||||
#include "ui_cocoa_window.h"
|
||||
|
||||
@interface CocoaView : NSView
|
||||
#ifdef HAVE_CORELOCATION
|
||||
<CLLocationManagerDelegate>
|
||||
|
46
ui/drivers/cocoa/ui_cocoa_window.h
Normal file
46
ui/drivers/cocoa/ui_cocoa_window.h
Normal file
@ -0,0 +1,46 @@
|
||||
/* RetroArch - A frontend for libretro.
|
||||
* Copyright (C) 2010-2014 - Hans-Kristian Arntzen
|
||||
* 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/>.
|
||||
*/
|
||||
|
||||
#ifndef _COCOA_WINDOW_UI
|
||||
#define _COCOA_WINDOW_UI
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
|
||||
#include <boolean.h>
|
||||
#include <retro_common_api.h>
|
||||
|
||||
#include "../../ui_companion_driver.h"
|
||||
|
||||
RETRO_BEGIN_DECLS
|
||||
|
||||
typedef struct ui_window_cocoa
|
||||
{
|
||||
void *empty;
|
||||
} ui_window_cocoa_t;
|
||||
|
||||
void ui_window_cocoa_set_visible(void *data,
|
||||
bool set_visible);
|
||||
|
||||
void ui_window_cocoa_set_focused(void *data);
|
||||
|
||||
void ui_window_cocoa_destroy(void *data);
|
||||
|
||||
void ui_window_cocoa_set_title(void *data, char *buf);
|
||||
|
||||
RETRO_END_DECLS
|
||||
|
||||
#endif
|
@ -19,6 +19,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "cocoa_common.h"
|
||||
#include "../../ui_companion_driver.h"
|
||||
|
||||
void ui_window_cocoa_destroy(void *data)
|
||||
@ -29,12 +30,12 @@ void ui_window_cocoa_set_focused(void *data)
|
||||
{
|
||||
}
|
||||
|
||||
static void ui_window_cocoa_set_visible(void *data,
|
||||
void ui_window_cocoa_set_visible(void *data,
|
||||
bool set_visible)
|
||||
{
|
||||
}
|
||||
|
||||
static void ui_window_cocoa_set_title(void *data, char *buf)
|
||||
void ui_window_cocoa_set_title(void *data, char *buf)
|
||||
{
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user