Monotone-Parent: 1ffb41682368b46b7d5dfbe50eb430e0859f6837

Monotone-Revision: 35c6e565c282464b0b27410ce485ee952c87166a

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2008-07-08T01:56:34
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Francis Lachapelle
2008-07-08 01:56:34 +00:00
parent fb79b7a0c1
commit d9304d4063
2 changed files with 7 additions and 0 deletions

View File

@@ -28,6 +28,7 @@
@class NSArray;
@class NSString;
@class SOGoContactFolder;
@class SOGoContactLDAPFolder;
@interface UIxContactsListViewContainer : UIxComponent
{
@@ -44,6 +45,7 @@
- (NSString *) currentContactFolderId;
- (NSString *) currentContactFolderOwner;
- (NSString *) currentContactFolderName;
- (NSString *) currentContactFolderClass;
- (NSString *) verticalDragHandleStyle;
- (NSString *) horizontalDragHandleStyle;

View File

@@ -124,6 +124,11 @@
return [currentFolder ownerInContext: context];
}
- (NSString *) currentContactFolderClass
{
return ([currentFolder isKindOfClass: [SOGoContactLDAPFolder class]]? @"remote" : @"local");
}
- (BOOL) hasContactSelectionButtons
{
return (selectorComponentClass != nil);