@@ -2175,6 +2175,41 @@ class CNativeApiBindings {
21752175 _native_application_set_dock_icon_visiblePtr
21762176 .asFunction< bool Function (bool )> ();
21772177
2178+ bool native_application_set_progress_bar (double progress) {
2179+ return _native_application_set_progress_bar (progress);
2180+ }
2181+
2182+ late final _native_application_set_progress_barPtr =
2183+ _lookup< ffi.NativeFunction <ffi.Bool Function (ffi.Double )>> (
2184+ 'native_application_set_progress_bar' ,
2185+ );
2186+ late final _native_application_set_progress_bar =
2187+ _native_application_set_progress_barPtr
2188+ .asFunction< bool Function (double )> ();
2189+
2190+ bool native_application_set_badge_label (ffi.Pointer <ffi.Char > label) {
2191+ return _native_application_set_badge_label (label);
2192+ }
2193+
2194+ late final _native_application_set_badge_labelPtr =
2195+ _lookup< ffi.NativeFunction <ffi.Bool Function (ffi.Pointer <ffi.Char >)>> (
2196+ 'native_application_set_badge_label' ,
2197+ );
2198+ late final _native_application_set_badge_label =
2199+ _native_application_set_badge_labelPtr
2200+ .asFunction< bool Function (ffi.Pointer <ffi.Char >)> ();
2201+
2202+ bool native_application_set_brightness (native_brightness_t brightness) {
2203+ return _native_application_set_brightness (brightness.value);
2204+ }
2205+
2206+ late final _native_application_set_brightnessPtr =
2207+ _lookup< ffi.NativeFunction <ffi.Bool Function (ffi.UnsignedInt )>> (
2208+ 'native_application_set_brightness' ,
2209+ );
2210+ late final _native_application_set_brightness =
2211+ _native_application_set_brightnessPtr.asFunction< bool Function (int )> ();
2212+
21782213 bool native_application_set_menu_bar (int menu) {
21792214 return _native_application_set_menu_bar (menu);
21802215 }
@@ -5098,6 +5133,22 @@ typedef Dartnative_menu_event_callback_tFunction =
50985133 ffi.Pointer <ffi.Void > user_data,
50995134 );
51005135
5136+ enum native_brightness_t {
5137+ NATIVE_BRIGHTNESS_SYSTEM (0 ),
5138+ NATIVE_BRIGHTNESS_LIGHT (1 ),
5139+ NATIVE_BRIGHTNESS_DARK (2 );
5140+
5141+ final int value;
5142+ const native_brightness_t (this .value);
5143+
5144+ static native_brightness_t fromValue (int value) => switch (value) {
5145+ 0 => NATIVE_BRIGHTNESS_SYSTEM ,
5146+ 1 => NATIVE_BRIGHTNESS_LIGHT ,
5147+ 2 => NATIVE_BRIGHTNESS_DARK ,
5148+ _ => throw ArgumentError ("Unknown value for native_brightness_t: $value " ),
5149+ };
5150+ }
5151+
51015152/// Which concrete ApplicationEvent arrived.
51025153enum native_application_event_type_t {
51035154 NATIVE_APPLICATION_EVENT_TYPE_STARTED (0 ),
0 commit comments