1
0
mirror of https://github.com/Toxblh/MTMR.git synced 2026-01-11 01:18:39 +00:00
MTMR/MTMR/CBridge/CBBlueLightClient.h
Toxblh eee4082a1a + Added NightShift Widget
+ Updated icons for illumination and added icons for NightShift
2018-08-29 00:08:46 +01:00

35 lines
626 B
Objective-C

//
// CBBlueLightClient.h
// MTMR
//
// Created by Anton Palgunov on 28/08/2018.
// Copyright © 2018 Anton Palgunov. All rights reserved.
//
#import <Foundation/Foundation.h>
typedef struct {
int hour;
int minute;
} Time;
typedef struct {
Time fromTime;
Time toTime;
} Schedule;
typedef struct {
BOOL active;
BOOL enabled;
BOOL sunSchedulePermitted;
int mode;
Schedule schedule;
unsigned long long disableFlags;
} Status;
@interface CBBlueLightClient: NSObject
- (BOOL) setEnabled:(BOOL)enabled;
- (BOOL) setMode:(int)mode;
- (void) getBlueLightStatus: (Status *)status;
@end