diff --git a/frameworks/ans/src/enabled_notification_callback_data.cpp b/frameworks/ans/src/enabled_notification_callback_data.cpp index 4346035d4da050139f0e29e10286e1bc4581294c..0b86460538233499b5c1a97d00db5c43e27f94e8 100644 --- a/frameworks/ans/src/enabled_notification_callback_data.cpp +++ b/frameworks/ans/src/enabled_notification_callback_data.cpp @@ -14,8 +14,12 @@ */ #include "enabled_notification_callback_data.h" + +#include // for operator+, basic_string + #include "ans_log_wrapper.h" #include "string_ex.h" +#include "parcel.h" // for Parcel namespace OHOS { namespace Notification { diff --git a/frameworks/ans/src/message_user.cpp b/frameworks/ans/src/message_user.cpp index ce57886a26dd1ce2414b686951aa4453a88ef670..6f3953cafc95f7542c8efdc66485f524e0cf5b89 100644 --- a/frameworks/ans/src/message_user.cpp +++ b/frameworks/ans/src/message_user.cpp @@ -14,8 +14,17 @@ */ #include "message_user.h" + +#include // for basic_string, operator+, basic_string<>... +#include // for shared_ptr, shared_ptr<>::element_type + + #include "ans_image_util.h" #include "ans_log_wrapper.h" +#include "nlohmann/json.hpp" // for json, basic_json<>::object_t, basic_json +#include "parcel.h" // for Parcel +#include "pixel_map.h" // for PixelMap +#include "uri.h" // for Uri namespace OHOS { namespace Notification { diff --git a/frameworks/ans/src/notification_bundle_option.cpp b/frameworks/ans/src/notification_bundle_option.cpp index cdc3c05cc9964f39f16f753e8f2628c76a99cd78..bf97700770aff07661253eeeca2dcc0741a5df72 100644 --- a/frameworks/ans/src/notification_bundle_option.cpp +++ b/frameworks/ans/src/notification_bundle_option.cpp @@ -14,7 +14,11 @@ */ #include "notification_bundle_option.h" + +#include // for operator+, basic_string, to_... + #include "ans_log_wrapper.h" +#include "parcel.h" // for Parcel namespace OHOS { namespace Notification { diff --git a/frameworks/ans/src/notification_conversational_message.cpp b/frameworks/ans/src/notification_conversational_message.cpp index 51d33ed265991280e1fbb6fbebfb278e28c2b6f1..b439abab97edb9e73cf622a69c8bfc916f075c6d 100644 --- a/frameworks/ans/src/notification_conversational_message.cpp +++ b/frameworks/ans/src/notification_conversational_message.cpp @@ -14,7 +14,13 @@ */ #include "notification_conversational_message.h" + #include "ans_log_wrapper.h" +#include "message_user.h" // for MessageUser +#include "nlohmann/json.hpp" // for json, basic_json<>:... +#include "notification_json_convert.h" // for NotificationJsonCon... +#include "parcel.h" // for Parcel +#include "uri.h" // for Uri namespace OHOS { namespace Notification { diff --git a/frameworks/ans/src/notification_do_not_disturb_date.cpp b/frameworks/ans/src/notification_do_not_disturb_date.cpp index 188018fd57c2068be1d64143a0d5f0a1dd87797a..3ddae1ea194e528b4a24098f8d94efd9d4b386b8 100644 --- a/frameworks/ans/src/notification_do_not_disturb_date.cpp +++ b/frameworks/ans/src/notification_do_not_disturb_date.cpp @@ -14,7 +14,12 @@ */ #include "notification_do_not_disturb_date.h" + +#include // for operator+, to_string + #include "ans_log_wrapper.h" +#include "notification_constant.h" // for NotificationConstant +#include "parcel.h" // for Parcel namespace OHOS { namespace Notification { diff --git a/frameworks/ans/src/notification_flags.cpp b/frameworks/ans/src/notification_flags.cpp index dd646176772b17182f65f09fd56807297bc41479..e26f1339d26ce32cc33289a6394ada08f31a6866 100644 --- a/frameworks/ans/src/notification_flags.cpp +++ b/frameworks/ans/src/notification_flags.cpp @@ -14,7 +14,13 @@ */ #include "notification_flags.h" + +#include // for operator+, to_string, basic_string + #include "ans_log_wrapper.h" +#include "nlohmann/json.hpp" // for json, basic_json<>::object_t, bas... +#include "notification_constant.h" // for NotificationConstant::FlagStatus +#include "parcel.h" // for Parcel namespace OHOS { namespace Notification { diff --git a/frameworks/ans/src/notification_long_text_content.cpp b/frameworks/ans/src/notification_long_text_content.cpp index 7abf07403844dd0f3b79f89f40dcbecb15c5a522..752d0ae79e250be926fad348559af8a584772fe9 100644 --- a/frameworks/ans/src/notification_long_text_content.cpp +++ b/frameworks/ans/src/notification_long_text_content.cpp @@ -15,7 +15,13 @@ #include "notification_long_text_content.h" +#include // for basic_string, operator+ +#include // for min + #include "ans_log_wrapper.h" +#include "nlohmann/json.hpp" // for json, basic_json<>::obje... +#include "notification_basic_content.h" // for NotificationBasicContent +#include "parcel.h" // for Parcel namespace OHOS { namespace Notification { diff --git a/frameworks/ans/src/notification_normal_content.cpp b/frameworks/ans/src/notification_normal_content.cpp index a65c134721fe9b0ebcfb532ec3f6e9600836537c..9bab465f338e1dcf04b2f21670ca72a702486d84 100644 --- a/frameworks/ans/src/notification_normal_content.cpp +++ b/frameworks/ans/src/notification_normal_content.cpp @@ -14,7 +14,12 @@ */ #include "notification_normal_content.h" + +#include // for operator+, basic_string + #include "ans_log_wrapper.h" +#include "nlohmann/json.hpp" // for json +#include "notification_basic_content.h" // for NotificationBasicContent namespace OHOS { namespace Notification { diff --git a/frameworks/ans/src/notification_subscribe_info.cpp b/frameworks/ans/src/notification_subscribe_info.cpp index ae092ab08736b1b1f9f6e483281159a2709e2100..210dee8c619be11cd0bfccf486c4252a36dc79b0 100644 --- a/frameworks/ans/src/notification_subscribe_info.cpp +++ b/frameworks/ans/src/notification_subscribe_info.cpp @@ -15,7 +15,11 @@ #include "notification_subscribe_info.h" +#include // for basic_string, operator+ +#include // for vector + #include "ans_log_wrapper.h" +#include "parcel.h" // for Parcel namespace OHOS { namespace Notification { diff --git a/frameworks/ans/src/notification_template.cpp b/frameworks/ans/src/notification_template.cpp index 894bd0e34403a863a78466ab6ffedaa42d085dc4..e359a01f2e4a946bfff68397578e45263b6d3b17 100644 --- a/frameworks/ans/src/notification_template.cpp +++ b/frameworks/ans/src/notification_template.cpp @@ -14,7 +14,10 @@ */ #include "notification_template.h" + #include "ans_log_wrapper.h" +#include "parcel.h" // for Parcel +#include "want_params.h" // for WantParams namespace OHOS { namespace Notification { diff --git a/frameworks/core/common/include/ans_log_wrapper.h b/frameworks/core/common/include/ans_log_wrapper.h index 8449eda9de52c0b8fc7f7ba8c18f1d75e5e86f63..05a493cd73bb5da06013bd16f8bb56dccf8eac6c 100644 --- a/frameworks/core/common/include/ans_log_wrapper.h +++ b/frameworks/core/common/include/ans_log_wrapper.h @@ -16,7 +16,8 @@ #ifndef BASE_NOTIFICATION_ANS_STANDARD_INNERKITS_BASE_INCLUDE_ANS_LOG_HELPER_H #define BASE_NOTIFICATION_ANS_STANDARD_INNERKITS_BASE_INCLUDE_ANS_LOG_HELPER_H -#include +#include // for uint8_t +#include // for basic_string #include "hilog/log.h"