diff options
Diffstat (limited to 'xbmc/windowing/osx/WinEventsOSXImpl.h')
-rw-r--r-- | xbmc/windowing/osx/WinEventsOSXImpl.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/xbmc/windowing/osx/WinEventsOSXImpl.h b/xbmc/windowing/osx/WinEventsOSXImpl.h new file mode 100644 index 0000000..2dcacd4 --- /dev/null +++ b/xbmc/windowing/osx/WinEventsOSXImpl.h @@ -0,0 +1,25 @@ +/* + * Copyright (C) 2011-2018 Team Kodi + * This file is part of Kodi - https://kodi.tv + * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSES/README.md for more information. + */ + +#pragma once + +#include "windowing/osx/WinEventsOSX.h" + +#import <CoreGraphics/CoreGraphics.h> +#import <Foundation/Foundation.h> + +@interface CWinEventsOSXImpl : NSObject + +- (void)MessagePush:(XBMC_Event*)newEvent; +- (size_t)GetQueueSize; +- (bool)MessagePump; +- (void)enableInputEvents; +- (void)disableInputEvents; +- (XBMC_Event)keyPressEvent:(CGEventRef*)event; + +@end |