2024-04-27 14:25:11 +08:00
|
|
|
// This file is automatically generated, so please do not edit it.
|
2024-05-22 20:05:50 +08:00
|
|
|
// Generated by `flutter_rust_bridge`@ 2.0.0-dev.35.
|
2024-04-27 14:25:11 +08:00
|
|
|
|
|
|
|
// 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(
|
|
|
|
{String? summary,
|
|
|
|
String? body,
|
|
|
|
String? appName,
|
|
|
|
String? appId,
|
|
|
|
dynamic hint}) =>
|
2024-05-22 20:05:50 +08:00
|
|
|
RustLib.instance.api.crateApiWin32ApiSendNotify(
|
2024-04-27 14:25:11 +08:00
|
|
|
summary: summary,
|
|
|
|
body: body,
|
|
|
|
appName: appName,
|
|
|
|
appId: appId,
|
|
|
|
hint: hint);
|
2024-04-28 22:28:48 +08:00
|
|
|
|
|
|
|
Future<bool> setForegroundWindow({required String windowName, dynamic hint}) =>
|
2024-05-22 20:05:50 +08:00
|
|
|
RustLib.instance.api.crateApiWin32ApiSetForegroundWindow(
|
|
|
|
windowName: windowName, hint: hint);
|