summaryrefslogtreecommitdiff
path: root/apple_remote/inc/MultiClickRemoteBehavior.h
diff options
context:
space:
mode:
Diffstat (limited to 'apple_remote/inc/MultiClickRemoteBehavior.h')
-rw-r--r--apple_remote/inc/MultiClickRemoteBehavior.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/apple_remote/inc/MultiClickRemoteBehavior.h b/apple_remote/inc/MultiClickRemoteBehavior.h
index 9cffa35fae2f..f4179da6bf29 100644
--- a/apple_remote/inc/MultiClickRemoteBehavior.h
+++ b/apple_remote/inc/MultiClickRemoteBehavior.h
@@ -2,13 +2,13 @@
* MultiClickRemoteBehavior.h
* RemoteControlWrapper
*
- * Created by Martin Kahr on 11.03.06 under a MIT-style license.
+ * Created by Martin Kahr on 11.03.06 under a MIT-style license.
* Copyright (c) 2006 martinkahr.com. All rights reserved.
*
- * Code modified and adapted to OpenOffice.org
+ * Code modified and adapted to OpenOffice.org
* by Eric Bachard on 11.08.2008 under the same License
*
- * Permission is hereby granted, free of charge, to any person obtaining a
+ * Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
@@ -20,7 +20,7 @@
*
* THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
@@ -38,19 +38,19 @@
*/
@interface MultiClickRemoteBehavior : NSObject {
id delegate;
-
+
// state for simulating plus/minus hold
- BOOL simulateHoldEvents;
+ BOOL simulateHoldEvents;
BOOL lastEventSimulatedHold;
RemoteControlEventIdentifier lastHoldEvent;
- NSTimeInterval lastHoldEventTime;
-
+ NSTimeInterval lastHoldEventTime;
+
// state for multi click
unsigned int clickCountEnabledButtons;
NSTimeInterval maxClickTimeDifference;
- NSTimeInterval lastClickCountEventTime;
+ NSTimeInterval lastClickCountEventTime;
RemoteControlEventIdentifier lastClickCountEvent;
- unsigned int eventClickCount;
+ unsigned int eventClickCount;
}
- (id) init;
@@ -83,7 +83,7 @@
@end
-/*
+/*
* Method definitions for the delegate of the MultiClickRemoteBehavior class
*/
@interface NSObject(MultiClickRemoteBehaviorDelegate)