Skip to content

Commit 26a9f78

Browse files
committed
Format files
1 parent ea71209 commit 26a9f78

15 files changed

+28
-16
lines changed

shell/platform/tizen/channels/lifecycle_channel.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,5 @@ class LifecycleChannel {
2020
private:
2121
FLUTTER_API_SYMBOL(FlutterEngine) flutter_engine_;
2222
};
23+
2324
#endif // EMBEDDER_LIFECYCLE_CHANNEL_H_

shell/platform/tizen/channels/platform_view_channel.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ std::string ExtractStringFromMap(const flutter::EncodableValue& arguments,
2424
}
2525
return std::string();
2626
}
27+
2728
int ExtractIntFromMap(const flutter::EncodableValue& arguments,
2829
const char* key) {
2930
if (std::holds_alternative<flutter::EncodableMap>(arguments)) {
@@ -33,6 +34,7 @@ int ExtractIntFromMap(const flutter::EncodableValue& arguments,
3334
}
3435
return -1;
3536
}
37+
3638
double ExtractDoubleFromMap(const flutter::EncodableValue& arguments,
3739
const char* key) {
3840
if (std::holds_alternative<flutter::EncodableMap>(arguments)) {

shell/platform/tizen/channels/settings_channel.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ static constexpr char PLATFORM_BRIGHTNESS[] = "platformBrightness";
1212
SettingsChannel::SettingsChannel(flutter::BinaryMessenger* messenger)
1313
: channel_(
1414
std::make_unique<flutter::BasicMessageChannel<rapidjson::Document>>(
15-
messenger,
16-
CHANNEL_NAME,
15+
messenger, CHANNEL_NAME,
1716
&flutter::JsonMessageCodec::GetInstance())) {
1817
system_settings_set_changed_cb(SYSTEM_SETTINGS_KEY_LOCALE_TIMEFORMAT_24HOUR,
1918
OnSettingsChangedCallback, this);

shell/platform/tizen/channels/settings_channel.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#define EMBEDDER_SETTINGS_CHANNEL_H_
77

88
#include <system/system_settings.h>
9+
910
#include "flutter/shell/platform/common/cpp/client_wrapper/include/flutter/basic_message_channel.h"
1011
#include "flutter/shell/platform/common/cpp/client_wrapper/include/flutter/binary_messenger.h"
1112
#include "flutter/shell/platform/common/cpp/json_message_codec.h"
@@ -22,4 +23,5 @@ class SettingsChannel {
2223
void* user_data);
2324
void SendSettingsEvent();
2425
};
26+
2527
#endif // EMBEDDER_SETTINGS_CHANNEL_H_

shell/platform/tizen/channels/text_input_channel.cc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99

1010
#include "flutter/shell/platform/tizen/tizen_embedder_engine.h"
1111
#include "flutter/shell/platform/tizen/tizen_log.h"
12-
#include "stdlib.h"
13-
#include "string.h"
1412

1513
static constexpr char kSetEditingStateMethod[] = "TextInput.setEditingState";
1614
static constexpr char kClearClientMethod[] = "TextInput.clearClient";

shell/platform/tizen/channels/text_input_channel.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
44

5-
#ifndef EMBEDDER_TEXT_INPUT_PLUGIN_H_
6-
#define EMBEDDER_TEXT_INPUT_PLUGIN_H_
5+
#ifndef EMBEDDER_TEXT_INPUT_CHANNEL_H_
6+
#define EMBEDDER_TEXT_INPUT_CHANNEL_H_
77

88
#define EFL_BETA_API_SUPPORT
99
#include <Ecore_IMF.h>
@@ -82,4 +82,5 @@ class TextInputChannel {
8282
TizenEmbedderEngine* engine_;
8383
SoftwareKeyboardGeometry current_keyboard_geometry_;
8484
};
85-
#endif
85+
86+
#endif // EMBEDDER_TEXT_INPUT_CHANNEL_H_

shell/platform/tizen/public/flutter_platform_view.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,4 +79,4 @@ FLUTTER_EXPORT void FlutterRegisterViewFactory(
7979
} // extern "C"
8080
#endif
8181

82-
#endif // FLUTTER_SHELL_PLATFORM_TIZEN_PUBLIC_FLUTTER_PLATFORM_VIEW_H_
82+
#endif // FLUTTER_SHELL_PLATFORM_TIZEN_PUBLIC_FLUTTER_PLATFORM_VIEW_H_

shell/platform/tizen/public/flutter_texture_registrar.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@ FLUTTER_EXPORT bool FlutterMarkExternalTextureFrameAvailable(
4040
} // extern "C"
4141
#endif
4242

43-
#endif // FLUTTER_SHELL_PLATFORM_TIZEN_PUBLIC_FLUTTER_TEXTURE_REGISTRAR_H_
43+
#endif // FLUTTER_SHELL_PLATFORM_TIZEN_PUBLIC_FLUTTER_TEXTURE_REGISTRAR_H_

shell/platform/tizen/tizen_embedder_engine.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,4 +159,5 @@ class TizenEmbedderEngine : public TizenRenderer::Delegate {
159159
// The current renderer transformation.
160160
FlutterTransformation transformation_;
161161
};
162+
162163
#endif // EMBEDDER_TIZEN_EMBEDDER_ENGINE_H_

shell/platform/tizen/tizen_renderer.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,5 @@ class TizenRenderer {
6363
bool ChooseEGLConfiguration();
6464
void PrintEGLError();
6565
};
66-
#endif //EMBEDDER_TIZEN_RENDERER_H
66+
67+
#endif // EMBEDDER_TIZEN_RENDERER_H

0 commit comments

Comments
 (0)