diff options
author | Hoa V. DINH <dinh.viet.hoa@gmail.com> | 2013-08-18 22:28:32 -0700 |
---|---|---|
committer | Hoa V. DINH <dinh.viet.hoa@gmail.com> | 2013-08-18 22:28:32 -0700 |
commit | 807b39da9aa62365f6a7494b7666c844a781f2c7 (patch) | |
tree | c304cd1ad2b0807f2df89cbac56c8af79e38c37f /src | |
parent | 2620459cbc853d4bf166acf9080640953554534b (diff) |
Removed public method setDelimiter
Diffstat (limited to 'src')
-rw-r--r-- | src/core/abstract/MCMessageConstants.h | 1 | ||||
-rwxr-xr-x | src/core/imap/MCIMAPSession.cc | 8 | ||||
-rwxr-xr-x | src/core/imap/MCIMAPSession.h | 4 |
3 files changed, 9 insertions, 4 deletions
diff --git a/src/core/abstract/MCMessageConstants.h b/src/core/abstract/MCMessageConstants.h index 097ced04..30ce0efc 100644 --- a/src/core/abstract/MCMessageConstants.h +++ b/src/core/abstract/MCMessageConstants.h @@ -208,6 +208,7 @@ namespace mailcore { ErrorDeleteMessage, ErrorInvalidAccount, ErrorFile, + ErrorCompression, }; enum PartType { diff --git a/src/core/imap/MCIMAPSession.cc b/src/core/imap/MCIMAPSession.cc index 05330573..86a35b2a 100755 --- a/src/core/imap/MCIMAPSession.cc +++ b/src/core/imap/MCIMAPSession.cc @@ -477,6 +477,7 @@ bool IMAPSession::isVoIPEnabled() return mVoIPEnabled; } +#if 0 void IMAPSession::setDelimiter(char delimiter) { mDelimiter = delimiter; @@ -486,6 +487,7 @@ char IMAPSession::delimiter() { return mDelimiter; } +#endif static bool hasError(int errorCode) { @@ -1264,7 +1266,8 @@ Array * /* IMAPFolder */ IMAPSession::fetchSubscribedFolders(ErrorCode * pError) if (* pError != ErrorNone) return NULL; - setDelimiter(delimiter); + //setDelimiter(delimiter); + mDelimiter = delimiter; } String * prefix; @@ -1299,7 +1302,8 @@ Array * /* IMAPFolder */ IMAPSession::fetchAllFolders(ErrorCode * pError) if (* pError != ErrorNone) return NULL; - setDelimiter(delimiter); + //setDelimiter(delimiter); + mDelimiter = delimiter; } String * prefix = NULL; diff --git a/src/core/imap/MCIMAPSession.h b/src/core/imap/MCIMAPSession.h index dceab02b..13222cd4 100755 --- a/src/core/imap/MCIMAPSession.h +++ b/src/core/imap/MCIMAPSession.h @@ -59,8 +59,8 @@ namespace mailcore { virtual bool isVoIPEnabled(); // Needed for fetchSubscribedFolders() and fetchAllFolders(). - virtual void setDelimiter(char delimiter); - virtual char delimiter(); + //virtual void setDelimiter(char delimiter); + //virtual char delimiter(); // Needed for fetchSubscribedFolders() and fetchAllFolders(). virtual void setDefaultNamespace(IMAPNamespace * ns); |