mirror of
https://github.com/GLEGram/GLEGram-iOS.git
synced 2026-04-29 22:37:53 +02:00
4647310322
Based on Swiftgram 12.5 (Telegram iOS 12.5). All GLEGram features ported and organized in GLEGram/ folder. Features: Ghost Mode, Saved Deleted Messages, Content Protection Bypass, Font Replacement, Fake Profile, Chat Export, Plugin System, and more. See CHANGELOG_12.5.md for full details.
32 lines
860 B
Objective-C
32 lines
860 B
Objective-C
#import <Foundation/Foundation.h>
|
|
#import <UIKit/UIKit.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
typedef enum
|
|
{
|
|
TGPresentationAutoNightModeDisabled,
|
|
TGPresentationAutoNightModeBrightness,
|
|
TGPresentationAutoNightModeScheduled,
|
|
TGPresentationAutoNightModeSunsetSunrise
|
|
} TGPresentationAutoNightMode;
|
|
|
|
@interface TGPresentationAutoNightPreferences : NSObject <NSCoding>
|
|
|
|
@property (nonatomic, readonly) TGPresentationAutoNightMode mode;
|
|
|
|
@property (nonatomic, readonly) CGFloat brightnessThreshold;
|
|
|
|
@property (nonatomic, readonly) int32_t scheduleStart;
|
|
@property (nonatomic, readonly) int32_t scheduleEnd;
|
|
|
|
@property (nonatomic, readonly) CGFloat latitude;
|
|
@property (nonatomic, readonly) CGFloat longitude;
|
|
@property (nonatomic, readonly) NSString *cachedLocationName;
|
|
|
|
@property (nonatomic, readonly) int32_t preferredPalette;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|