mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-22 03:45:25 +00:00
Monotone-Parent: f888fd45930561854ace6f34398242aa944a6f6d
Monotone-Revision: 7f4eeefacdaca8eff90c7eebfb960933cd076c8f Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-10-26T18:23:42 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
2010-10-26 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* NGVCard.m (-setCategories, -categories): new accessors for the
|
||||
"CATEGORIES" vcard property.
|
||||
|
||||
* NGVCardPhoto.m (-type): fixed the returning of the default type.
|
||||
|
||||
* CardElement.m (-setValues:): new method. Actual renamed version
|
||||
|
||||
@@ -125,14 +125,14 @@ typedef enum
|
||||
units: (NSArray *) someUnits;
|
||||
- (NSArray *) org;
|
||||
|
||||
- (void) setCategories: (NSArray *) newCategories;
|
||||
- (NSArray *) categories;
|
||||
|
||||
// - (void) setN: (NGVCardName *) _v;
|
||||
// - (NGVCardName *) n;
|
||||
// - (void) setOrg: (NGVCardOrg *) _v;
|
||||
// - (NGVCardOrg *) org;
|
||||
|
||||
// - (void) setCategories: (id) _v;
|
||||
// - (NGVCardStrArrayValue *) categories;
|
||||
|
||||
// - (void) setTel: (NSArray *) _tel;
|
||||
// - (NSArray *) tel;
|
||||
// - (void) setAdr: (NSArray *) _adr;
|
||||
|
||||
+17
-13
@@ -325,6 +325,23 @@
|
||||
return org;
|
||||
}
|
||||
|
||||
- (void) setCategories: (NSArray *) newCategories
|
||||
{
|
||||
CardElement *cats;
|
||||
|
||||
cats = [self uniqueChildWithTag: @"categories"];
|
||||
[cats setValues: newCategories];
|
||||
}
|
||||
|
||||
- (NSArray *) categories
|
||||
{
|
||||
CardElement *cats;
|
||||
|
||||
cats = [self uniqueChildWithTag: @"categories"];
|
||||
|
||||
return [cats values];
|
||||
}
|
||||
|
||||
// - (void) setOrg: (NGVCardOrg *) _v
|
||||
// {
|
||||
// ASSIGNCOPY(self->org, _v);
|
||||
@@ -347,19 +364,6 @@
|
||||
// return self->nickname;
|
||||
// }
|
||||
|
||||
// - (void) setCategories: (id) _v
|
||||
// {
|
||||
// if (![_v isKindOfClass:[NGVCardStrArrayValue class]] && [_v isNotNull])
|
||||
// _v = [[[NGVCardStrArrayValue alloc] initWithPropertyList:_v] autorelease];
|
||||
|
||||
// ASSIGNCOPY(self->categories, _v);
|
||||
// }
|
||||
|
||||
// - (NGVCardStrArrayValue *) categories
|
||||
// {
|
||||
// return self->categories;
|
||||
// }
|
||||
|
||||
// - (void) setTel: (NSArray *) _tel
|
||||
// {
|
||||
// ASSIGNCOPY(self->tel, _tel);
|
||||
|
||||
Reference in New Issue
Block a user