![]() |
Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
|
#include "WinSystemOSX.h"
#include "WinEventsOSX.h"
#include "VideoSyncOsx.h"
#include "OSScreenSaverOSX.h"
#include "AppInboundProtocol.h"
#include "ServiceBroker.h"
#include "messaging/ApplicationMessenger.h"
#include "CompileInfo.h"
#include "cores/AudioEngine/AESinkFactory.h"
#include "cores/AudioEngine/Sinks/AESinkDARWINOSX.h"
#include "cores/RetroPlayer/process/osx/RPProcessInfoOSX.h"
#include "cores/RetroPlayer/rendering/VideoRenderers/RPRendererOpenGL.h"
#include "cores/VideoPlayer/DVDCodecs/DVDFactoryCodec.h"
#include "cores/VideoPlayer/DVDCodecs/Video/VTB.h"
#include "cores/VideoPlayer/Process/osx/ProcessInfoOSX.h"
#include "cores/VideoPlayer/VideoRenderers/RenderFactory.h"
#include "cores/VideoPlayer/VideoRenderers/LinuxRendererGL.h"
#include "cores/VideoPlayer/VideoRenderers/HwDecRender/RendererVTBGL.h"
#include "guilib/DispResource.h"
#include "guilib/GUIWindowManager.h"
#include "platform/darwin/osx/powermanagement/CocoaPowerSyscall.h"
#include "settings/DisplaySettings.h"
#include "settings/Settings.h"
#include "settings/SettingsComponent.h"
#include "input/KeyboardStat.h"
#include "threads/SingleLock.h"
#include "utils/log.h"
#include "utils/StringUtils.h"
#include "platform/darwin/osx/XBMCHelper.h"
#include "utils/SystemInfo.h"
#include "platform/darwin/osx/CocoaInterface.h"
#include "platform/darwin/DictionaryUtils.h"
#include "platform/darwin/DarwinUtils.h"
#include <cstdlib>
#include <signal.h>
#import <SDL/SDL.h>
#import <Cocoa/Cocoa.h>
#import <QuartzCore/QuartzCore.h>
#import <IOKit/pwr_mgt/IOPMLib.h>
#import <IOKit/graphics/IOGraphicsLib.h>
#import "platform/darwin/osx/OSXTextInputResponder.h"
Classes | |
class | windowDidMoveNoteClass |
class | windowDidReSizeNoteClass |
class | windowDidChangeScreenNoteClass |
Macros | |
#define | MAX_DISPLAYS 32 |
#define | LOST_DEVICE_TIMEOUT_MS 3000 |
Functions | |
CRect | CGRectToCRect (CGRect cgrect) |
void | SetMenuBarVisible (bool visible) |
CGDirectDisplayID | GetDisplayID (int screen_index) |
size_t | DisplayBitsPerPixelForMode (CGDisplayModeRef mode) |
CFArrayRef | GetAllDisplayModes (CGDirectDisplayID display) |
CGDisplayModeRef | BestMatchForMode (CGDirectDisplayID display, size_t bitsPerPixel, size_t width, size_t height, boolean_t &match) |
CGDirectDisplayID | GetDisplayIDFromScreen (NSScreen *screen) |
int | GetDisplayIndex (CGDirectDisplayID display) |
void | BlankOtherDisplays (int screen_index) |
void | UnblankDisplays (void) |
CGDisplayFadeReservationToken | DisplayFadeToBlack (bool fade) |
void | DisplayFadeFromBlack (CGDisplayFadeReservationToken fade_token, bool fade) |
NSString * | screenNameForDisplay (CGDirectDisplayID displayID) |
int | GetDisplayIndex (std::string dispName) |
void | ShowHideNSWindow (NSWindow *wind, bool show) |
void | fadeInDisplay (NSScreen *theScreen, double fadeTime) |
void | fadeOutDisplay (NSScreen *theScreen, double fadeTime) |
CGDisplayModeRef | GetMode (int width, int height, double refreshrate, int screenIdx) |
void | SDL_SetWidthHeight (int w, int h) |
Variables | |
OSXTextInputResponder * | g_textInputResponder = nil |
#define LOST_DEVICE_TIMEOUT_MS 3000 |
#define MAX_DISPLAYS 32 |
CGDisplayModeRef BestMatchForMode | ( | CGDirectDisplayID | display, |
size_t | bitsPerPixel, | ||
size_t | width, | ||
size_t | height, | ||
boolean_t & | match | ||
) |
void BlankOtherDisplays | ( | int | screen_index | ) |
CRect CGRectToCRect | ( | CGRect | cgrect | ) |
size_t DisplayBitsPerPixelForMode | ( | CGDisplayModeRef | mode | ) |
void DisplayFadeFromBlack | ( | CGDisplayFadeReservationToken | fade_token, |
bool | fade | ||
) |
CGDisplayFadeReservationToken DisplayFadeToBlack | ( | bool | fade | ) |
void fadeInDisplay | ( | NSScreen * | theScreen, |
double | fadeTime | ||
) |
void fadeOutDisplay | ( | NSScreen * | theScreen, |
double | fadeTime | ||
) |
CFArrayRef GetAllDisplayModes | ( | CGDirectDisplayID | display | ) |
CGDirectDisplayID GetDisplayID | ( | int | screen_index | ) |
CGDirectDisplayID GetDisplayIDFromScreen | ( | NSScreen * | screen | ) |
int GetDisplayIndex | ( | CGDirectDisplayID | display | ) |
int GetDisplayIndex | ( | std::string | dispName | ) |
CGDisplayModeRef GetMode | ( | int | width, |
int | height, | ||
double | refreshrate, | ||
int | screenIdx | ||
) |
NSString * screenNameForDisplay | ( | CGDirectDisplayID | displayID | ) |
void SDL_SetWidthHeight | ( | int | w, |
int | h | ||
) |
void SetMenuBarVisible | ( | bool | visible | ) |
void ShowHideNSWindow | ( | NSWindow * | wind, |
bool | show | ||
) |
OSXTextInputResponder* g_textInputResponder = nil |