aboutsummaryrefslogtreecommitdiff
path: root/QSThingsPlugin/Types
diff options
context:
space:
mode:
authorRuben Beltran del Rio <git@r.bdr.sh>2025-09-11 17:13:17 +0200
committerRuben Beltran del Rio <git@r.bdr.sh>2025-09-11 17:13:17 +0200
commit5870e5cf03ceaff7080174b573618631a413110e (patch)
tree1bbd9d0c441a7316bcd1e7997b917a17ab5de978 /QSThingsPlugin/Types
parentce8b86a7522bda8896115ca7d0118c9d574f3a3f (diff)
Add tags and sections
Diffstat (limited to 'QSThingsPlugin/Types')
-rw-r--r--QSThingsPlugin/Types/Constants.h10
-rw-r--r--QSThingsPlugin/Types/Constants.m9
2 files changed, 19 insertions, 0 deletions
diff --git a/QSThingsPlugin/Types/Constants.h b/QSThingsPlugin/Types/Constants.h
index 044dcde..b94fd7a 100644
--- a/QSThingsPlugin/Types/Constants.h
+++ b/QSThingsPlugin/Types/Constants.h
@@ -9,3 +9,13 @@ extern NSString *const kTaskType;
#pragma mark - Keychain
extern NSString *const kKeychainService;
extern NSString *const kAuthenticationKeyKeychainKey;
+
+#pragma mark - App Section Keys
+typedef NSString* ThingsAppSectionKey NS_STRING_ENUM;
+
+extern ThingsAppSectionKey const ThingsAppSectionKeyInbox;
+extern ThingsAppSectionKey const ThingsAppSectionKeyToday;
+extern ThingsAppSectionKey const ThingsAppSectionKeyUpcoming;
+extern ThingsAppSectionKey const ThingsAppSectionKeyAnytime;
+extern ThingsAppSectionKey const ThingsAppSectionKeySomeday;
+extern ThingsAppSectionKey const ThingsURLRouteAdd;
diff --git a/QSThingsPlugin/Types/Constants.m b/QSThingsPlugin/Types/Constants.m
index e6158a2..d92d007 100644
--- a/QSThingsPlugin/Types/Constants.m
+++ b/QSThingsPlugin/Types/Constants.m
@@ -9,3 +9,12 @@ NSString *const kTaskType = @"things.task";
#pragma mark - Keychain
NSString *const kKeychainService = @"QSThingsPlugin";
NSString *const kAuthenticationKeyKeychainKey = @"authenticationKey";
+
+#pragma mark - App Section Keys
+typedef NSString* ThingsAppSectionKey NS_STRING_ENUM;
+
+ThingsAppSectionKey const ThingsAppSectionKeyInbox = @"things-app-section-inbox";
+ThingsAppSectionKey const ThingsAppSectionKeyToday = @"things-app-section-today";
+ThingsAppSectionKey const ThingsAppSectionKeyUpcoming = @"things-app-section-upcoming";
+ThingsAppSectionKey const ThingsAppSectionKeyAnytime = @"things-app-section-anytime";
+ThingsAppSectionKey const ThingsAppSectionKeySomeday = @"things-app-section-someday";