From: helge Date: Wed, 9 Feb 2005 11:17:13 +0000 (+0000) Subject: added a method to retrieve the currently selected IMAP4 folder X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f829b3522533d73dc9f10bdc28d223e5cc12179;p=sope added a method to retrieve the currently selected IMAP4 folder git-svn-id: http://svn.opengroupware.org/SOPE/trunk@545 e4a50df8-12e2-0310-a44c-efbce7f8a7e3 --- diff --git a/sope-mime/ChangeLog b/sope-mime/ChangeLog index e10fe015..55707e4a 100644 --- a/sope-mime/ChangeLog +++ b/sope-mime/ChangeLog @@ -1,5 +1,7 @@ 2005-02-08 Helge Hess + * 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) diff --git a/sope-mime/NGImap4/ChangeLog b/sope-mime/NGImap4/ChangeLog index 16d4b691..5d41d188 100644 --- a/sope-mime/NGImap4/ChangeLog +++ b/sope-mime/NGImap4/ChangeLog @@ -1,5 +1,8 @@ 2005-02-08 Helge Hess + * 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', diff --git a/sope-mime/NGImap4/NGImap4Client.h b/sope-mime/NGImap4/NGImap4Client.h index dcd65245..cf337637 100644 --- a/sope-mime/NGImap4/NGImap4Client.h +++ b/sope-mime/NGImap4/NGImap4Client.h @@ -96,6 +96,8 @@ typedef enum { - (NSString *)delimiter; - (EOGlobalID *)serverGlobalID; +- (NSString *)selectedFolderName; + /* notifications */ - (void)registerForResponseNotification:(id)_obj; diff --git a/sope-mime/NGImap4/NGImap4Client.m b/sope-mime/NGImap4/NGImap4Client.m index cf3059b5..fbc53a36 100644 --- a/sope-mime/NGImap4/NGImap4Client.m +++ b/sope-mime/NGImap4/NGImap4Client.m @@ -258,6 +258,10 @@ static BOOL ImapDebugEnabled = NO; return self->serverGID; } +- (NSString *)selectedFolderName { + return self->selectedFolder; +} + /* connection */ - (id)_openSocket { diff --git a/sope-mime/Version b/sope-mime/Version index 4d323dc0..91a8de37 100644 --- a/sope-mime/Version +++ b/sope-mime/Version @@ -2,6 +2,6 @@ MAJOR_VERSION:=4 MINOR_VERSION:=5 -SUBMINOR_VERSION:=210 +SUBMINOR_VERSION:=211 # v4.2.149 requires libNGStreams v4.2.34