Geary.SearchQuery: Allow client apps to build search queries
Adds classes that allow building arbitrary query expressions and require an instance to be provided to Geary.SearchQuery, to be set as a property. This enables query expressions to be parsed by clients instead of the engine, in which ever whay they choose.
This commit is contained in:
parent
4fe0d92147
commit
0112c8192c
10 changed files with 1229 additions and 57 deletions
|
|
@ -7,8 +7,9 @@
|
|||
|
||||
public class Mock.SearchQuery : Geary.SearchQuery {
|
||||
|
||||
internal SearchQuery(Geary.Account owner, string raw) {
|
||||
base(owner, raw, Geary.SearchQuery.Strategy.EXACT);
|
||||
internal SearchQuery(Gee.List<Geary.SearchQuery.Term> expression,
|
||||
string raw) {
|
||||
base(expression, raw);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue