tdf#123936 Formatting files in module apple_remote with clang-format

Change-Id: Ifd469bf8348c3f35222a2cfae13c66bc444ec1b6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105489
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
This commit is contained in:
Philipp Hofer
2020-11-09 18:55:36 +01:00
committed by Samuel Mehrbrodt
parent cb0630df7f
commit 03e79e8ab5
7 changed files with 44 additions and 45 deletions

View File

@@ -36,7 +36,8 @@
/* Interacts with the Apple Remote Control HID device
The class is not thread safe
*/
@interface AppleRemote : HIDRemoteControlDevice {
@interface AppleRemote : HIDRemoteControlDevice
{
}
@end

View File

@@ -33,23 +33,23 @@
#import <Carbon/Carbon.h>
/*
This class registers for a number of global keyboard shortcuts to simulate a remote control
*/
@interface GlobalKeyboardDevice : RemoteControl {
@interface GlobalKeyboardDevice : RemoteControl
{
NSMutableDictionary* hotKeyRemoteEventMapping;
EventHandlerRef eventHandlerRef;
}
- (void) mapRemoteButton: (RemoteControlEventIdentifier) remoteButtonIdentifier defaultKeycode: (unsigned int) defaultKeycode defaultModifiers: (unsigned int) defaultModifiers;
- (BOOL)registerHotKeyCode: (unsigned int) keycode modifiers: (unsigned int) modifiers remoteEventIdentifier: (RemoteControlEventIdentifier) identifier;
- (void)mapRemoteButton:(RemoteControlEventIdentifier)remoteButtonIdentifier
defaultKeycode:(unsigned int)defaultKeycode
defaultModifiers:(unsigned int)defaultModifiers;
- (BOOL)registerHotKeyCode:(unsigned int)keycode
modifiers:(unsigned int)modifiers
remoteEventIdentifier:(RemoteControlEventIdentifier)identifier;
@end

View File

@@ -36,7 +36,8 @@
/*
Base class for HID based remote control devices
*/
@interface HIDRemoteControlDevice : RemoteControl {
@interface HIDRemoteControlDevice : RemoteControl
{
IOHIDDeviceInterface** hidDeviceInterface; // see IOKit/hid/IOHIDLib.h
IOHIDQueueInterface** queue; // IOKit/hid/IOHIDLib.h
NSMutableArray* allCookies;

View File

@@ -36,8 +36,8 @@
/* Interacts with the Keyspan FrontRow Remote Control HID device
The class is not thread safe
*/
@interface KeyspanFrontRowControl : HIDRemoteControlDevice {
@interface KeyspanFrontRowControl : HIDRemoteControlDevice
{
}
@end

View File

@@ -29,14 +29,14 @@
*
*****************************************************************************/
#import <apple_remote/RemoteControl.h>
/**
A behavior that adds multiclick and hold events on top of a device.
Events are generated and send to a delegate
*/
@interface MultiClickRemoteBehavior : NSObject {
@interface MultiClickRemoteBehavior : NSObject
{
id delegate;
// state for simulating plus/minus hold
@@ -88,7 +88,9 @@
*/
@interface NSObject (MultiClickRemoteBehaviorDelegate)
- (void) remoteButton: (RemoteControlEventIdentifier)buttonIdentifier pressedDown: (BOOL) pressedDown clickCount: (unsigned int) count;
- (void)remoteButton:(RemoteControlEventIdentifier)buttonIdentifier
pressedDown:(BOOL)pressedDown
clickCount:(unsigned int)count;
@end

View File

@@ -31,7 +31,8 @@
#import <apple_remote/RemoteControl.h>
@interface RemoteControlContainer : RemoteControl {
@interface RemoteControlContainer : RemoteControl
{
NSMutableArray* remoteControls;
}

View File

@@ -132,12 +132,6 @@ accessibility/source/standard/vclxaccessibletextfield.cxx
accessibility/source/standard/vclxaccessibletoolbox.cxx
accessibility/source/standard/vclxaccessibletoolboxitem.cxx
animations/source/animcore/animcore.cxx
apple_remote/source/AppleRemote.h
apple_remote/source/GlobalKeyboardDevice.h
apple_remote/source/HIDRemoteControlDevice.h
apple_remote/source/KeyspanFrontRowControl.h
apple_remote/source/MultiClickRemoteBehavior.h
apple_remote/source/RemoteControlContainer.h
avmedia/inc/helpids.h
avmedia/inc/mediacontrol.hxx
avmedia/source/avmediadummy.cxx