]> err.no Git - sope/commitdiff
added a method to retrieve the currently selected IMAP4 folder
authorhelge <helge@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Wed, 9 Feb 2005 11:17:13 +0000 (11:17 +0000)
committerhelge <helge@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Wed, 9 Feb 2005 11:17:13 +0000 (11:17 +0000)
git-svn-id: http://svn.opengroupware.org/SOPE/trunk@545 e4a50df8-12e2-0310-a44c-efbce7f8a7e3

sope-mime/ChangeLog
sope-mime/NGImap4/ChangeLog
sope-mime/NGImap4/NGImap4Client.h
sope-mime/NGImap4/NGImap4Client.m
sope-mime/Version

index e10fe0157cf8818db6d17420a255056f6ff87ec3..55707e4a778b844fdbce70d75d711fc5c2faa391 100644 (file)
@@ -1,5 +1,7 @@
 2005-02-08  Helge Hess  <helge.hess@opengroupware.org>
 
+       * NGImap4: added method to retrieve selected folder (v4.5.211)
+
        * NGImap4: change in API: NGImap4Envelope now uses lists for 'from'
          and 'reply-to' headers (v4.5.210)
 
index 16d4b69110b31a9713f88905420687d75dc629e9..5d41d188813ab7f417c704d437bb992615279d07 100644 (file)
@@ -1,5 +1,8 @@
 2005-02-08  Helge Hess  <helge.hess@opengroupware.org>
 
+       * NGImap4Client.m: added -selectedFolderName method to retrieve the 
+         folder which was selected last
+
        * NGImap4ResponseParser.m: properly parse from/reply-to as lists
 
        * NGImap4Envelope.m: properly use NSArray for 'from' and 'reply-to',
index dcd65245d09c6593789753f1b9871f63326f1120..cf337637c60fae878b2952d270b25b9329af20cc 100644 (file)
@@ -96,6 +96,8 @@ typedef enum {
 - (NSString *)delimiter;
 - (EOGlobalID *)serverGlobalID;
 
+- (NSString *)selectedFolderName;
+
 /* notifications */
 
 - (void)registerForResponseNotification:(id<NGImap4ResponseReceiver>)_obj;
index cf3059b52aee6f2d5496c97ddeb5c8ee7ffc31a6..fbc53a3657333ceffa2fb32190436e72bf682a15 100644 (file)
@@ -258,6 +258,10 @@ static BOOL         ImapDebugEnabled   = NO;
   return self->serverGID;
 }
 
+- (NSString *)selectedFolderName {
+  return self->selectedFolder;
+}
+
 /* connection */
 
 - (id)_openSocket {
index 4d323dc011b99fca82a9297168614895541a3557..91a8de37686856ba7879395e53778c8304f22df5 100644 (file)
@@ -2,6 +2,6 @@
 
 MAJOR_VERSION:=4
 MINOR_VERSION:=5
-SUBMINOR_VERSION:=210
+SUBMINOR_VERSION:=211
 
 # v4.2.149 requires libNGStreams v4.2.34