#ifndef FLUTTER_PLUGIN_FLUTTER_QJS_PLUGIN_H_ #define FLUTTER_PLUGIN_FLUTTER_QJS_PLUGIN_H_ #include #include #include namespace flutter_qjs { class FlutterQjsPlugin : public flutter::Plugin { public: static void RegisterWithRegistrar(flutter::PluginRegistrarWindows *registrar); FlutterQjsPlugin(); virtual ~FlutterQjsPlugin(); // Disallow copy and assign. FlutterQjsPlugin(const FlutterQjsPlugin&) = delete; FlutterQjsPlugin& operator=(const FlutterQjsPlugin&) = delete; // Called when a method is called on this plugin's channel from Dart. void HandleMethodCall( const flutter::MethodCall &method_call, std::unique_ptr> result); }; } // namespace flutter_qjs #endif // FLUTTER_PLUGIN_FLUTTER_QJS_PLUGIN_H_