#ifndef FLUTTER_PLUGIN_CUTDEX_NATIVE_FILE_DROP_H_ #define FLUTTER_PLUGIN_CUTDEX_NATIVE_FILE_DROP_H_ #include #include // Receives Explorer file references and routes them to configured Flutter // destinations. Must live on the window's STA thread. class NativeFileDrop { public: NativeFileDrop(HWND view, flutter::BinaryMessenger* messenger); ~NativeFileDrop(); NativeFileDrop(const NativeFileDrop&) = delete; NativeFileDrop& operator=(const NativeFileDrop&) = delete; private: class Target; Target* target_ = nullptr; HWND view_; bool ole_initialized_ = false; bool registered_ = false; }; #endif // FLUTTER_PLUGIN_CUTDEX_NATIVE_FILE_DROP_H_