58 [_configuration release];
66- (void)performConsoleCommand:(NSString *)command
66- (void)performConsoleCommand:(NSString *)command {
…}
72- (id)configurationValueForKey:(NSString *)key
72- (id)configurationValueForKey:(NSString *)key {
…}
78- (id)configurationValueForKey:(NSString *)key class:(Class)class defaultValue:(
id)value
82 if (
class == Nil)
class = [NSObject class];
84 result = [_configuration objectForKey:key];
85 if (![result isKindOfClass:
class] && result != [NSNull
null]) result = [[
value retain] autorelease];
86 if (result == [NSNull
null]) result =
nil;
78- (id)configurationValueForKey:(NSString *)key class:(Class)class defaultValue:(
id)value {
…}
92- (
long long)configurationIntValueForKey:(NSString *)key defaultValue:(
long long)value
98 if ([
object respondsToSelector:
@selector(longLongValue)]) result = [
object longLongValue];
99 else if ([
object respondsToSelector:
@selector(intValue)]) result = [
object intValue];
92- (
long long)configurationIntValueForKey:(NSString *)key defaultValue:(
long long)value {
…}
106- (BOOL)configurationBoolValueForKey:(NSString *)key
106- (BOOL)configurationBoolValueForKey:(NSString *)key {
…}
112- (void)setConfigurationValue:(
id)value forKey:(NSString *)key
114 if (key ==
nil)
return;
112- (void)setConfigurationValue:(
id)value forKey:(NSString *)key {
…}
122 return [[_configuration allKeys] sortedArrayUsingSelector:@selector(caseInsensitiveCompare:)];
129 errorMessage:(out NSString **)message
133 if (message != NULL) *message =
@"ERROR: attempt to reconnect already-connected debugger!";
149 message:(in NSString *)message
151 NSString *prefix =
nil;
152 NSRange emphasisRange;
156 prefix =
@"Debugger disconnected: ";
157 emphasisRange = NSMakeRange(0, [prefix length] - 1);
167 emphasisRange = NSMakeRange(0, [prefix length] - 1);
168 message = [
NSString stringWithFormat:@"%@attempt to disconnect unconnected debug monitor %@ with message: %@", prefix, debugMonitor, message];
177 jsConsoleOutput:(in NSString *)output
178 colorKey:(in NSString *)colorKey
179 emphasisRange:(in NSRange)emphasisRange
197 noteConfiguration:(in NSDictionary *)configuration
199 [_configuration release];
207noteChangedConfigrationValue:(in
id)newValue
208 forKey:(in NSString *)key
211 if (newValue !=
nil) [_configuration setObject:newValue forKey:key];
212 else [_configuration removeObjectForKey:key];
void disconnectDebugger:message:(in id< OODebuggerInterface > debugger, [message] in NSString *message)
oneway void performJSConsoleCommand:(in NSString *command)
void setConfigurationValue:forKey:(in id value, [forKey] in NSString *key)
void noteConfigurationChanged:(NSString *key)
void setDebugger:(OOMacDebugger *debugger)
void appendMessage:colorKey:emphasisRange:(NSString *string,[colorKey] NSString *colorKey,[emphasisRange] NSRange emphasisRange)
NSMutableDictionary * _configuration
id configurationValueForKey:(NSString *key)
NSArray * configurationKeys()
id configurationValueForKey:class:defaultValue:(NSString *key,[class] Class class,[defaultValue] id value)
OODebugMonitor * _monitor
OOJavaScriptConsoleController * _jsConsoleController
typedef long(ZCALLBACK *tell_file_func) OF((voidpf opaque