2024-01-06 03:51:16 +00:00
|
|
|
#include "flutter_inappwebview_windows_plugin.h"
|
|
|
|
|
|
|
|
#include <flutter/method_channel.h>
|
|
|
|
#include <flutter/plugin_registrar_windows.h>
|
|
|
|
|
|
|
|
namespace flutter_inappwebview_plugin
|
|
|
|
{
|
|
|
|
// static
|
|
|
|
void FlutterInappwebviewWindowsPlugin::RegisterWithRegistrar(
|
|
|
|
flutter::PluginRegistrarWindows* registrar) {
|
|
|
|
auto plugin = std::make_unique<FlutterInappwebviewWindowsPlugin>(registrar);
|
|
|
|
registrar->AddPlugin(std::move(plugin));
|
|
|
|
}
|
|
|
|
|
|
|
|
FlutterInappwebviewWindowsPlugin::FlutterInappwebviewWindowsPlugin(flutter::PluginRegistrarWindows* registrar)
|
|
|
|
: FlutterInappwebviewWindowsBasePlugin(registrar)
|
|
|
|
{
|
|
|
|
inAppBrowserManager = std::make_unique<InAppBrowserManager>(this);
|
|
|
|
}
|
|
|
|
|
|
|
|
FlutterInappwebviewWindowsPlugin::~FlutterInappwebviewWindowsPlugin()
|
|
|
|
{
|
2024-01-07 02:26:14 +00:00
|
|
|
|
2024-01-06 03:51:16 +00:00
|
|
|
}
|
|
|
|
}
|