summaryrefslogtreecommitdiff
path: root/apple_remote
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-05-07 23:57:21 +0300
committerTor Lillqvist <tml@iki.fi>2012-05-08 00:22:16 +0300
commit8701f5ef0591bdb7746f19fe94ba27632e983347 (patch)
tree281aa006b2c7092c62f5e918a509528af2586e0e /apple_remote
parent05597378a1f8aa5ff691d7e4b61cdb70b797cb6a (diff)
Add Emacs and vim mode lines
Change-Id: I8ccb7be448faf42904eb6246a4f5a06ff8028ffc
Diffstat (limited to 'apple_remote')
-rw-r--r--apple_remote/inc/apple_remote/RemoteControl.h3
-rw-r--r--apple_remote/inc/apple_remote/RemoteMainController.h3
-rw-r--r--apple_remote/source/AppleRemote.h3
-rw-r--r--apple_remote/source/AppleRemote.m3
-rw-r--r--apple_remote/source/GlobalKeyboardDevice.h3
-rw-r--r--apple_remote/source/GlobalKeyboardDevice.m3
-rw-r--r--apple_remote/source/HIDRemoteControlDevice.h3
-rw-r--r--apple_remote/source/HIDRemoteControlDevice.m2
-rw-r--r--apple_remote/source/KeyspanFrontRowControl.h3
-rw-r--r--apple_remote/source/KeyspanFrontRowControl.m3
-rw-r--r--apple_remote/source/MultiClickRemoteBehavior.h3
-rw-r--r--apple_remote/source/MultiClickRemoteBehavior.m3
-rw-r--r--apple_remote/source/RemoteControl.m3
-rw-r--r--apple_remote/source/RemoteControlContainer.h3
-rw-r--r--apple_remote/source/RemoteControlContainer.m3
-rw-r--r--apple_remote/source/RemoteMainController.m3
16 files changed, 47 insertions, 0 deletions
diff --git a/apple_remote/inc/apple_remote/RemoteControl.h b/apple_remote/inc/apple_remote/RemoteControl.h
index 4476af237b6a..cffc631ad499 100644
--- a/apple_remote/inc/apple_remote/RemoteControl.h
+++ b/apple_remote/inc/apple_remote/RemoteControl.h
@@ -1,3 +1,4 @@
+/* -*- Mode: ObjC; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*****************************************************************************
* RemoteControl.h
* RemoteControlWrapper
@@ -118,3 +119,5 @@ typedef enum _RemoteControlEventIdentifier {
+ (const char*) remoteControlDeviceName;
@end
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/apple_remote/inc/apple_remote/RemoteMainController.h b/apple_remote/inc/apple_remote/RemoteMainController.h
index 167454071caf..49498779fc14 100644
--- a/apple_remote/inc/apple_remote/RemoteMainController.h
+++ b/apple_remote/inc/apple_remote/RemoteMainController.h
@@ -1,3 +1,4 @@
+/* -*- Mode: ObjC; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*****************************************************************************
* RemoteMainController.h
*
@@ -57,3 +58,5 @@ typedef int NSColorRenderingIntent;
- (MultiClickRemoteBehavior*) remoteBehavior;
@end
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/apple_remote/source/AppleRemote.h b/apple_remote/source/AppleRemote.h
index 509ddaa66c20..692a1a61172e 100644
--- a/apple_remote/source/AppleRemote.h
+++ b/apple_remote/source/AppleRemote.h
@@ -1,3 +1,4 @@
+/* -*- Mode: ObjC; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*****************************************************************************
* RemoteControlWrapper.h
* RemoteControlWrapper
@@ -48,3 +49,5 @@ typedef int NSColorRenderingIntent;
}
@end
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/apple_remote/source/AppleRemote.m b/apple_remote/source/AppleRemote.m
index 95d8835f046b..c1a87c3f226e 100644
--- a/apple_remote/source/AppleRemote.m
+++ b/apple_remote/source/AppleRemote.m
@@ -1,3 +1,4 @@
+/* -*- Mode: ObjC; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*****************************************************************************
* RemoteControlWrapper.m
* RemoteControlWrapper
@@ -126,3 +127,5 @@ const char* AppleRemoteDeviceName = "AppleIRController";
}
@end
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/apple_remote/source/GlobalKeyboardDevice.h b/apple_remote/source/GlobalKeyboardDevice.h
index 6a8a052e7ae5..752b1eecf8c2 100644
--- a/apple_remote/source/GlobalKeyboardDevice.h
+++ b/apple_remote/source/GlobalKeyboardDevice.h
@@ -1,3 +1,4 @@
+/* -*- Mode: ObjC; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*****************************************************************************
* GlobalKeyboardDevice.h
* RemoteControlWrapper
@@ -51,3 +52,5 @@
@end
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/apple_remote/source/GlobalKeyboardDevice.m b/apple_remote/source/GlobalKeyboardDevice.m
index 2fd6156c23f6..27322d259faf 100644
--- a/apple_remote/source/GlobalKeyboardDevice.m
+++ b/apple_remote/source/GlobalKeyboardDevice.m
@@ -1,3 +1,4 @@
+/* -*- Mode: ObjC; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*****************************************************************************
* GlobalKeyboardDevice.m
* RemoteControlWrapper
@@ -251,3 +252,5 @@ static OSStatus hotKeyEventHandler(EventHandlerCallRef inHandlerRef, EventRef in
}
@end
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/apple_remote/source/HIDRemoteControlDevice.h b/apple_remote/source/HIDRemoteControlDevice.h
index d193472de5f5..be975fb1c3d5 100644
--- a/apple_remote/source/HIDRemoteControlDevice.h
+++ b/apple_remote/source/HIDRemoteControlDevice.h
@@ -1,3 +1,4 @@
+/* -*- Mode: ObjC; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*****************************************************************************
* HIDRemoteControlDevice.h
* RemoteControlWrapper
@@ -64,3 +65,5 @@
+ (BOOL) isRemoteAvailable;
@end
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/apple_remote/source/HIDRemoteControlDevice.m b/apple_remote/source/HIDRemoteControlDevice.m
index a42a91419754..8883a1804dc0 100644
--- a/apple_remote/source/HIDRemoteControlDevice.m
+++ b/apple_remote/source/HIDRemoteControlDevice.m
@@ -1,3 +1,4 @@
+/* -*- Mode: ObjC; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*****************************************************************************
* HIDRemoteControlDevice.m
* RemoteControlWrapper
@@ -533,3 +534,4 @@ static void QueueCallbackFunction(void* target, IOReturn result, void* refcon,
@end
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/apple_remote/source/KeyspanFrontRowControl.h b/apple_remote/source/KeyspanFrontRowControl.h
index 2469b5839904..d313ab04ce84 100644
--- a/apple_remote/source/KeyspanFrontRowControl.h
+++ b/apple_remote/source/KeyspanFrontRowControl.h
@@ -1,3 +1,4 @@
+/* -*- Mode: ObjC; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*****************************************************************************
* KeyspanFrontRowControl.h
* RemoteControlWrapper
@@ -50,3 +51,5 @@ typedef int NSColorRenderingIntent;
}
@end
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/apple_remote/source/KeyspanFrontRowControl.m b/apple_remote/source/KeyspanFrontRowControl.m
index dd86475b12b1..09787383e91b 100644
--- a/apple_remote/source/KeyspanFrontRowControl.m
+++ b/apple_remote/source/KeyspanFrontRowControl.m
@@ -1,3 +1,4 @@
+/* -*- Mode: ObjC; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*****************************************************************************
* KeyspanFrontRowControl.m
* RemoteControlWrapper
@@ -95,3 +96,5 @@
}
@end
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/apple_remote/source/MultiClickRemoteBehavior.h b/apple_remote/source/MultiClickRemoteBehavior.h
index 9cf2e7f03e5c..77320ea9b5fe 100644
--- a/apple_remote/source/MultiClickRemoteBehavior.h
+++ b/apple_remote/source/MultiClickRemoteBehavior.h
@@ -1,3 +1,4 @@
+/* -*- Mode: ObjC; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*****************************************************************************
* MultiClickRemoteBehavior.h
* RemoteControlWrapper
@@ -90,3 +91,5 @@
- (void) remoteButton: (RemoteControlEventIdentifier)buttonIdentifier pressedDown: (BOOL) pressedDown clickCount: (unsigned int) count;
@end
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/apple_remote/source/MultiClickRemoteBehavior.m b/apple_remote/source/MultiClickRemoteBehavior.m
index d0fd34c89c73..1d624a76284d 100644
--- a/apple_remote/source/MultiClickRemoteBehavior.m
+++ b/apple_remote/source/MultiClickRemoteBehavior.m
@@ -1,3 +1,4 @@
+/* -*- Mode: ObjC; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*****************************************************************************
* MultiClickRemoteBehavior.m
* RemoteControlWrapper
@@ -211,3 +212,5 @@ const NSTimeInterval HOLD_RECOGNITION_TIME_INTERVAL = 0.4;
}
@end
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/apple_remote/source/RemoteControl.m b/apple_remote/source/RemoteControl.m
index f82a7e76e76b..49aacd4a5384 100644
--- a/apple_remote/source/RemoteControl.m
+++ b/apple_remote/source/RemoteControl.m
@@ -1,3 +1,4 @@
+/* -*- Mode: ObjC; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*****************************************************************************
* RemoteControl.m
* RemoteControlWrapper
@@ -149,3 +150,5 @@ NSString* kTargetApplicationIdentifier = @"TargetBundleIdentifier";
}
@end
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/apple_remote/source/RemoteControlContainer.h b/apple_remote/source/RemoteControlContainer.h
index db70ee64a916..c3361f45ebcc 100644
--- a/apple_remote/source/RemoteControlContainer.h
+++ b/apple_remote/source/RemoteControlContainer.h
@@ -1,3 +1,4 @@
+/* -*- Mode: ObjC; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*****************************************************************************
* RemoteControlContainer.h
* RemoteControlWrapper
@@ -38,3 +39,5 @@
- (unsigned int) count;
@end
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/apple_remote/source/RemoteControlContainer.m b/apple_remote/source/RemoteControlContainer.m
index 04a4c6c1cfe1..0ebf8981b401 100644
--- a/apple_remote/source/RemoteControlContainer.m
+++ b/apple_remote/source/RemoteControlContainer.m
@@ -1,3 +1,4 @@
+/* -*- Mode: ObjC; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*****************************************************************************
* RemoteControlContainer.m
* RemoteControlWrapper
@@ -142,3 +143,5 @@
}
@end
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/apple_remote/source/RemoteMainController.m b/apple_remote/source/RemoteMainController.m
index b7ed2110eb81..f926236b4a11 100644
--- a/apple_remote/source/RemoteMainController.m
+++ b/apple_remote/source/RemoteMainController.m
@@ -1,3 +1,4 @@
+/* -*- Mode: ObjC; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*****************************************************************************
* RemoteMainController.m
*
@@ -167,3 +168,5 @@
}
@end
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */