mirror of
https://github.com/kphanipavan/modal_progress_hud_nsn.git
synced 2025-10-28 22:32:50 -07:00
Test update to 0.4.0
This commit is contained in:
32
windows/modal_progress_hud_nsn_plugin.h
Normal file
32
windows/modal_progress_hud_nsn_plugin.h
Normal file
@@ -0,0 +1,32 @@
|
||||
#ifndef FLUTTER_PLUGIN_MODAL_PROGRESS_HUD_NSN_PLUGIN_H_
|
||||
#define FLUTTER_PLUGIN_MODAL_PROGRESS_HUD_NSN_PLUGIN_H_
|
||||
|
||||
#include <flutter/method_channel.h>
|
||||
#include <flutter/plugin_registrar_windows.h>
|
||||
|
||||
#include <memory>
|
||||
|
||||
namespace modal_progress_hud_nsn {
|
||||
|
||||
class ModalProgressHudNsnPlugin : public flutter::Plugin {
|
||||
public:
|
||||
static void RegisterWithRegistrar(flutter::PluginRegistrarWindows *registrar);
|
||||
|
||||
ModalProgressHudNsnPlugin();
|
||||
|
||||
virtual ~ModalProgressHudNsnPlugin();
|
||||
|
||||
// Disallow copy and assign.
|
||||
ModalProgressHudNsnPlugin(const ModalProgressHudNsnPlugin&) = delete;
|
||||
ModalProgressHudNsnPlugin& operator=(const ModalProgressHudNsnPlugin&) = delete;
|
||||
|
||||
private:
|
||||
// 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 modal_progress_hud_nsn
|
||||
|
||||
#endif // FLUTTER_PLUGIN_MODAL_PROGRESS_HUD_NSN_PLUGIN_H_
|
||||
Reference in New Issue
Block a user