| // 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. |
| |
| #ifndef FLUTTER_PLUGIN_TEST_PLUGIN_C_API_H_ |
| #define FLUTTER_PLUGIN_TEST_PLUGIN_C_API_H_ |
| |
| #include <flutter_plugin_registrar.h> |
| |
| #ifdef FLUTTER_PLUGIN_IMPL |
| #define FLUTTER_PLUGIN_EXPORT __declspec(dllexport) |
| #else |
| #define FLUTTER_PLUGIN_EXPORT __declspec(dllimport) |
| #endif |
| |
| #if defined(__cplusplus) |
| extern "C" { |
| #endif |
| |
| FLUTTER_PLUGIN_EXPORT void TestPluginCApiRegisterWithRegistrar( |
| FlutterDesktopPluginRegistrarRef registrar); |
| |
| #if defined(__cplusplus) |
| } // extern "C" |
| #endif |
| |
| #endif // FLUTTER_PLUGIN_TEST_PLUGIN_C_API_H_ |