diff options
Diffstat (limited to 'src/core/imap/MCIMAPSearchExpression.h')
-rw-r--r-- | src/core/imap/MCIMAPSearchExpression.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/core/imap/MCIMAPSearchExpression.h b/src/core/imap/MCIMAPSearchExpression.h index 2696366c..ed1c4b36 100644 --- a/src/core/imap/MCIMAPSearchExpression.h +++ b/src/core/imap/MCIMAPSearchExpression.h @@ -19,15 +19,22 @@ namespace mailcore { virtual String * value(); virtual uint64_t longNumber(); virtual time_t date(); + virtual IndexSet * uids(); + + virtual IMAPSearchExpression * leftExpression(); virtual IMAPSearchExpression * rightExpression(); static IMAPSearchExpression * searchAll(); static IMAPSearchExpression * searchFrom(String * value); + static IMAPSearchExpression * searchTo(String *value); + static IMAPSearchExpression * searchCc(String *value); + static IMAPSearchExpression * searchBcc(String *value); static IMAPSearchExpression * searchRecipient(String * value); static IMAPSearchExpression * searchSubject(String * value); static IMAPSearchExpression * searchContent(String * value); static IMAPSearchExpression * searchHeader(String * header, String * value); + static IMAPSearchExpression * searchUIDs(IndexSet * uids); static IMAPSearchExpression * searchRead(); static IMAPSearchExpression * searchUnread(); static IMAPSearchExpression * searchFlagged(); @@ -60,7 +67,7 @@ namespace mailcore { String * mHeader; String * mValue; uint64_t mLongNumber; - time_t mDate; + IndexSet * mUids; IMAPSearchExpression * mLeftExpression; IMAPSearchExpression * mRightExpression; void init(); |