Files
cutdex/packages/cutdex_native/windows/cutdex_native_plugin.h
T
lingjhf 27e77fff39 feat: initial Cutdex application
Add the Flutter video editing application with project management, media
import, timeline editing, preview, AI assistance, diagnostics and settings.

Include shared UI and native host packages, platform runners, application
tests and release tooling.

Provide usage and contribution guides, the MIT license and third-party
notices. Exclude local credentials, build outputs and validation data.
2026-10-05 23:36:23 +08:00

26 lines
908 B
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);
explicit CutdexNativePlugin(flutter::PluginRegistrarWindows* registrar);
~CutdexNativePlugin() override;
CutdexNativePlugin(const CutdexNativePlugin&) = delete;
CutdexNativePlugin& operator=(const CutdexNativePlugin&) = delete;
private:
flutter::PluginRegistrarWindows* registrar_;
int delegate_id_;
std::unique_ptr<WindowChrome> chrome_;
std::unique_ptr<NativeFileDrop> drop_;
std::unique_ptr<flutter::MethodChannel<flutter::EncodableValue>> device_info_;
};
}
#endif