| 1 | /* NavigationContext_enums.h |
| 2 | * |
| 3 | * Copyright (C) 2020-2021 David Weenink |
| 4 | * |
| 5 | * This code is free software; you can redistribute it and/or modify |
| 6 | * it under the terms of the GNU General Public License as published by |
| 7 | * the Free Software Foundation; either version 2 of the License, or (at |
| 8 | * your option) any later version. |
| 9 | * |
| 10 | * This code is distributed in the hope that it will be useful, but |
| 11 | * WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| 13 | * See the GNU General Public License for more details. |
| 14 | * |
| 15 | * You should have received a copy of the GNU General Public License |
| 16 | * along with this work. If not, see <http://www.gnu.org/licenses/>. |
| 17 | */ |
| 18 | |
| 19 | enums_begin (kContext_combination, 1) |
| 20 | enums_add (kContext_combination, 1, BEFORE, U"before") |
| 21 | enums_add (kContext_combination, 2, AFTER, U"after") |
| 22 | enums_add (kContext_combination, 3, BEFORE_AND_AFTER, U"before and after") |
| 23 | enums_add (kContext_combination, 4, BEFORE_OR_AFTER_NOT_BOTH, U"before or after, not both") |
| 24 | enums_add (kContext_combination, 5, BEFORE_OR_AFTER_OR_BOTH, U"before or after or both") |
| 25 | enums_add (kContext_combination, 6, NO_BEFORE_AND_NO_AFTER, U"no before and no after") |
| 26 | enums_end (kContext_combination, 6, NO_BEFORE_AND_NO_AFTER) |
| 27 | |
| 28 | enums_begin (kContext_where, 1) |
| 29 | enums_add (kContext_where, 1, TOPIC, U"topic") |
| 30 | enums_add (kContext_where, 2, BEFORE, U"before") |
| 31 | enums_add (kContext_where, 3, AFTER, U"after") |
| 32 | enums_end (kContext_where, 3, TOPIC) |
| 33 | |
| 34 | enums_begin (kMatchBoolean, 1) |
| 35 | enums_add (kMatchBoolean, 1, AND_, U"AND") |
| 36 | enums_add (kMatchBoolean, 2, OR_, U"OR") |
| 37 | enums_end (kMatchBoolean, 2, OR_) |
| 38 | |
| 39 | /* End of file NavigationContext_enums.h */ |