From 5870e5cf03ceaff7080174b573618631a413110e Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Thu, 11 Sep 2025 17:13:17 +0200 Subject: Add tags and sections --- QSThingsPlugin/Types/Constants.h | 10 ++++++++++ QSThingsPlugin/Types/Constants.m | 9 +++++++++ 2 files changed, 19 insertions(+) (limited to 'QSThingsPlugin/Types') 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"; -- cgit