File tree 2 files changed +7
-5
lines changed
src/modules/notifications
2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 18
18
#define NOTIFICATIONS_INTERFACE_NAME " org.freedesktop.Notifications"
19
19
#define NOTIFICATIONS_PATH " /org/freedesktop/Notifications"
20
20
21
- namespace fcitx {
21
+ namespace fcitx ::notifications {
22
22
23
23
Notifications::Notifications (Instance *instance)
24
24
: instance_(instance), dbus_(instance_->addonManager ().addon(" dbus" )),
@@ -220,6 +220,7 @@ class NotificationsModuleFactory : public AddonFactory {
220
220
return new Notifications (manager->instance ());
221
221
}
222
222
};
223
- } // namespace fcitx
223
+ } // namespace fcitx::notifications
224
224
225
- FCITX_ADDON_FACTORY_V2 (notifications, fcitx::NotificationsModuleFactory)
225
+ FCITX_ADDON_FACTORY_V2 (notifications,
226
+ fcitx::notifications::NotificationsModuleFactory)
Original file line number Diff line number Diff line change 18
18
#include " fcitx/instance.h"
19
19
#include " notifications_public.h"
20
20
21
- namespace fcitx {
21
+ namespace fcitx ::notifications {
22
22
23
23
FCITX_CONFIGURATION (NotificationsConfig,
24
24
fcitx::Option<std::vector<std::string>> hiddenNotifications{
@@ -113,6 +113,7 @@ class Notifications final : public AddonInstance {
113
113
std::unordered_map<uint64_t , NotificationItem> items_;
114
114
std::unordered_map<uint32_t , uint64_t > globalToInternalId_;
115
115
};
116
- } // namespace fcitx
116
+
117
+ } // namespace fcitx::notifications
117
118
118
119
#endif // _FCITX_MODULES_NOTIFICATIONS_NOTIFICATIONS_H_
You can’t perform that action at this time.
0 commit comments