Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
CocoaInterface.mm File Reference
import "CocoaInterface.h"
#include "CompileInfo.h"
import "DllPaths_generated.h"
#include "ServiceBroker.h"
#include "utils/StringUtils.h"
#include "utils/log.h"
#include "windowing/osx/WinSystemOSX.h"
import <AudioToolbox/AudioToolbox.h>
import <AudioUnit/AudioUnit.h>
import <Cocoa/Cocoa.h>
import <CoreServices/CoreServices.h>
import <OpenGL/OpenGL.h>
import <OpenGL/gl.h>
import <QuartzCore/QuartzCore.h>
import <sys/mount.h>
import <unistd.h>

Functions

CGDirectDisplayID Cocoa_GetDisplayIDFromScreen (NSScreen *screen)
 
uint32_t Cocoa_GL_GetCurrentDisplayID (void)
 
bool Cocoa_CVDisplayLinkCreate (void *displayLinkcallback, void *displayLinkContext)
 
void Cocoa_CVDisplayLinkRelease (void)
 
void Cocoa_CVDisplayLinkUpdate (void)
 
void Cocoa_DoAppleScript (const char *scriptSource)
 
void Cocoa_DoAppleScriptFile (const char *filePath)
 
char * Cocoa_MountPoint2DeviceName (char *path)
 
bool Cocoa_GetVolumeNameFromMountPoint (const std::string &mountPoint, std::string &volumeName)
 
const char * Cocoa_Paste ()
 

Function Documentation

◆ Cocoa_CVDisplayLinkCreate()

bool Cocoa_CVDisplayLinkCreate ( void * displayLinkcallback,
void * displayLinkContext )

◆ Cocoa_CVDisplayLinkRelease()

void Cocoa_CVDisplayLinkRelease ( void )

◆ Cocoa_CVDisplayLinkUpdate()

void Cocoa_CVDisplayLinkUpdate ( void )

◆ Cocoa_DoAppleScript()

void Cocoa_DoAppleScript ( const char * scriptSource)

◆ Cocoa_DoAppleScriptFile()

void Cocoa_DoAppleScriptFile ( const char * filePath)

◆ Cocoa_GetDisplayIDFromScreen()

CGDirectDisplayID Cocoa_GetDisplayIDFromScreen ( NSScreen * screen)

◆ Cocoa_GetVolumeNameFromMountPoint()

bool Cocoa_GetVolumeNameFromMountPoint ( const std::string & mountPoint,
std::string & volumeName )

◆ Cocoa_GL_GetCurrentDisplayID()

uint32_t Cocoa_GL_GetCurrentDisplayID ( void )

◆ Cocoa_MountPoint2DeviceName()

char * Cocoa_MountPoint2DeviceName ( char * path)

◆ Cocoa_Paste()

const char * Cocoa_Paste ( )