fix(windows): add flutter_engine.h include
All checks were successful
CI / Windows build (push) Successful in 7m54s

ocr_channel.cpp calls engine->messenger() but only had a forward
declaration of flutter::FlutterEngine. Include the engine header so
the type is complete (fixes C2027 + the cascading make_unique error
that broke the Windows compile at ocr_channel.cpp:76).
This commit is contained in:
2026-06-21 05:49:26 +08:00
parent 5dbef7c986
commit 8c9cf77337

View File

@@ -1,6 +1,7 @@
#include "ocr_channel.h"
#include <flutter/encodable_value.h>
#include <flutter/flutter_engine.h>
#include <flutter/method_channel.h>
#include <flutter/standard_method_codec.h>