| // Copyright 2013 The Flutter Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #include "include/test_plugin/test_plugin_c_api.h" |
| |
| #include <flutter/plugin_registrar_windows.h> |
| |
| #include "test_plugin.h" |
| |
| void TestPluginCApiRegisterWithRegistrar( |
| FlutterDesktopPluginRegistrarRef registrar) { |
| test_plugin::TestPlugin::RegisterWithRegistrar( |
| flutter::PluginRegistrarManager::GetInstance() |
| ->GetRegistrar<flutter::PluginRegistrarWindows>(registrar)); |
| } |