--- /dev/null
+2004-06-29 Helge Hess <helge.hess@opengroupware.org>
+
+ * created ChangeLog
+
#import <Foundation/NSObject.h>
@class NSString, NSURL, NSNumber;
-@class OCSFolderManager, OCSFolderType;
+@class OCSFolderManager, OCSFolderType, OCSChannelManager;
@interface OCSFolder : NSObject
{
- (NSURL *)location;
- (NSString *)folderTypeName;
+- (OCSFolderManager *)folderManager;
+- (OCSChannelManager *)channelManager;
+
@end
#endif /* __OGoContentStore_OCSFolder_H__ */
return self->folderTypeName;
}
+
+- (OCSFolderManager *)folderManager {
+ return self->folderManager;
+}
+- (OCSChannelManager *)channelManager {
+ return [[self folderManager] channelManager];
+}
+
/* description */
- (NSString *)description {
- (NSURL *)folderInfoLocation;
-/* checking connection */
+/* connection */
+- (OCSChannelManager *)channelManager;
- (BOOL)canConnect;
/* handling folder names */
return [[self folderInfoLocation] ocsTableName];
}
-/* checking connection */
+/* connection */
- (OCSChannelManager *)channelManager {
return self->channelManager;
__PRETTY_FUNCTION__, _record];
return nil;
}
-
- locationString = [_record objectForKey:@"cLocation"];
+
+ locationString = [_record objectForKey:@"cQuickLocation"];
quickLocation = [locationString isNotNull]
? [NSURL URLWithString:locationString]
: nil;