From d116009900bb9fca1f972bbba4d3733732251093 Mon Sep 17 00:00:00 2001 From: ma-shaoyin Date: Sat, 16 Jul 2022 13:37:06 +0800 Subject: [PATCH] Signed-off-by: ma-shaoyin Changes to be committed: --- etc/para/include/para_handle.h | 5 +---- etc/para/src/para_handle.cpp | 1 - frameworks/inputmethod_controller/src/input_client_stub.cpp | 1 - .../inputmethod_controller/src/input_data_channel_stub.cpp | 1 - services/dfx/include/inputmethod_sysevent.h | 5 ++--- services/dfx/include/inputmethod_trace.h | 3 +-- services/dfx/src/inputmethod_sysevent.cpp | 3 +-- 7 files changed, 5 insertions(+), 14 deletions(-) diff --git a/etc/para/include/para_handle.h b/etc/para/include/para_handle.h index 73a9ccb..d45fd3d 100644 --- a/etc/para/include/para_handle.h +++ b/etc/para/include/para_handle.h @@ -15,10 +15,7 @@ #ifndef ETC_PARA_INCLUDE_PARA_HANDLE_H #define ETC_PARA_INCLUDE_PARA_HANDLE_H - -#include - -#include "iosfwd" +#include namespace OHOS { namespace MiscServices { class ParaHandle { diff --git a/etc/para/src/para_handle.cpp b/etc/para/src/para_handle.cpp index 43278a5..3c3d955 100644 --- a/etc/para/src/para_handle.cpp +++ b/etc/para/src/para_handle.cpp @@ -16,7 +16,6 @@ #include "para_handle.h" #include "parameter.h" -#include "string" namespace OHOS { namespace MiscServices { diff --git a/frameworks/inputmethod_controller/src/input_client_stub.cpp b/frameworks/inputmethod_controller/src/input_client_stub.cpp index 03e4774..0509b2e 100644 --- a/frameworks/inputmethod_controller/src/input_client_stub.cpp +++ b/frameworks/inputmethod_controller/src/input_client_stub.cpp @@ -15,7 +15,6 @@ #include "input_client_stub.h" -#include #include "global.h" #include "ipc_object_stub.h" #include "ipc_types.h" diff --git a/frameworks/inputmethod_controller/src/input_data_channel_stub.cpp b/frameworks/inputmethod_controller/src/input_data_channel_stub.cpp index b27269d..b27d137 100644 --- a/frameworks/inputmethod_controller/src/input_data_channel_stub.cpp +++ b/frameworks/inputmethod_controller/src/input_data_channel_stub.cpp @@ -15,7 +15,6 @@ #include "input_data_channel_stub.h" -#include #include "global.h" #include "input_method_controller.h" #include "ipc_object_stub.h" diff --git a/services/dfx/include/inputmethod_sysevent.h b/services/dfx/include/inputmethod_sysevent.h index cbe358d..bc54ef5 100644 --- a/services/dfx/include/inputmethod_sysevent.h +++ b/services/dfx/include/inputmethod_sysevent.h @@ -16,9 +16,8 @@ #ifndef INPUTMETHOD_SYSEVENT_H #define INPUTMETHOD_SYSEVENT_H -#include - -#include "iosfwd" +#include +#include "global.h" namespace OHOS { namespace MiscServices { diff --git a/services/dfx/include/inputmethod_trace.h b/services/dfx/include/inputmethod_trace.h index 3cadf4d..9ca2ac3 100644 --- a/services/dfx/include/inputmethod_trace.h +++ b/services/dfx/include/inputmethod_trace.h @@ -16,8 +16,7 @@ #ifndef INPUTMETHOD_TRACE_H #define INPUTMETHOD_TRACE_H -#include -#include "iosfwd" +#include namespace OHOS { namespace MiscServices { diff --git a/services/dfx/src/inputmethod_sysevent.cpp b/services/dfx/src/inputmethod_sysevent.cpp index 2c3c744..f251dd9 100644 --- a/services/dfx/src/inputmethod_sysevent.cpp +++ b/services/dfx/src/inputmethod_sysevent.cpp @@ -15,9 +15,8 @@ #include "inputmethod_sysevent.h" -#include "global.h" #include "hisysevent.h" -#include "string" + namespace OHOS { namespace MiscServices {