RetroArch
Classes | Macros | Typedefs | Functions | Variables
ui_cocoa.m File Reference
#include <objc/objc-runtime.h>
#include <stdint.h>
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
#include <boolean.h>
#include <file/file_path.h>
#include <string/stdstring.h>
#include <queues/task_queue.h>
#include <retro_timers.h>
#include "cocoa/cocoa_common.h"
#include "../ui_companion_driver.h"
#include "../../input/drivers/cocoa_input.h"
#include "../../input/drivers_keyboard/keyboard_event_apple.h"
#include "../../frontend/frontend.h"
#include "../../configuration.h"
#include "../../paths.h"
#include "../../core.h"
#include "../../retroarch.h"
#include "../../tasks/tasks_internal.h"
#include ".././verbosity.h"
Include dependency graph for ui_cocoa.m:

Classes

class  RetroArch_OSX
 
class  RApplication
 
struct  ui_companion_cocoa
 

Macros

#define NS_WINDOW_COLLECTION_BEHAVIOR_FULLSCREEN_PRIMARY   (1 << 17)
 

Typedefs

typedef struct ui_companion_cocoa ui_companion_cocoa_t
 

Functions

static void app_terminate (void)
 
int main (int argc, char *argv[])
 
static void ui_companion_cocoa_notify_content_loaded (void *data)
 
static void ui_companion_cocoa_toggle (void *data, bool force)
 
static int ui_companion_cocoa_iterate (void *data, unsigned action)
 
static void ui_companion_cocoa_deinit (void *data)
 
static voidui_companion_cocoa_init (void)
 
static void ui_companion_cocoa_event_command (void *data, enum event_command cmd)
 
static void ui_companion_cocoa_notify_list_pushed (void *data, file_list_t *list, file_list_t *menu_list)
 
static voidui_companion_cocoa_get_main_window (void *data)
 

Variables

id apple_platform
 
static int waiting_argc
 
static char ** waiting_argv
 
ui_companion_driver_t ui_companion_cocoa
 

Macro Definition Documentation

◆ NS_WINDOW_COLLECTION_BEHAVIOR_FULLSCREEN_PRIMARY

#define NS_WINDOW_COLLECTION_BEHAVIOR_FULLSCREEN_PRIMARY   (1 << 17)

Typedef Documentation

◆ ui_companion_cocoa_t

Function Documentation

◆ app_terminate()

static void app_terminate ( void  )
static

◆ main()

int main ( int  argc,
char *  argv[] 
)
Here is the call graph for this function:

◆ ui_companion_cocoa_deinit()

static void ui_companion_cocoa_deinit ( void data)
static

◆ ui_companion_cocoa_event_command()

static void ui_companion_cocoa_event_command ( void data,
enum event_command  cmd 
)
static

◆ ui_companion_cocoa_get_main_window()

static void* ui_companion_cocoa_get_main_window ( void data)
static

◆ ui_companion_cocoa_init()

static void* ui_companion_cocoa_init ( void  )
static

◆ ui_companion_cocoa_iterate()

static int ui_companion_cocoa_iterate ( void data,
unsigned  action 
)
static

◆ ui_companion_cocoa_notify_content_loaded()

static void ui_companion_cocoa_notify_content_loaded ( void data)
static

◆ ui_companion_cocoa_notify_list_pushed()

static void ui_companion_cocoa_notify_list_pushed ( void data,
file_list_t list,
file_list_t menu_list 
)
static
Here is the call graph for this function:

◆ ui_companion_cocoa_toggle()

static void ui_companion_cocoa_toggle ( void data,
bool  force 
)
static

Variable Documentation

◆ apple_platform

id apple_platform

◆ ui_companion_cocoa

Initial value:
= {
NULL,
NULL,
NULL,
NULL,
"cocoa",
}
ui_browser_window_t ui_browser_window_cocoa
Definition: ui_cocoa_browser_window.m:63
static int ui_companion_cocoa_iterate(void *data, unsigned action)
Definition: ui_cocoa.m:537
ui_application_t ui_application_cocoa
Definition: ui_cocoa_application.m:57
static void ui_companion_cocoa_deinit(void *data)
Definition: ui_cocoa.m:544
static void ui_companion_cocoa_notify_list_pushed(void *data, file_list_t *list, file_list_t *menu_list)
Definition: ui_cocoa.m:570
#define NULL
Pointer to 0.
Definition: gctypes.h:65
static void * ui_companion_cocoa_get_main_window(void *data)
Definition: ui_cocoa.m:578
static void ui_companion_cocoa_toggle(void *data, bool force)
Definition: ui_cocoa.m:531
static void * ui_companion_cocoa_init(void)
Definition: ui_cocoa.m:554
ui_window_t ui_window_cocoa
Definition: ui_cocoa_window.m:90
ui_msg_window_t ui_msg_window_cocoa
Definition: ui_cocoa_msg_window.m:132
static void ui_companion_cocoa_notify_content_loaded(void *data)
Definition: ui_cocoa.m:526
static void ui_companion_cocoa_event_command(void *data, enum event_command cmd)
Definition: ui_cocoa.m:564

◆ waiting_argc

int waiting_argc
static

◆ waiting_argv

char** waiting_argv
static