My favorites | Sign in
Project Home Downloads Wiki Issues Source
Repository:
Checkout   Browse   Changes   Clones  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#import <CoreFoundation/CFError.h>
#import <Foundation/NSRaise.h>
#import <Foundation/NSCFTypeID.h>

// FIXME: fix all string constants so they match NS* contents
const CFStringRef kCFErrorDomainPOSIX=(CFStringRef)@"FIXME";
const CFStringRef kCFErrorDomainCocoa=(CFStringRef)@"FIXME";
const CFStringRef kCFErrorDomainOSStatus=(CFStringRef)@"FIXME";
const CFStringRef kCFErrorDomainMach=(CFStringRef)@"FIXME";

const CFStringRef kCFErrorDescriptionKey=(CFStringRef)@"FIXME";
const CFStringRef kCFErrorLocalizedDescriptionKey=(CFStringRef)@"FIXME";
const CFStringRef kCFErrorUnderlyingErrorKey=(CFStringRef)@"FIXME";
const CFStringRef kCFErrorLocalizedFailureReasonKey=(CFStringRef)@"FIXME";
const CFStringRef kCFErrorLocalizedRecoverySuggestionKey=(CFStringRef)@"FIXME";

CFTypeID CFErrorGetTypeID(void) {
return kNSCFTypeError;
}

CFErrorRef CFErrorCreate(CFAllocatorRef allocator,CFStringRef domain,CFIndex code,CFDictionaryRef userInfo){
NSUnimplementedFunction();
return 0;
}

CFErrorRef CFErrorCreateWithUserInfoKeysAndValues(CFAllocatorRef allocator,CFStringRef domain,CFIndex code,const void *const *userInfoKeys,const void *const *userInfoValues,CFIndex userInfoCount) {
NSUnimplementedFunction();
return 0;
}

CFStringRef CFErrorGetDomain(CFErrorRef self) {
NSUnimplementedFunction();
return 0;
}

CFIndex CFErrorGetCode(CFErrorRef self) {
NSUnimplementedFunction();
return 0;
}

CFDictionaryRef CFErrorCopyUserInfo(CFErrorRef self) {
NSUnimplementedFunction();
return 0;
}

CFStringRef CFErrorCopyFailureReason(CFErrorRef self) {
NSUnimplementedFunction();
return 0;
}

CFStringRef CFErrorCopyRecoverySuggestion(CFErrorRef self) {
NSUnimplementedFunction();
return 0;
}

CFStringRef CFErrorCopyDescription(CFErrorRef self) {
NSUnimplementedFunction();
return 0;
}

Change log

80c3bcfd90f3 by cocotron on Nov 2, 2009   Diff
enabled CoreFoundation in all targets,
switched to language standard gnu99 from
gnu89, cleanup related to these
Go to: 
Project members, sign in to write a code review

Older revisions

31af3c6f6c4c by jens.ayton on Oct 23, 2009   Diff
Implemented CFTypeGetID() and
CF<Class>GetTypeID() functions.
5097617e6b00 by cocotron on Jun 10, 2009   Diff
added #ifdef's for optionally building
CF
e9b4a77ac15a by cocotron on Jun 10, 2009   Diff
updating CoreFoundation/ from CF
branch
All revisions of this file

File info

Size: 1825 bytes, 60 lines
Powered by Google Project Hosting