| 1 | /* NavigationContext_def.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. See the GNU |
| 13 | * 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 | #define ooSTRUCT NavigationContext |
| 20 | oo_DEFINE_CLASS (NavigationContext, Daata) |
| 21 | |
| 22 | oo_OBJECT (Strings, 0, topicLabels) // because oo_STRING_Vector needs size |
| 23 | oo_ENUM (kMelder_string, topicCriterion) |
| 24 | oo_ENUM (kMatchBoolean, topicMatchBoolean) |
| 25 | |
| 26 | oo_OBJECT (Strings, 0, beforeLabels) |
| 27 | oo_ENUM (kMelder_string, beforeCriterion) |
| 28 | oo_ENUM (kMatchBoolean, beforeMatchBoolean) |
| 29 | |
| 30 | oo_OBJECT (Strings, 0, afterLabels) |
| 31 | oo_ENUM (kMelder_string, afterCriterion) |
| 32 | oo_ENUM (kMatchBoolean, afterMatchBoolean) |
| 33 | |
| 34 | oo_ENUM (kContext_combination, combinationCriterion) |
| 35 | oo_BOOLEAN (excludeTopicMatch) |
| 36 | |
| 37 | #if oo_DECLARING |
| 38 | void v1_info () |
| 39 | override; |
| 40 | #endif |
| 41 | |
| 42 | oo_END_CLASS (NavigationContext) |
| 43 | #undef ooSTRUCT |
| 44 | |
| 45 | /* End of file NavigationContext_def.h */ |