ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge File Reference

#include "backends/platform/sdl/macosx/appmenu_osx.h"
#include "common/translation.h"
#include "backends/platform/sdl/macosx/macosx-compat.h"
#include <Cocoa/Cocoa.h>
#include <AppKit/NSWorkspace.h>
Include dependency graph for

Go to the source code of this file.


class  NSApplication(MissingFunction)
class  ScummVMMenuHandler




static void openFromBundle (NSString *file)
NSString * constructNSStringFromCString (const char *rawCString, CFStringEncoding stringEncoding)
static NSMenu * addMenu (const char *title, CFStringEncoding encoding, NSString *key, SEL setAs)
static void addMenuItem (const char *title, CFStringEncoding encoding, id target, SEL selector, NSString *key, NSMenu *parent, NSEventModifierFlags flags=0)
void releaseMenu ()
void replaceApplicationMenuItems ()


static ScummVMMenuHandlerdelegate = nullptr

Define Documentation


Definition at line 24 of file

Function Documentation

static NSMenu* addMenu ( const char *  title,
CFStringEncoding  encoding,
NSString *  key,
SEL  setAs 
) [static]

Definition at line 139 of file

static void addMenuItem ( const char *  title,
CFStringEncoding  encoding,
id  target,
SEL  selector,
NSString *  key,
NSMenu *  parent,
NSEventModifierFlags  flags = 0 
) [static]

Definition at line 157 of file

NSString* constructNSStringFromCString ( const char *  rawCString,
CFStringEncoding  stringEncoding 

Definition at line 135 of file

static void openFromBundle ( NSString *  file  )  [static]

Definition at line 62 of file

void releaseMenu (  ) 

Definition at line 175 of file

void replaceApplicationMenuItems (  ) 

Definition at line 180 of file

Variable Documentation

Definition at line 99 of file

ScummVMMenuHandler* delegate = nullptr [static]

Definition at line 173 of file

Generated on Sat Jul 13 2019 05:01:36 for ResidualVM by doxygen 1.7.1
curved edge   curved edge