Files
flutter_libsparkmobile/windows/flutter_libsparkmobile_plugin.h
sneurlax 7d0b91ab91 flutter create --template=plugin
flutter create --org com.cypherstack --template=plugin --platforms=android,ios,linux,macos,windows flutter_libsparkmobile
2023-10-30 10:51:33 -05:00

32 lines
1.0 KiB
C++

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