summaryrefslogtreecommitdiffstats
path: root/xbmc/windowing/osx/WinEventsOSXImpl.h
blob: 2dcacd44f0a314b01e1c1da95f36a856e84627d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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