summaryrefslogtreecommitdiffstats
path: root/apple_remote/source/RemoteControlContainer.m
diff options
context:
space:
mode:
authorHerbert Dürr <hdu@apache.org>2014-02-10 14:36:17 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-10 16:36:50 +0000
commit9d5841aa433ee325b702c3a8c4c8784052e09b3a (patch)
treef129b657bcf57be41b8e777ef837c889a46713e2 /apple_remote/source/RemoteControlContainer.m
parenthandle icon_name property too (diff)
downloadcore-9d5841aa433ee325b702c3a8c4c8784052e09b3a.tar.gz
core-9d5841aa433ee325b702c3a8c4c8784052e09b3a.zip
Resolved: #i124201# mark debug-infos from the apple_remote...
module appropriately to make the source of some log messages more clear (cherry picked from commit fe4ae4735c5a5e2b2210e684e97228cd91174e4c) Conflicts: apple_remote/AppleRemote.m apple_remote/source/HIDRemoteControlDevice.m apple_remote/source/RemoteControl.m apple_remote/source/RemoteControlContainer.m Change-Id: Ie57114f4d2d67f258808d03e01dff8bc05ba9f2c
Diffstat (limited to 'apple_remote/source/RemoteControlContainer.m')
-rw-r--r--apple_remote/source/RemoteControlContainer.m12
1 files changed, 6 insertions, 6 deletions
diff --git a/apple_remote/source/RemoteControlContainer.m b/apple_remote/source/RemoteControlContainer.m
index 0ebf8981b401..0071c80301b6 100644
--- a/apple_remote/source/RemoteControlContainer.m
+++ b/apple_remote/source/RemoteControlContainer.m
@@ -37,10 +37,10 @@
if ( (self = [super initWithDelegate:_remoteControlDelegate]) ) {
remoteControls = [[NSMutableArray alloc] init];
#ifdef DEBUG
- NSLog(@"RemoteControlContainer initWithDelegate ok");
+ NSLog( @"Apple Remote: ControlContainer initWithDelegate ok");
}
else {
- NSLog(@"RemoteControlContainer initWithDelegate failed");
+ NSLog( @"Apple Remote: RemoteControlContainer initWithDelegate failed");
#endif
}
@@ -63,7 +63,7 @@
}
#ifdef DEBUG
else {
- NSLog(@"RemoteControlContainer instantiateAndAddRemoteControlDeviceWithClass failed");
+ NSLog( @"Apple Remote: ControlContainer instantiateAndAddRemoteControlDeviceWithClass failed");
toReturn = NO;
}
#endif
@@ -79,7 +79,7 @@
[self didChangeValueForKey:@"listeningToRemote"];
#ifdef DEBUG
// debug purpose
- NSLog(@"reset... (after listening to remote)");
+ NSLog( @"Apple Remote: reset... (after listening)");
#endif
}
@@ -110,7 +110,7 @@
- (void) startListening: (id) sender {
#ifdef DEBUG
- NSLog(@"startListening to events... ");
+ NSLog(@"Apple Remote: start listening to events... ");
#endif
unsigned int i;
for(i=0; i < [remoteControls count]; i++) {
@@ -119,7 +119,7 @@
}
- (void) stopListening: (id) sender {
#ifdef DEBUG
- NSLog(@"stopListening to events... ");
+ NSLog(@"Apple Remote: stopListening to events... ");
#endif
unsigned int i;
for(i=0; i < [remoteControls count]; i++) {