This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <Foundation/Foundation.h> | |
// Partial header for CBBlueLightClient in private CoreBrightness API | |
@interface CBBlueLightClient : NSObject | |
- (BOOL)setStrength:(float)strength commit:(BOOL)commit; | |
- (BOOL)setEnabled:(BOOL)enabled; | |
@end | |
int main(int argc, const char * argv[]) { | |
CBBlueLightClient *client = [[CBBlueLightClient alloc] init]; |