diff --git a/src/lib/fcitx-utils/CMakeLists.txt b/src/lib/fcitx-utils/CMakeLists.txt index 86819ec6..9eb64046 100644 --- a/src/lib/fcitx-utils/CMakeLists.txt +++ b/src/lib/fcitx-utils/CMakeLists.txt @@ -127,7 +127,7 @@ set_target_properties(Fcitx5Utils ) target_include_directories(Fcitx5Utils PUBLIC $ - $ + $ $) target_link_libraries(Fcitx5Utils PRIVATE DL::DL LibIntl::LibIntl Pthread::Pthread ${FMT_TARGET}) if(LIBKVM_FOUND) diff --git a/src/lib/fcitx-utils/color.h b/src/lib/fcitx-utils/color.h index 321c9b2a..ea0bd2d4 100644 --- a/src/lib/fcitx-utils/color.h +++ b/src/lib/fcitx-utils/color.h @@ -11,8 +11,8 @@ #include #include #include +#include #include -#include "fcitxutils_export.h" /// \addtogroup FcitxUtils /// \{ diff --git a/src/lib/fcitx-utils/connectableobject.h b/src/lib/fcitx-utils/connectableobject.h index 443a3060..4d477584 100644 --- a/src/lib/fcitx-utils/connectableobject.h +++ b/src/lib/fcitx-utils/connectableobject.h @@ -11,10 +11,10 @@ #include #include #include +#include #include #include #include -#include "fcitxutils_export.h" /// \addtogroup FcitxUtils /// \{ diff --git a/src/lib/fcitx-utils/cutf8.h b/src/lib/fcitx-utils/cutf8.h index 90406607..94c97623 100644 --- a/src/lib/fcitx-utils/cutf8.h +++ b/src/lib/fcitx-utils/cutf8.h @@ -15,7 +15,7 @@ #include #include -#include "fcitxutils_export.h" +#include //// Max length of a utf8 character #define FCITX_UTF8_MAX_LENGTH 6 diff --git a/src/lib/fcitx-utils/dbus/bus.h b/src/lib/fcitx-utils/dbus/bus.h index da8de850..3c0ffc28 100644 --- a/src/lib/fcitx-utils/dbus/bus.h +++ b/src/lib/fcitx-utils/dbus/bus.h @@ -14,9 +14,9 @@ #include #include #include +#include #include #include -#include "fcitxutils_export.h" /// \addtogroup FcitxUtils /// \{ diff --git a/src/lib/fcitx-utils/dbus/matchrule.cpp b/src/lib/fcitx-utils/dbus/matchrule.cpp index 76966052..f09906c5 100644 --- a/src/lib/fcitx-utils/dbus/matchrule.cpp +++ b/src/lib/fcitx-utils/dbus/matchrule.cpp @@ -6,6 +6,12 @@ */ #include "matchrule.h" +#include +#include +#include +#include +#include +#include "../macros.h" #include "../stringutils.h" #include "message.h" #include "utils_p.h" diff --git a/src/lib/fcitx-utils/dbus/matchrule.h b/src/lib/fcitx-utils/dbus/matchrule.h index bd0d8042..ed0f9f13 100644 --- a/src/lib/fcitx-utils/dbus/matchrule.h +++ b/src/lib/fcitx-utils/dbus/matchrule.h @@ -7,10 +7,13 @@ #ifndef _FCITX_UTILS_DBUS_MATCHRULE_H_ #define _FCITX_UTILS_DBUS_MATCHRULE_H_ +#include +#include #include #include #include #include +#include #include /// \addtogroup FcitxUtils diff --git a/src/lib/fcitx-utils/dbus/message.h b/src/lib/fcitx-utils/dbus/message.h index a02f6762..f027a0a7 100644 --- a/src/lib/fcitx-utils/dbus/message.h +++ b/src/lib/fcitx-utils/dbus/message.h @@ -18,12 +18,12 @@ #include #include #include // IWYU pragma: export +#include #include #include #include #include #include -#include "fcitxutils_export.h" /// \addtogroup FcitxUtils /// \{ diff --git a/src/lib/fcitx-utils/dbus/objectvtable.cpp b/src/lib/fcitx-utils/dbus/objectvtable.cpp index 63b82ddc..e8c8f7fd 100644 --- a/src/lib/fcitx-utils/dbus/objectvtable.cpp +++ b/src/lib/fcitx-utils/dbus/objectvtable.cpp @@ -4,6 +4,11 @@ * SPDX-License-Identifier: LGPL-2.1-or-later * */ +#include "objectvtable.h" +#include +#include +#include +#include "../macros.h" #include "bus.h" #include "objectvtable_p.h" diff --git a/src/lib/fcitx-utils/dbus/objectvtable.h b/src/lib/fcitx-utils/dbus/objectvtable.h index c6f91d54..f9de58e7 100644 --- a/src/lib/fcitx-utils/dbus/objectvtable.h +++ b/src/lib/fcitx-utils/dbus/objectvtable.h @@ -16,10 +16,10 @@ #include #include #include +#include #include #include #include -#include "fcitxutils_export.h" /// \addtogroup FcitxUtils /// \{ diff --git a/src/lib/fcitx-utils/dbus/servicewatcher.h b/src/lib/fcitx-utils/dbus/servicewatcher.h index ed80595d..45956611 100644 --- a/src/lib/fcitx-utils/dbus/servicewatcher.h +++ b/src/lib/fcitx-utils/dbus/servicewatcher.h @@ -11,6 +11,7 @@ #include #include #include +#include #include #include diff --git a/src/lib/fcitx-utils/dbus/variant.cpp b/src/lib/fcitx-utils/dbus/variant.cpp index 633c9821..1ac702cf 100644 --- a/src/lib/fcitx-utils/dbus/variant.cpp +++ b/src/lib/fcitx-utils/dbus/variant.cpp @@ -5,8 +5,16 @@ * */ #include "variant.h" +#include +#include +#include #include +#include +#include +#include +#include "../macros.h" #include "../misc_p.h" +#include "fmessage.h" namespace fcitx::dbus { diff --git a/src/lib/fcitx-utils/dbus/variant.h b/src/lib/fcitx-utils/dbus/variant.h index 06f8d01a..d0feecbb 100644 --- a/src/lib/fcitx-utils/dbus/variant.h +++ b/src/lib/fcitx-utils/dbus/variant.h @@ -13,9 +13,9 @@ #include #include #include +#include #include #include -#include "fcitxutils_export.h" /// \addtogroup FcitxUtils /// \{ diff --git a/src/lib/fcitx-utils/element.h b/src/lib/fcitx-utils/element.h index ed975d9f..e9b562c8 100644 --- a/src/lib/fcitx-utils/element.h +++ b/src/lib/fcitx-utils/element.h @@ -10,8 +10,8 @@ #include #include #include +#include #include -#include "fcitxutils_export.h" /// \addtogroup FcitxUtils /// \{ diff --git a/src/lib/fcitx-utils/event.h b/src/lib/fcitx-utils/event.h index 8474553c..66a2755d 100644 --- a/src/lib/fcitx-utils/event.h +++ b/src/lib/fcitx-utils/event.h @@ -11,9 +11,9 @@ #include #include #include +#include #include #include -#include "fcitxutils_export.h" namespace fcitx { diff --git a/src/lib/fcitx-utils/eventdispatcher.h b/src/lib/fcitx-utils/eventdispatcher.h index d93741fe..ebec1602 100644 --- a/src/lib/fcitx-utils/eventdispatcher.h +++ b/src/lib/fcitx-utils/eventdispatcher.h @@ -11,9 +11,9 @@ #include #include #include +#include #include #include -#include "fcitxutils_export.h" namespace fcitx { diff --git a/src/lib/fcitx-utils/eventloopinterface.h b/src/lib/fcitx-utils/eventloopinterface.h index 963f96ce..f31c28f0 100644 --- a/src/lib/fcitx-utils/eventloopinterface.h +++ b/src/lib/fcitx-utils/eventloopinterface.h @@ -11,9 +11,9 @@ #include #include #include +#include #include #include -#include "fcitxutils_export.h" namespace fcitx { diff --git a/src/lib/fcitx-utils/fs.cpp b/src/lib/fcitx-utils/fs.cpp index d83acafb..9f3b4309 100644 --- a/src/lib/fcitx-utils/fs.cpp +++ b/src/lib/fcitx-utils/fs.cpp @@ -17,7 +17,7 @@ #include #include #include -#include "fcitxutils_export.h" +#include #include "misc.h" #include "mtime_p.h" #include "standardpath.h" diff --git a/src/lib/fcitx-utils/fs.h b/src/lib/fcitx-utils/fs.h index baefe362..11331545 100644 --- a/src/lib/fcitx-utils/fs.h +++ b/src/lib/fcitx-utils/fs.h @@ -13,8 +13,8 @@ #include #include #include +#include #include -#include "fcitxutils_export.h" /// \addtogroup FcitxUtils /// \{ diff --git a/src/lib/fcitx-utils/handlertable_details.h b/src/lib/fcitx-utils/handlertable_details.h index 9fd07796..919ec3ea 100644 --- a/src/lib/fcitx-utils/handlertable_details.h +++ b/src/lib/fcitx-utils/handlertable_details.h @@ -13,9 +13,9 @@ #include #include #include +#include #include #include -#include "fcitxutils_export.h" namespace fcitx { diff --git a/src/lib/fcitx-utils/i18n.h b/src/lib/fcitx-utils/i18n.h index db4bf3f8..e52e19d5 100644 --- a/src/lib/fcitx-utils/i18n.h +++ b/src/lib/fcitx-utils/i18n.h @@ -8,7 +8,7 @@ #define _FCITX_UTILS_I18N_H_ #include -#include "fcitxutils_export.h" +#include namespace fcitx { diff --git a/src/lib/fcitx-utils/i18nstring.h b/src/lib/fcitx-utils/i18nstring.h index 27d3c190..a69c179a 100644 --- a/src/lib/fcitx-utils/i18nstring.h +++ b/src/lib/fcitx-utils/i18nstring.h @@ -9,7 +9,7 @@ #include #include -#include "fcitxutils_export.h" +#include namespace fcitx { class FCITXUTILS_EXPORT I18NString { diff --git a/src/lib/fcitx-utils/inputbuffer.h b/src/lib/fcitx-utils/inputbuffer.h index c2bf547b..0702a457 100644 --- a/src/lib/fcitx-utils/inputbuffer.h +++ b/src/lib/fcitx-utils/inputbuffer.h @@ -13,9 +13,9 @@ #include #include #include +#include #include #include -#include "fcitxutils_export.h" /// \addtogroup FcitxUtils /// \{ diff --git a/src/lib/fcitx-utils/key.h b/src/lib/fcitx-utils/key.h index 0637344e..09d991ac 100644 --- a/src/lib/fcitx-utils/key.h +++ b/src/lib/fcitx-utils/key.h @@ -18,10 +18,10 @@ #include #include #include +#include #include #include #include -#include "fcitxutils_export.h" namespace fcitx { class Key; diff --git a/src/lib/fcitx-utils/library.h b/src/lib/fcitx-utils/library.h index 0f88baf8..e11d84eb 100644 --- a/src/lib/fcitx-utils/library.h +++ b/src/lib/fcitx-utils/library.h @@ -16,9 +16,9 @@ #include #include #include +#include #include #include -#include "fcitxutils_export.h" namespace fcitx { diff --git a/src/lib/fcitx-utils/log.h b/src/lib/fcitx-utils/log.h index c44b0964..9f36e3ee 100644 --- a/src/lib/fcitx-utils/log.h +++ b/src/lib/fcitx-utils/log.h @@ -25,13 +25,13 @@ #include #include #include +#include #include #include #include #include #include #include -#include "fcitxutils_export.h" namespace fcitx { diff --git a/src/lib/fcitx-utils/misc.h b/src/lib/fcitx-utils/misc.h index 4e660c99..6a48096a 100644 --- a/src/lib/fcitx-utils/misc.h +++ b/src/lib/fcitx-utils/misc.h @@ -16,8 +16,8 @@ #include #include #include +#include #include -#include "fcitxutils_export.h" namespace fcitx { diff --git a/src/lib/fcitx-utils/rect.h b/src/lib/fcitx-utils/rect.h index a99cb8c2..8a2e0e40 100644 --- a/src/lib/fcitx-utils/rect.h +++ b/src/lib/fcitx-utils/rect.h @@ -15,7 +15,7 @@ #include #include #include -#include "fcitxutils_export.h" +#include namespace fcitx { class FCITXUTILS_EXPORT Rect { diff --git a/src/lib/fcitx-utils/semver.h b/src/lib/fcitx-utils/semver.h index 8cbf0a9c..55b93ff1 100644 --- a/src/lib/fcitx-utils/semver.h +++ b/src/lib/fcitx-utils/semver.h @@ -13,7 +13,7 @@ #include #include #include -#include "fcitxutils_export.h" +#include #include "log.h" #include "macros.h" diff --git a/src/lib/fcitx-utils/standardpath.h b/src/lib/fcitx-utils/standardpath.h index 810459c1..796242ed 100644 --- a/src/lib/fcitx-utils/standardpath.h +++ b/src/lib/fcitx-utils/standardpath.h @@ -26,11 +26,11 @@ #include #include #include +#include #include #include #include #include -#include "fcitxutils_export.h" namespace fcitx { diff --git a/src/lib/fcitx-utils/stringutils.cpp b/src/lib/fcitx-utils/stringutils.cpp index 4ce2d999..bf113472 100644 --- a/src/lib/fcitx-utils/stringutils.cpp +++ b/src/lib/fcitx-utils/stringutils.cpp @@ -14,7 +14,7 @@ #include #include #include -#include "fcitxutils_export.h" +#include #include "charutils.h" #include "macros.h" diff --git a/src/lib/fcitx-utils/stringutils.h b/src/lib/fcitx-utils/stringutils.h index 59307054..5450c0ac 100644 --- a/src/lib/fcitx-utils/stringutils.h +++ b/src/lib/fcitx-utils/stringutils.h @@ -20,7 +20,7 @@ #include #include #include -#include "fcitxutils_export.h" +#include #include "stringutils_details.h" namespace fcitx::stringutils { diff --git a/src/lib/fcitx-utils/stringutils_details.h b/src/lib/fcitx-utils/stringutils_details.h index 5fb0a53a..2b653acd 100644 --- a/src/lib/fcitx-utils/stringutils_details.h +++ b/src/lib/fcitx-utils/stringutils_details.h @@ -17,7 +17,7 @@ #include #include #include -#include "fcitxutils_export.h" +#include namespace fcitx::stringutils::details { diff --git a/src/lib/fcitx-utils/testing.h b/src/lib/fcitx-utils/testing.h index ef606ac4..de921d6b 100644 --- a/src/lib/fcitx-utils/testing.h +++ b/src/lib/fcitx-utils/testing.h @@ -9,7 +9,7 @@ #include #include -#include "fcitxutils_export.h" +#include /// \addtogroup FcitxUtils /// \{ diff --git a/src/lib/fcitx-utils/unixfd.h b/src/lib/fcitx-utils/unixfd.h index 97d4d751..01980e3f 100644 --- a/src/lib/fcitx-utils/unixfd.h +++ b/src/lib/fcitx-utils/unixfd.h @@ -12,9 +12,9 @@ /// \file /// \brief Utility class to handle unix file decriptor. +#include #include #include -#include "fcitxutils_export.h" namespace fcitx { diff --git a/src/lib/fcitx-utils/utf8.h b/src/lib/fcitx-utils/utf8.h index 45d369bf..7eb1c1cc 100644 --- a/src/lib/fcitx-utils/utf8.h +++ b/src/lib/fcitx-utils/utf8.h @@ -21,9 +21,9 @@ #include #include #include +#include #include #include -#include "fcitxutils_export.h" namespace fcitx::utf8 {