diff options
Diffstat (limited to 'QSThingsPlugin/Types')
| -rw-r--r-- | QSThingsPlugin/Types/Constants.h | 10 | ||||
| -rw-r--r-- | QSThingsPlugin/Types/Constants.m | 9 |
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"; |