iosWebViewFix/flutter_inappwebview_windows/windows/flutter_inappwebview_window...

28 lines
973 B
C
Raw Normal View History

2024-01-06 03:51:16 +00:00
#ifndef FLUTTER_PLUGIN_FLUTTER_INAPPWEBVIEW_PLUGIN_PLUGIN_H_
#define FLUTTER_PLUGIN_FLUTTER_INAPPWEBVIEW_PLUGIN_PLUGIN_H_
#include <flutter/method_channel.h>
#include <flutter/plugin_registrar_windows.h>
namespace flutter_inappwebview_plugin
{
2024-01-08 11:36:48 +00:00
class InAppBrowserManager;
2024-01-08 11:36:48 +00:00
class FlutterInappwebviewWindowsPlugin : public flutter::Plugin {
public:
flutter::PluginRegistrarWindows* registrar;
std::unique_ptr<InAppBrowserManager> inAppBrowserManager;
2024-01-06 03:51:16 +00:00
2024-01-08 11:36:48 +00:00
static void RegisterWithRegistrar(flutter::PluginRegistrarWindows* registrar);
2024-01-06 03:51:16 +00:00
2024-01-08 11:36:48 +00:00
FlutterInappwebviewWindowsPlugin(flutter::PluginRegistrarWindows* registrar);
2024-01-06 03:51:16 +00:00
2024-01-08 11:36:48 +00:00
virtual ~FlutterInappwebviewWindowsPlugin();
2024-01-06 03:51:16 +00:00
2024-01-08 11:36:48 +00:00
// Disallow copy and assign.
FlutterInappwebviewWindowsPlugin(const FlutterInappwebviewWindowsPlugin&) = delete;
FlutterInappwebviewWindowsPlugin& operator=(const FlutterInappwebviewWindowsPlugin&) = delete;
};
2024-01-06 03:51:16 +00:00
}
#endif // FLUTTER_PLUGIN_FLUTTER_INAPPWEBVIEW_PLUGIN_PLUGIN_H_