5
5
#ifndef EMBEDDER_APP_CONTROL_CHANNEL_H_
6
6
#define EMBEDDER_APP_CONTROL_CHANNEL_H_
7
7
8
+ #include < memory>
8
9
#include < queue>
9
10
#include < unordered_map>
10
11
11
12
#include " flutter/shell/platform/common/client_wrapper/include/flutter/binary_messenger.h"
12
13
#include " flutter/shell/platform/common/client_wrapper/include/flutter/encodable_value.h"
13
14
#include " flutter/shell/platform/common/client_wrapper/include/flutter/event_channel.h"
14
15
#include " flutter/shell/platform/common/client_wrapper/include/flutter/method_channel.h"
15
- #include " flutter/shell/platform/common/client_wrapper/include/flutter/standard_method_codec .h"
16
+ #include " flutter/shell/platform/tizen/channels/app_control .h"
16
17
#include " flutter/shell/platform/tizen/logger.h"
17
18
18
- #include " app_control.h"
19
-
20
19
namespace flutter {
21
20
22
21
class AppControlChannel {
@@ -33,13 +32,11 @@ class AppControlChannel {
33
32
private:
34
33
void HandleMethodCall (const MethodCall<EncodableValue>& method_call,
35
34
std::unique_ptr<MethodResult<EncodableValue>> result);
36
- void RegisterEventHandler (
37
- std::unique_ptr<flutter::EventSink<EncodableValue>> events);
35
+ void RegisterEventHandler (std::unique_ptr<EventSink<EncodableValue>> events);
38
36
void UnregisterEventHandler ();
39
37
void SendAlreadyQueuedEvents ();
40
38
41
- void RegisterReplyHandler (
42
- std::unique_ptr<flutter::EventSink<EncodableValue>> events);
39
+ void RegisterReplyHandler (std::unique_ptr<EventSink<EncodableValue>> events);
43
40
void UnregisterReplyHandler ();
44
41
45
42
template <typename T>
0 commit comments