Monotone-Parent: 731a7f62eb98a27ed958a12f2f7a86567832ee16

Monotone-Revision: 3f3b43eebeb6af62782d4d959c2a06ffd214563e

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2006-10-13T23:26:27
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2006-10-13 23:26:27 +00:00
parent 14ed69d6ed
commit 6f49195651
3 changed files with 46 additions and 0 deletions
+32
View File
@@ -37,6 +37,7 @@
[self setTitle:@"UIxContacts"];
[self setWindowId:@"UIxContacts"];
[self setCallback:@"undefined"];
checkedBoxes = nil;
}
return self;
}
@@ -199,4 +200,35 @@
return [currentContact cn];
}
- (void) setCheckedBoxes: (NSArray *) boxes
{
checkedBoxes = boxes;
}
- (void) setHasCheckBoxes: (BOOL) aBool
{
hasCheckBoxes = aBool;
}
- (BOOL) hasCheckBoxes
{
return hasCheckBoxes;
}
- (BOOL) isCheckBoxChecked
{
return (checkedBoxes != nil
&& [checkedBoxes containsObject: currentContact]);
}
- (void) setCheckBoxOnChange: (NSString *) aString
{
checkBoxOnChange = aString;
}
- (NSString *) checkBoxOnChange
{
return checkBoxOnChange;
}
@end /* UIxContactSelector */