From 51ed9ec971614aebdbfbd9527aba365dd0afd437 Mon Sep 17 00:00:00 2001 From: Brandon Dahler Date: Sat, 13 Apr 2013 00:13:08 -0500 Subject: Cleanup code using forward declarations. Use misc methods of avoiding unnecesary header includes. Replace int typedefs with int##_t from stdint.h. Replace PRI64[xdu] with PRI[xdu]64 from inttypes.h. Normalize QT_VERSION ifs where possible. Resolve some indirect dependencies as direct ones. Remove extern declarations from .cpp files. --- src/qt/notificator.cpp | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) (limited to 'src/qt/notificator.cpp') diff --git a/src/qt/notificator.cpp b/src/qt/notificator.cpp index fcde23f7e4..c9f6834ec2 100644 --- a/src/qt/notificator.cpp +++ b/src/qt/notificator.cpp @@ -4,27 +4,31 @@ #include "notificator.h" + #include -#include -#include +#include #include +#include +#include +#include #include -#include #include -#include #include -#include +#include + +#ifdef Q_OS_MAC +#include "macnotificationhandler.h" + +#include +#endif #ifdef USE_DBUS -#include #include -#endif -#ifdef Q_OS_MAC -#include -#include "macnotificationhandler.h" +#include #endif + // https://wiki.ubuntu.com/NotificationDevelopmentGuidelines recommends at least 128 const int FREEDESKTOP_NOTIFICATION_ICON_SIZE = 128; -- cgit v1.2.3