diff options
author | 2013-11-14 00:13:07 -0800 | |
---|---|---|
committer | 2013-11-14 00:13:07 -0800 | |
commit | 1acd00a3980410c989ee92b04aca23c9c70f0ced (patch) | |
tree | 5ef5b7fe17423f0be0c80c47ab98e3e66061ea15 /src/objc/imap/MCOIMAPSearchExpression.h | |
parent | df1a6bc64fcac26f46bfdd19947786a42c95540b (diff) |
Support searching by a gmail thread id
Diffstat (limited to 'src/objc/imap/MCOIMAPSearchExpression.h')
-rw-r--r-- | src/objc/imap/MCOIMAPSearchExpression.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/objc/imap/MCOIMAPSearchExpression.h b/src/objc/imap/MCOIMAPSearchExpression.h index 0983f685..2f4515dc 100644 --- a/src/objc/imap/MCOIMAPSearchExpression.h +++ b/src/objc/imap/MCOIMAPSearchExpression.h @@ -15,6 +15,8 @@ #import <Foundation/Foundation.h> #import <MailCore/MCOConstants.h> +@class MCOIndexSet; + @interface MCOIMAPSearchExpression : NSObject /** @@ -72,6 +74,15 @@ + (MCOIMAPSearchExpression *) searchHeader:(NSString *)header value:(NSString *)value; /** + Creates a search expression that matches emails with the given gmail thread id + + Example: + + MCOIMAPSearchExpression * expr = [MCOIMAPSearchExpression searchGmailThredId:aThreadId] + */ ++ (MCOIMAPSearchExpression *) searchGmailThreadId:(uint64_t)number; + +/** Creates a search expression that's a disjunction of two search expressions. Example: |