Gitea CI / Check code and tests (push) Successful in 8m7s
Gitea CI / Build Windows x64 app (push) Successful in 5m48s
Gitea CI / Build Android APK (push) Successful in 5m59s
Gitea CI / Audit and package Windows x64 (push) Successful in 1m17s
Gitea CI / Assemble and validate CI artifacts (push) Successful in 1m22s
Gitea CI / Gitea CI passed (push) Successful in 2s
27 lines
1.0 KiB
C++
27 lines
1.0 KiB
C++
#ifndef FLUTTER_PLUGIN_CUTDEX_NATIVE_PLUGIN_H_
|
|
#define FLUTTER_PLUGIN_CUTDEX_NATIVE_PLUGIN_H_
|
|
#include <flutter/plugin_registrar_windows.h>
|
|
#include <flutter/method_channel.h>
|
|
#include "window_chrome.h"
|
|
#include "native_file_drop.h"
|
|
#include <memory>
|
|
|
|
namespace cutdex_native {
|
|
class CutdexNativePlugin : public flutter::Plugin {
|
|
public:
|
|
static void RegisterWithRegistrar(flutter::PluginRegistrarWindows* registrar, FlutterDesktopMessengerRef core);
|
|
explicit CutdexNativePlugin(flutter::PluginRegistrarWindows* registrar, FlutterDesktopMessengerRef core);
|
|
~CutdexNativePlugin() override;
|
|
CutdexNativePlugin(const CutdexNativePlugin&) = delete;
|
|
CutdexNativePlugin& operator=(const CutdexNativePlugin&) = delete;
|
|
private:
|
|
flutter::PluginRegistrarWindows* registrar_;
|
|
int delegate_id_;
|
|
std::unique_ptr<flutter::BinaryMessenger> messenger_;
|
|
std::unique_ptr<WindowChrome> chrome_;
|
|
std::unique_ptr<NativeFileDrop> drop_;
|
|
std::unique_ptr<flutter::MethodChannel<flutter::EncodableValue>> device_info_;
|
|
};
|
|
}
|
|
#endif
|