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.
15 lines
413 B
Vala
15 lines
413 B
Vala
/*
|
|
* Copyright © 2017-2020 Michael Gratton <mike@vee.net>
|
|
*
|
|
* This software is licensed under the GNU Lesser General Public License
|
|
* (version 2.1 or later). See the COPYING file in this distribution.
|
|
*/
|
|
|
|
public class Mock.SearchQuery : Geary.SearchQuery {
|
|
|
|
internal SearchQuery(Gee.List<Geary.SearchQuery.Term> expression,
|
|
string raw) {
|
|
base(expression, raw);
|
|
}
|
|
|
|
}
|