]> err.no Git - scalable-opengroupware.org/commitdiff
git-svn-id: http://svn.opengroupware.org/SOGo/trunk@74 d1b88da0-ebda-0310-925b-ed51d8...
authorhelge <helge@d1b88da0-ebda-0310-925b-ed51d893ca5b>
Tue, 29 Jun 2004 11:25:10 +0000 (11:25 +0000)
committerhelge <helge@d1b88da0-ebda-0310-925b-ed51d893ca5b>
Tue, 29 Jun 2004 11:25:10 +0000 (11:25 +0000)
OGoContentStore/ChangeLog [new file with mode: 0644]
OGoContentStore/OCSFolder.h
OGoContentStore/OCSFolder.m
OGoContentStore/OCSFolderManager.h
OGoContentStore/OCSFolderManager.m

diff --git a/OGoContentStore/ChangeLog b/OGoContentStore/ChangeLog
new file mode 100644 (file)
index 0000000..a29e594
--- /dev/null
@@ -0,0 +1,4 @@
+2004-06-29  Helge Hess  <helge.hess@opengroupware.org>
+
+       * created ChangeLog
+
index 2d74c5e436d9f183339dc15925d0135a3371b3f7..e1ff59fc3a942f75ee6b2af51e7ba2f9d429737c 100644 (file)
@@ -26,7 +26,7 @@
 #import <Foundation/NSObject.h>
 
 @class NSString, NSURL, NSNumber;
-@class OCSFolderManager, OCSFolderType;
+@class OCSFolderManager, OCSFolderType, OCSChannelManager;
 
 @interface OCSFolder : NSObject
 {
@@ -54,6 +54,9 @@
 - (NSURL    *)location;
 - (NSString *)folderTypeName;
 
+- (OCSFolderManager *)folderManager;
+- (OCSChannelManager *)channelManager;
+
 @end
 
 #endif /* __OGoContentStore_OCSFolder_H__ */
index 373b127d731c8984747406fa15e2998e37d329f5..0995f86098f5c3abc876fc743bbb6772d404f8ba 100644 (file)
   return self->folderTypeName;
 }
 
+
+- (OCSFolderManager *)folderManager {
+  return self->folderManager;
+}
+- (OCSChannelManager *)channelManager {
+  return [[self folderManager] channelManager];
+}
+
 /* description */
 
 - (NSString *)description {
index 9f5d0fda088b38975c8ab93f36dca31b21313df0..dc2117e3d67c2eab7ab5a9f79ebd68b4740bbc9a 100644 (file)
@@ -49,8 +49,9 @@
 
 - (NSURL *)folderInfoLocation;
 
-/* checking connection */
+/* connection */
 
+- (OCSChannelManager *)channelManager;
 - (BOOL)canConnect;
 
 /* handling folder names */
index 6e9e408a0686d9b31518f2dd60fa4490687b8a0e..d11ca83c0a112b8b984bfa3d989411e2949af8d3 100644 (file)
@@ -125,7 +125,7 @@ static const char *OCSPathColumnPattern     = "c_path%i";
   return [[self folderInfoLocation] ocsTableName];
 }
 
-/* checking connection */
+/* connection */
 
 - (OCSChannelManager *)channelManager {
   return self->channelManager;
@@ -235,8 +235,8 @@ static const char *OCSPathColumnPattern     = "c_path%i";
            __PRETTY_FUNCTION__, _record];
     return nil;
   }
-
-  locationString = [_record objectForKey:@"cLocation"];
+  
+  locationString = [_record objectForKey:@"cQuickLocation"];
   quickLocation = [locationString isNotNull] 
     ? [NSURL URLWithString:locationString]
     : nil;