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

appmenu_osx.mm 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 appmenu_osx.mm:

Go to the source code of this file.

Classes

class  NSApplication(MissingFunction)
class  ScummVMMenuHandler

Defines

#define FORBIDDEN_SYMBOL_ALLOW_ALL

Functions

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 ()

Variables

 __pad0__
static ScummVMMenuHandlerdelegate = nullptr

Define Documentation

#define FORBIDDEN_SYMBOL_ALLOW_ALL

Definition at line 24 of file appmenu_osx.mm.


Function Documentation

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

Definition at line 123 of file appmenu_osx.mm.

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

Definition at line 141 of file appmenu_osx.mm.

NSString* constructNSStringFromCString ( const char *  rawCString,
CFStringEncoding  stringEncoding 
)

Definition at line 119 of file appmenu_osx.mm.

static void openFromBundle ( NSString *  file  )  [static]

Definition at line 62 of file appmenu_osx.mm.

void releaseMenu (  ) 

Definition at line 159 of file appmenu_osx.mm.

void replaceApplicationMenuItems (  ) 

Definition at line 164 of file appmenu_osx.mm.


Variable Documentation

Definition at line 87 of file appmenu_osx.mm.

ScummVMMenuHandler* delegate = nullptr [static]

Definition at line 157 of file appmenu_osx.mm.



Generated on Sat Apr 20 2019 05:04:47 for ResidualVM by doxygen 1.7.1
curved edge   curved edge