app/lib/common/rust/api/win32_api.dart

17 lines
699 B
Dart
Raw Permalink Normal View History

// This file is automatically generated, so please do not edit it.
// @generated by `flutter_rust_bridge`@ 2.6.0.
// ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import
import '../frb_generated.dart';
import 'package:flutter_rust_bridge/flutter_rust_bridge_for_generated.dart';
Future<void> sendNotify(
2024-06-04 20:29:31 +08:00
{String? summary, String? body, String? appName, String? appId}) =>
2024-05-22 20:05:50 +08:00
RustLib.instance.api.crateApiWin32ApiSendNotify(
2024-06-04 20:29:31 +08:00
summary: summary, body: body, appName: appName, appId: appId);
2024-06-04 20:29:31 +08:00
Future<bool> setForegroundWindow({required String windowName}) =>
RustLib.instance.api
.crateApiWin32ApiSetForegroundWindow(windowName: windowName);