forked from hieplpvip/LGgramAssistant
-
Notifications
You must be signed in to change notification settings - Fork 1
/
CBBlueLightClient.h
53 lines (43 loc) · 1.05 KB
/
CBBlueLightClient.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#import <Foundation/Foundation.h>
//
// CBBlueLightClient.h
// NightShifter
//
// Created by Eric Lanini on 6/11/17.
// Copyright © 2017 Eric Lanini. All rights reserved.
//
#ifndef CBBlueLightClient_h
#define CBBlueLightClient_h
typedef struct {
int hour;
int minute;
} Time;
typedef struct {
Time fromTime;
Time toTime;
} Schedule;
typedef struct {
float minCCT;
float maxCCT;
float midCCT;
} CCTRange;
typedef struct {
char active;
char enabled;
char sunSchedulePermitted;
int mode;
Schedule schedule;
unsigned long long disableFlags;
} StatusData;
@interface CBBlueLightClient : NSObject
+ (BOOL)supportsBlueLightReduction;
- (BOOL)setEnabled:(BOOL)arg1;
- (BOOL)setStrength:(float)arg1 withPeriod: (float) arg2 commit: (BOOL) arg3;
- (BOOL)setStrength:(float)arg1 commit: (BOOL)arg2;
- (BOOL)setMode:(int)arg1;
- (BOOL)getStrength:(float *)arg1;
- (BOOL)getCCT:(float *)arg1;
- (BOOL)getCCTRange:(CCTRange *) arg1;
- (BOOL)getBlueLightStatus:(StatusData *)arg1;
@end
#endif /* CBBlueLightClient_h */