Signal-iOS/SignalServiceKit/src/Storage/TSStorageKeys.h
Michael Kirk 01e808febe localNumber persistance from Category -> TSAccountManager
Following the pattern that singleton methods for effectively global
state should get/set on their own dedicated dbConnection for consistency
and to avoid being blocked by unrelated writes.
2017-08-03 13:27:09 -04:00

34 lines
809 B
C

//
// Copyright (c) 2017 Open Whisper Systems. All rights reserved.
//
#ifndef TextSecureKit_TSStorageKeys_h
#define TextSecureKit_TSStorageKeys_h
#pragma mark User Account Keys
#define TSStorageUserAccountCollection @"TSStorageUserAccountCollection"
#define TSStorageServerAuthToken @"TSStorageServerAuthToken"
#define TSStorageServerSignalingKey @"TSStorageServerSignalingKey"
/**
* Preferences exposed to the user
*/
#pragma mark User Preferences
#define TSStorageUserPreferencesCollection @"TSStorageUserPreferencesCollection"
/**
* Internal settings of the application, not exposed to the user.
*/
#pragma mark Internal Settings
#define TSStorageInternalSettingsCollection @"TSStorageInternalSettingsCollection"
#define TSStorageInternalSettingsVersion @"TSLastLaunchedVersion"
#endif