From 70979718086b989893ab963b0878ae050ca7fa77 Mon Sep 17 00:00:00 2001 From: DINH Viet Hoa Date: Mon, 4 Feb 2013 23:05:59 -0800 Subject: Improved header documentation. --- src/async/imap/MCIMAPCopyMessagesOperation.h | 1 + src/async/imap/MCIMAPFetchContentOperation.h | 1 + src/async/imap/MCIMAPFetchFoldersOperation.h | 3 ++- src/async/imap/MCIMAPFetchMessagesOperation.h | 3 ++- src/async/imap/MCIMAPFetchNamespaceOperation.cc | 5 +++++ src/async/imap/MCIMAPFetchNamespaceOperation.h | 3 +++ src/async/imap/MCIMAPIdentityOperation.h | 1 + src/async/imap/MCIMAPOperation.h | 5 +++-- src/async/imap/MCIMAPSearchOperation.h | 1 + 9 files changed, 19 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/async/imap/MCIMAPCopyMessagesOperation.h b/src/async/imap/MCIMAPCopyMessagesOperation.h index 58cbc301..6829e536 100644 --- a/src/async/imap/MCIMAPCopyMessagesOperation.h +++ b/src/async/imap/MCIMAPCopyMessagesOperation.h @@ -26,6 +26,7 @@ namespace mailcore { virtual void setUids(Array * uids); virtual Array * uids(); + // Result. virtual Array * destUids(); public: // subclass behavior diff --git a/src/async/imap/MCIMAPFetchContentOperation.h b/src/async/imap/MCIMAPFetchContentOperation.h index 0b61da23..390c57b7 100644 --- a/src/async/imap/MCIMAPFetchContentOperation.h +++ b/src/async/imap/MCIMAPFetchContentOperation.h @@ -29,6 +29,7 @@ namespace mailcore { virtual void setEncoding(Encoding encoding); virtual Encoding encoding(); + // Result. virtual Data * data(); public: // subclass behavior diff --git a/src/async/imap/MCIMAPFetchFoldersOperation.h b/src/async/imap/MCIMAPFetchFoldersOperation.h index d067ded8..025a3210 100644 --- a/src/async/imap/MCIMAPFetchFoldersOperation.h +++ b/src/async/imap/MCIMAPFetchFoldersOperation.h @@ -24,7 +24,8 @@ namespace mailcore { virtual void setFetchSubscribedEnabled(bool enabled); virtual bool isFetchSubscribedEnabled(); - virtual Array * folders(); + // Result. + virtual Array * /* IMAPFolder */ folders(); public: // subclass behavior virtual void main(); diff --git a/src/async/imap/MCIMAPFetchMessagesOperation.h b/src/async/imap/MCIMAPFetchMessagesOperation.h index 250ad8f3..6a6a5924 100644 --- a/src/async/imap/MCIMAPFetchMessagesOperation.h +++ b/src/async/imap/MCIMAPFetchMessagesOperation.h @@ -38,7 +38,8 @@ namespace mailcore { virtual void setKind(IMAPMessagesRequestKind kind); virtual IMAPMessagesRequestKind kind(); - virtual Array * messages(); + // Result. + virtual Array * /* IMAPMessage */ messages(); public: // subclass behavior virtual void main(); diff --git a/src/async/imap/MCIMAPFetchNamespaceOperation.cc b/src/async/imap/MCIMAPFetchNamespaceOperation.cc index 221280f3..6851130d 100644 --- a/src/async/imap/MCIMAPFetchNamespaceOperation.cc +++ b/src/async/imap/MCIMAPFetchNamespaceOperation.cc @@ -31,3 +31,8 @@ void IMAPFetchNamespaceOperation::main() MC_SAFE_RETAIN(mNamespaces); } +HashMap * IMAPFetchNamespaceOperation::namespaces() +{ + return mNamespaces; +} + diff --git a/src/async/imap/MCIMAPFetchNamespaceOperation.h b/src/async/imap/MCIMAPFetchNamespaceOperation.h index bea2b840..5e18b38a 100644 --- a/src/async/imap/MCIMAPFetchNamespaceOperation.h +++ b/src/async/imap/MCIMAPFetchNamespaceOperation.h @@ -20,6 +20,9 @@ namespace mailcore { IMAPFetchNamespaceOperation(); virtual ~IMAPFetchNamespaceOperation(); + // Result. + virtual HashMap * namespaces(); + public: // subclass behavior virtual void main(); diff --git a/src/async/imap/MCIMAPIdentityOperation.h b/src/async/imap/MCIMAPIdentityOperation.h index 17ff05c7..22a27a28 100644 --- a/src/async/imap/MCIMAPIdentityOperation.h +++ b/src/async/imap/MCIMAPIdentityOperation.h @@ -29,6 +29,7 @@ namespace mailcore { virtual void setVersion(String * version); virtual String * version(); + // Result. virtual HashMap * serverIdentity(); public: // subclass behavior diff --git a/src/async/imap/MCIMAPOperation.h b/src/async/imap/MCIMAPOperation.h index e78c1291..57541993 100644 --- a/src/async/imap/MCIMAPOperation.h +++ b/src/async/imap/MCIMAPOperation.h @@ -33,11 +33,12 @@ namespace mailcore { virtual void setImapCallback(IMAPOperationCallback * callback); virtual IMAPOperationCallback * imapCallback(); + virtual void start(); + + // Result. virtual void setError(ErrorCode error); virtual ErrorCode error(); - virtual void start(); - private: IMAPAsyncConnection * mSession; String * mFolder; diff --git a/src/async/imap/MCIMAPSearchOperation.h b/src/async/imap/MCIMAPSearchOperation.h index 040eb333..d7af9934 100644 --- a/src/async/imap/MCIMAPSearchOperation.h +++ b/src/async/imap/MCIMAPSearchOperation.h @@ -32,6 +32,7 @@ namespace mailcore { virtual void setSearchExpression(IMAPSearchExpression * expression); virtual IMAPSearchExpression * searchExpression(); + // Result. virtual Array * uids(); public: // subclass behavior -- cgit v1.2.3