2014-05-06 19:41:08 +02:00
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
#import "PropertyListPreferences.h"
|
|
|
|
#import "Zid.h"
|
|
|
|
|
2014-12-08 21:16:18 +01:00
|
|
|
typedef NS_ENUM(NSUInteger, NotificationType) {
|
|
|
|
NotificationNoNameNoPreview,
|
|
|
|
NotificationNameNoPreview,
|
|
|
|
NotificationNamePreview,
|
|
|
|
};
|
|
|
|
|
2014-12-26 21:17:43 +01:00
|
|
|
typedef NS_ENUM(NSUInteger, TSImageQuality) {
|
2014-12-26 23:18:54 +01:00
|
|
|
TSImageQualityUncropped = 1,
|
|
|
|
TSImageQualityHigh = 2,
|
|
|
|
TSImageQualityMedium = 3,
|
|
|
|
TSImageQualityLow = 4
|
2014-12-26 21:17:43 +01:00
|
|
|
};
|
|
|
|
|
2014-05-06 19:41:08 +02:00
|
|
|
@class PhoneNumber;
|
|
|
|
|
|
|
|
@interface PropertyListPreferences (PropertyUtil)
|
|
|
|
|
2015-04-14 21:49:00 +02:00
|
|
|
- (NSTimeInterval) getCachedOrDefaultDesiredBufferDepth;
|
|
|
|
- (void) setCachedDesiredBufferDepth:(double)value;
|
2014-05-06 19:41:08 +02:00
|
|
|
|
2015-02-09 17:31:22 +01:00
|
|
|
- (BOOL) getHasSentAMessage;
|
|
|
|
- (void) setHasSentAMessage:(BOOL)enabled;
|
|
|
|
|
|
|
|
- (BOOL) getHasArchivedAMessage;
|
|
|
|
- (void) setHasArchivedAMessage:(BOOL)enabled;
|
|
|
|
|
2015-04-14 21:49:00 +02:00
|
|
|
- (BOOL)loggingIsEnabled;
|
|
|
|
- (void)setLoggingEnabled:(BOOL)flag;
|
2014-08-09 01:01:05 +02:00
|
|
|
|
2015-04-14 21:49:00 +02:00
|
|
|
- (BOOL)screenSecurityIsEnabled;
|
|
|
|
- (void)setScreenSecurity:(BOOL)flag;
|
2014-08-09 18:27:26 +02:00
|
|
|
|
2015-04-14 21:49:00 +02:00
|
|
|
- (NotificationType)notificationPreviewType;
|
|
|
|
- (void)setNotificationPreviewType:(NotificationType)type;
|
|
|
|
- (NSString*)nameForNotificationPreviewType:(NotificationType)notificationType;
|
2014-12-08 21:16:18 +01:00
|
|
|
|
2015-04-14 21:49:00 +02:00
|
|
|
- (BOOL)soundInForeground;
|
|
|
|
- (void)setSoundInForeground:(BOOL)enabled;
|
2014-12-26 21:17:43 +01:00
|
|
|
|
2015-04-28 14:41:50 +02:00
|
|
|
- (BOOL)hasRegisteredVOIPPush;
|
|
|
|
-(void)setHasRegisteredVOIPPush:(BOOL)enabled;
|
|
|
|
|
2015-04-14 21:49:00 +02:00
|
|
|
- (TSImageQuality)imageUploadQuality;
|
|
|
|
- (void)setImageUploadQuality:(TSImageQuality)quality;
|
|
|
|
|
|
|
|
- (NSString*)lastRanVersion;
|
|
|
|
- (NSString*)setAndGetCurrentVersion;
|
2014-08-09 01:01:05 +02:00
|
|
|
|
2015-01-30 23:11:35 +01:00
|
|
|
|
2014-05-06 19:41:08 +02:00
|
|
|
@end
|