aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar DINH Viet Hoa <dinh.viet.hoa@gmail.com>2013-02-04 23:05:59 -0800
committerGravatar DINH Viet Hoa <dinh.viet.hoa@gmail.com>2013-02-04 23:05:59 -0800
commit70979718086b989893ab963b0878ae050ca7fa77 (patch)
tree254eb7a60deddb00aef84993fd255511a5e71f48 /src
parent84935a809984622ea9a3c7d445aeea3a414dd1c8 (diff)
Improved header documentation.
Diffstat (limited to 'src')
-rw-r--r--src/async/imap/MCIMAPCopyMessagesOperation.h1
-rw-r--r--src/async/imap/MCIMAPFetchContentOperation.h1
-rw-r--r--src/async/imap/MCIMAPFetchFoldersOperation.h3
-rw-r--r--src/async/imap/MCIMAPFetchMessagesOperation.h3
-rw-r--r--src/async/imap/MCIMAPFetchNamespaceOperation.cc5
-rw-r--r--src/async/imap/MCIMAPFetchNamespaceOperation.h3
-rw-r--r--src/async/imap/MCIMAPIdentityOperation.h1
-rw-r--r--src/async/imap/MCIMAPOperation.h5
-rw-r--r--src/async/imap/MCIMAPSearchOperation.h1
9 files changed, 19 insertions, 4 deletions
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