feat: init repo
This commit is contained in:
commit
b2bd5910e7
87 changed files with 4335 additions and 0 deletions
32
windows/texture_rgba_renderer_plugin.h
Normal file
32
windows/texture_rgba_renderer_plugin.h
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
#ifndef FLUTTER_PLUGIN_TEXTURE_RGBA_RENDERER_PLUGIN_H_
|
||||
#define FLUTTER_PLUGIN_TEXTURE_RGBA_RENDERER_PLUGIN_H_
|
||||
|
||||
#include <flutter/method_channel.h>
|
||||
#include <flutter/plugin_registrar_windows.h>
|
||||
|
||||
#include <memory>
|
||||
|
||||
namespace texture_rgba_renderer {
|
||||
|
||||
class TextureRgbaRendererPlugin : public flutter::Plugin {
|
||||
public:
|
||||
static void RegisterWithRegistrar(flutter::PluginRegistrarWindows *registrar);
|
||||
|
||||
TextureRgbaRendererPlugin();
|
||||
|
||||
virtual ~TextureRgbaRendererPlugin();
|
||||
|
||||
// Disallow copy and assign.
|
||||
TextureRgbaRendererPlugin(const TextureRgbaRendererPlugin&) = delete;
|
||||
TextureRgbaRendererPlugin& operator=(const TextureRgbaRendererPlugin&) = 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 texture_rgba_renderer
|
||||
|
||||
#endif // FLUTTER_PLUGIN_TEXTURE_RGBA_RENDERER_PLUGIN_H_
|
||||
Loading…
Add table
Add a link
Reference in a new issue