| Flutter Windows Embedder |

window_state.h
Go to the documentation of this file.
1 // Copyright 2013 The Flutter Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_WINDOW_STATE_H_
6 #define FLUTTER_SHELL_PLATFORM_WINDOWS_WINDOW_STATE_H_
7
8 #include "flutter/shell/platform/common/client_wrapper/include/flutter/plugin_registrar.h"
9 #include "flutter/shell/platform/common/incoming_message_dispatcher.h"
10 #include "flutter/shell/platform/embedder/embedder.h"
11
12 // Structs backing the opaque references used in the C API.
13 //
14 // DO NOT ADD ANY NEW CODE HERE. These are legacy, and are being phased out
15 // in favor of objects that own and manage the relevant functionality.
16
17 namespace flutter {
18 struct FlutterWindowsEngine;
19 } // namespace flutter
20
21 // Wrapper to distinguish the plugin registrar ref from the engine ref given out
22 // in the C API.
23 struct FlutterDesktopPluginRegistrar {
24 // The engine that owns this state object.
25 flutter::FlutterWindowsEngine* engine = nullptr;
26 };
27
28 #endif // FLUTTER_SHELL_PLATFORM_WINDOWS_WINDOW_STATE_H_
plugin_registrar.h
flutter::FlutterWindowsEngine
Definition: flutter_windows_engine.h:90
flutter
Definition: accessibility_bridge_windows.cc:11
FlutterDesktopPluginRegistrar::engine
flutter::FlutterWindowsEngine * engine
Definition: window_state.h:25
incoming_message_dispatcher.h
FlutterDesktopPluginRegistrar
Definition: window_state.h:23