2 WebNSDictionaryExtras.h
4 Copyright 2005, Apple, Inc. All rights reserved.
7 #import <Foundation/Foundation.h>
9 @interface NSDictionary (WebNSDictionaryExtras)
10 - (int)_webkit_intForKey:(id)key;
11 - (NSString *)_webkit_stringForKey:(id)key; // Returns nil if the value is not an NSString.
13 // Searches for the full MIME type, then the prefix (e.g., "text/" for "text/html")
14 - (id)_webkit_objectForMIMEType:(NSString *)MIMEType;
17 @interface NSMutableDictionary (WebNSDictionaryExtras)
18 - (void)_webkit_setObject:(id)object forUncopiedKey:(id)key;
19 - (void)_webkit_setInt:(int)value forKey:(id)key;
20 - (void)_webkit_setBool:(BOOL)value forKey:(id)key;