mirror of
https://github.com/FelixKratz/SketchyBar
synced 2025-02-17 04:58:28 +00:00
add some more private DisplayServices signatures
This commit is contained in:
parent
fb3a653cfa
commit
b33e192b66
1 changed files with 5 additions and 0 deletions
|
@ -7,9 +7,14 @@
|
|||
typedef DISPLAY_EVENT_HANDLER(display_callback);
|
||||
|
||||
extern CGError DisplayServicesRegisterForBrightnessChangeNotifications(uint32_t did, uint32_t passthrough, void* callback);
|
||||
extern CGError DisplayServicesRegisterForAmbientLightCompensationNotifications(uint32_t did, uint32_t passthrough, void* callback);
|
||||
|
||||
extern CGError DisplayServicesUnregisterForBrightnessChangeNotifications(uint32_t did, uint32_t passthrough);
|
||||
extern CGError DisplayServicesUnregisterForAmbientLightCompensationNotifications(uint32_t did, uint32_t passthrough);
|
||||
|
||||
extern CGError DisplayServicesGetBrightness(uint32_t did, float* brightness);
|
||||
extern CGError DisplayServicesCanChangeBrightness(uint32_t did);
|
||||
extern CGError DisplayServicesAmbientLightCompensationEnabled(uint32_t did, bool* out);
|
||||
|
||||
extern CFUUIDRef CGDisplayCreateUUIDFromDisplayID(uint32_t did);
|
||||
extern CFArrayRef SLSCopyManagedDisplays(int cid);
|
||||
|
|
Loading…
Add table
Reference in a new issue