-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathXSContact.h
More file actions
31 lines (24 loc) · 773 Bytes
/
Copy pathXSContact.h
File metadata and controls
31 lines (24 loc) · 773 Bytes
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
//
// XSContact.h
// SkypeToAddressBook
//
// Created by Xavi Aracil on 16/08/10.
// Copyright 2010 xaracSoft (Xavi Aracil Diaz). All rights reserved.
//
#import <Cocoa/Cocoa.h>
@class XSABContact;
@interface XSContact : NSManagedObject {
// non-modeled attributes
NSImage *photo;
NSString *name;
}
// attributes
@property (retain) NSString *skypeName;
@property (retain) NSString *uniqueID;
// non-modeled attributes
@property (nonatomic, readonly) BOOL isInAddressBook;
@property (nonatomic, retain) NSImage *photo;
@property (nonatomic, retain) NSString *name;
+ (id) xsContactWithSkypeName:(NSString *) skypeName addressBookUniqueId:(NSString *) uniqueId context:(NSManagedObjectContext *) context;
+(NSImage *) defaultPhotoForUsersNotInAddressBook;
@end