mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-04 21:08:51 +00:00
Fixed compilation warnings
Monotone-Parent: b2bb37a5b0be639020525c8cbc8f174b9869b25d Monotone-Revision: 305e5198a69984fa19ae3d615ff25e6f48bed1bd Monotone-Author: crobert@inverse.ca Monotone-Date: 2009-08-24T21:02:47 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -32,6 +32,9 @@
|
||||
NGVList *list;
|
||||
}
|
||||
|
||||
- (NGVList *) vList;
|
||||
- (void) save;
|
||||
|
||||
@end
|
||||
|
||||
#endif /* SOGOCONTACTGCSLIST_H */
|
||||
|
||||
@@ -33,6 +33,8 @@
|
||||
id reference;
|
||||
}
|
||||
|
||||
- (BOOL) cardReferences: (NSArray *) references contain: (NSString *) ref;
|
||||
|
||||
@end
|
||||
|
||||
#endif /* UIXLISTEDITOR_H */
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
#import <Foundation/NSArray.h>
|
||||
#import <Foundation/NSString.h>
|
||||
|
||||
#import <NGObjWeb/WORequest.h>
|
||||
#import <NGObjWeb/NSException+HTTP.h>
|
||||
#import <NGObjWeb/WOResponse.h>
|
||||
#import <Foundation/NSPropertyList.h>
|
||||
|
||||
@@ -40,6 +40,8 @@
|
||||
- (WOResponse *) saveDragHandleStateAction;
|
||||
- (WOResponse *) saveFoldersStateAction;
|
||||
|
||||
- (NSString *) formattedMailtoString: (NGVCard *) card;
|
||||
|
||||
@end
|
||||
|
||||
#endif /* UIXMAILMAINFRAME_H */
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
#import <Foundation/NSUserDefaults.h>
|
||||
|
||||
#import <NGCards/NGVCard.h>
|
||||
#import <NGCards/NGVCardReference.h>
|
||||
#import <NGCards/NGVList.h>
|
||||
#import <NGObjWeb/WOContext.h>
|
||||
#import <NGObjWeb/WORequest.h>
|
||||
@@ -203,7 +204,7 @@
|
||||
acquire: NO];
|
||||
if ([contact isKindOfClass: [SOGoContactGCSList class]])
|
||||
{
|
||||
list = [contact vList];
|
||||
list = [(SOGoContactGCSList *)contact vList];
|
||||
cards = [list cardReferences];
|
||||
count = [cards count];
|
||||
for (i = 0; i < count; i++)
|
||||
@@ -247,10 +248,10 @@
|
||||
NSArray *n;
|
||||
unsigned int max;
|
||||
|
||||
if ([card respondsToSelector: @selector (preferredEMail)])
|
||||
if ([card isKindOfClass: [NGVCard class]])
|
||||
email = [card preferredEMail];
|
||||
else
|
||||
email = [card email];
|
||||
email = [(NGVCardReference *)card email];
|
||||
|
||||
if (email == nil)
|
||||
email = (NSString*)[card firstChildWithTag: @"EMAIL"];
|
||||
@@ -282,7 +283,7 @@
|
||||
rc = fn;
|
||||
}
|
||||
else
|
||||
rc = email;
|
||||
rc = [NSMutableString stringWithString: email];
|
||||
}
|
||||
|
||||
return rc;
|
||||
|
||||
Reference in New Issue
Block a user