Pyrogenesis  13997
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Functions
osx.cpp File Reference
#include "precompiled.h"
#include "lib/lib.h"
#include "lib/sysdep/sysdep.h"
#include "lib/sysdep/gfx.h"
#include "lib/utf8.h"
#include "osx_bundle.h"
#include "osx_pasteboard.h"
#include <ApplicationServices/ApplicationServices.h>
#include <AvailabilityMacros.h>
#include <CoreFoundation/CoreFoundation.h>
#include <mach-o/dyld.h>

Go to the source code of this file.

Namespaces

 gfx
 

Functions

Status sys_clipboard_set (const wchar_t *text)
 
wchar_tsys_clipboard_get ()
 
Status sys_clipboard_free (wchar_t *copy)
 
LIB_API Status gfx::GetVideoMode (int *xres, int *yres, int *bpp, int *freq)
 (useful for choosing a new video mode) More...
 
Status gfx::GetMonitorSize (int *xres, int *yres, int *bpp, int *freq)
 
OsPath sys_ExecutablePathname ()
 

Function Documentation

Status sys_clipboard_free ( wchar_t copy)

Definition at line 67 of file osx.cpp.

wchar_t* sys_clipboard_get ( )

Definition at line 49 of file osx.cpp.

Status sys_clipboard_set ( const wchar_t text)

Definition at line 38 of file osx.cpp.

OsPath sys_ExecutablePathname ( )
Returns
full pathname of the current executable.

this is useful for determining installation directory, e.g. for VFS.

Definition at line 139 of file osx.cpp.