diff options
Diffstat (limited to 'src/components')
32 files changed, 1 insertions, 39 deletions
diff --git a/src/components/cellrendererpixbufanimation.hpp b/src/components/cellrendererpixbufanimation.hpp index fe2141d..e7949c8 100644 --- a/src/components/cellrendererpixbufanimation.hpp +++ b/src/components/cellrendererpixbufanimation.hpp @@ -1,5 +1,4 @@ #pragma once -#include <gtkmm.h> #include <unordered_map> // handles both static and animated diff --git a/src/components/channels.cpp b/src/components/channels.cpp index 88e5a71..80990ab 100644 --- a/src/components/channels.cpp +++ b/src/components/channels.cpp @@ -1,8 +1,6 @@ -#include "abaddon.hpp" #include "channels.hpp" #include "imgmanager.hpp" #include "statusindicator.hpp" -#include "util.hpp" #include <algorithm> #include <map> #include <unordered_map> diff --git a/src/components/channels.hpp b/src/components/channels.hpp index 53a68c9..cca2ad5 100644 --- a/src/components/channels.hpp +++ b/src/components/channels.hpp @@ -1,5 +1,4 @@ #pragma once -#include <gtkmm.h> #include <string> #include <queue> #include <mutex> diff --git a/src/components/channelscellrenderer.cpp b/src/components/channelscellrenderer.cpp index 9afce8a..e7dbf25 100644 --- a/src/components/channelscellrenderer.cpp +++ b/src/components/channelscellrenderer.cpp @@ -1,6 +1,4 @@ -#include "abaddon.hpp" #include "channelscellrenderer.hpp" -#include <gtkmm.h> constexpr static int MentionsRightPad = 7; #ifndef M_PI diff --git a/src/components/channelscellrenderer.hpp b/src/components/channelscellrenderer.hpp index e2be9b2..d20a1b1 100644 --- a/src/components/channelscellrenderer.hpp +++ b/src/components/channelscellrenderer.hpp @@ -1,5 +1,4 @@ #pragma once -#include <gtkmm/cellrenderertext.h> #include <gdkmm/pixbufanimation.h> #include <glibmm/property.h> #include <map> diff --git a/src/components/channeltabswitcherhandy.cpp b/src/components/channeltabswitcherhandy.cpp index c7dc59b..14c5c49 100644 --- a/src/components/channeltabswitcherhandy.cpp +++ b/src/components/channeltabswitcherhandy.cpp @@ -1,7 +1,6 @@ #ifdef WITH_LIBHANDY #include "channeltabswitcherhandy.hpp" - #include "abaddon.hpp" void selected_page_notify_cb(HdyTabView *view, GParamSpec *pspec, ChannelTabSwitcherHandy *switcher) { auto *page = hdy_tab_view_get_selected_page(view); diff --git a/src/components/channeltabswitcherhandy.hpp b/src/components/channeltabswitcherhandy.hpp index 272cad0..f5a31fa 100644 --- a/src/components/channeltabswitcherhandy.hpp +++ b/src/components/channeltabswitcherhandy.hpp @@ -1,8 +1,7 @@ #pragma once // perhaps this should be conditionally included within cmakelists? #ifdef WITH_LIBHANDY - #include <gtkmm/box.h> - #include <unordered_map> + #include <unordered_map> #include <handy.h> #include "discord/snowflake.hpp" #include "state.hpp" diff --git a/src/components/chatinput.cpp b/src/components/chatinput.cpp index 2466965..4c4c866 100644 --- a/src/components/chatinput.cpp +++ b/src/components/chatinput.cpp @@ -1,5 +1,4 @@ #include "chatinput.hpp" -#include "abaddon.hpp" #include "constants.hpp" #include <filesystem> diff --git a/src/components/chatinput.hpp b/src/components/chatinput.hpp index 807f958..3b7bc79 100644 --- a/src/components/chatinput.hpp +++ b/src/components/chatinput.hpp @@ -1,5 +1,4 @@ #pragma once -#include <gtkmm.h> #include "discord/chatsubmitparams.hpp" #include "discord/permissions.hpp" diff --git a/src/components/chatinputindicator.cpp b/src/components/chatinputindicator.cpp index b829c46..13315c6 100644 --- a/src/components/chatinputindicator.cpp +++ b/src/components/chatinputindicator.cpp @@ -1,7 +1,5 @@ #include <filesystem> #include "chatinputindicator.hpp" -#include "abaddon.hpp" -#include "util.hpp" constexpr static const int MaxUsersInIndicator = 4; diff --git a/src/components/chatinputindicator.hpp b/src/components/chatinputindicator.hpp index ec70dfb..40c966e 100644 --- a/src/components/chatinputindicator.hpp +++ b/src/components/chatinputindicator.hpp @@ -1,5 +1,4 @@ #pragma once -#include <gtkmm.h> #include <unordered_map> #include "discord/message.hpp" #include "discord/user.hpp" diff --git a/src/components/chatlist.cpp b/src/components/chatlist.cpp index 9becbdb..93fb46f 100644 --- a/src/components/chatlist.cpp +++ b/src/components/chatlist.cpp @@ -1,5 +1,4 @@ #include "chatlist.hpp" -#include "abaddon.hpp" #include "chatmessage.hpp" #include "constants.hpp" diff --git a/src/components/chatlist.hpp b/src/components/chatlist.hpp index 9cc6992..0248d7f 100644 --- a/src/components/chatlist.hpp +++ b/src/components/chatlist.hpp @@ -1,5 +1,4 @@ #pragma once -#include <gtkmm.h> #include <map> #include <vector> #include "discord/message.hpp" diff --git a/src/components/chatmessage.cpp b/src/components/chatmessage.cpp index 20e88ea..8c16922 100644 --- a/src/components/chatmessage.cpp +++ b/src/components/chatmessage.cpp @@ -1,7 +1,5 @@ -#include "abaddon.hpp" #include "chatmessage.hpp" #include "lazyimage.hpp" -#include "util.hpp" #include <unordered_map> constexpr static int EmojiSize = 24; // settings eventually diff --git a/src/components/chatmessage.hpp b/src/components/chatmessage.hpp index 7851351..c854272 100644 --- a/src/components/chatmessage.hpp +++ b/src/components/chatmessage.hpp @@ -1,5 +1,4 @@ #pragma once -#include <gtkmm.h> #include "discord/discord.hpp" class ChatMessageItemContainer : public Gtk::EventBox { diff --git a/src/components/chatwindow.cpp b/src/components/chatwindow.cpp index c5b4d14..1565d0c 100644 --- a/src/components/chatwindow.cpp +++ b/src/components/chatwindow.cpp @@ -1,5 +1,4 @@ #include "chatwindow.hpp" -#include "abaddon.hpp" #include "chatinputindicator.hpp" #include "ratelimitindicator.hpp" #include "chatinput.hpp" diff --git a/src/components/chatwindow.hpp b/src/components/chatwindow.hpp index 802826b..e1bb57a 100644 --- a/src/components/chatwindow.hpp +++ b/src/components/chatwindow.hpp @@ -1,5 +1,4 @@ #pragma once -#include <gtkmm.h> #include <string> #include <set> #include "discord/discord.hpp" diff --git a/src/components/completer.cpp b/src/components/completer.cpp index 128bef2..c6a5a08 100644 --- a/src/components/completer.cpp +++ b/src/components/completer.cpp @@ -1,8 +1,6 @@ #include <unordered_set> #include <utility> #include "completer.hpp" -#include "abaddon.hpp" -#include "util.hpp" constexpr const int CompleterHeight = 150; constexpr const int MaxCompleterEntries = 30; diff --git a/src/components/completer.hpp b/src/components/completer.hpp index 6906f02..d1b1d5f 100644 --- a/src/components/completer.hpp +++ b/src/components/completer.hpp @@ -1,5 +1,4 @@ #pragma once -#include <gtkmm.h> #include <functional> #include "lazyimage.hpp" #include "discord/snowflake.hpp" diff --git a/src/components/draglistbox.hpp b/src/components/draglistbox.hpp index 9f204be..8890792 100644 --- a/src/components/draglistbox.hpp +++ b/src/components/draglistbox.hpp @@ -1,5 +1,4 @@ #pragma once -#include <gtkmm.h> class DragListBox : public Gtk::ListBox { public: diff --git a/src/components/friendslist.cpp b/src/components/friendslist.cpp index b908359..d8a566f 100644 --- a/src/components/friendslist.cpp +++ b/src/components/friendslist.cpp @@ -1,5 +1,4 @@ #include "friendslist.hpp" -#include "abaddon.hpp" #include "lazyimage.hpp" using namespace std::string_literals; diff --git a/src/components/friendslist.hpp b/src/components/friendslist.hpp index 460ad32..c4056f0 100644 --- a/src/components/friendslist.hpp +++ b/src/components/friendslist.hpp @@ -1,5 +1,4 @@ #pragma once -#include <gtkmm.h> #include "discord/objects.hpp" class FriendsListAddComponent : public Gtk::Box { diff --git a/src/components/lazyimage.cpp b/src/components/lazyimage.cpp index 1f005f3..13bd65d 100644 --- a/src/components/lazyimage.cpp +++ b/src/components/lazyimage.cpp @@ -1,7 +1,6 @@ #include "lazyimage.hpp" #include <utility> -#include "abaddon.hpp" LazyImage::LazyImage(int w, int h, bool use_placeholder) : m_width(w) diff --git a/src/components/lazyimage.hpp b/src/components/lazyimage.hpp index 4d5a216..50db425 100644 --- a/src/components/lazyimage.hpp +++ b/src/components/lazyimage.hpp @@ -1,5 +1,4 @@ #pragma once -#include <gtkmm.h> // loads an image only when the widget is drawn for the first time class LazyImage : public Gtk::Image { diff --git a/src/components/memberlist.cpp b/src/components/memberlist.cpp index 85ccd05..19b4fb8 100644 --- a/src/components/memberlist.cpp +++ b/src/components/memberlist.cpp @@ -1,6 +1,4 @@ #include "memberlist.hpp" -#include "abaddon.hpp" -#include "util.hpp" #include "lazyimage.hpp" #include "statusindicator.hpp" diff --git a/src/components/memberlist.hpp b/src/components/memberlist.hpp index 60a25bc..7d5da10 100644 --- a/src/components/memberlist.hpp +++ b/src/components/memberlist.hpp @@ -1,5 +1,4 @@ #pragma once -#include <gtkmm.h> #include <mutex> #include <unordered_map> #include <optional> diff --git a/src/components/progressbar.cpp b/src/components/progressbar.cpp index aa5d748..75f86bb 100644 --- a/src/components/progressbar.cpp +++ b/src/components/progressbar.cpp @@ -1,5 +1,4 @@ #include "progressbar.hpp" -#include "abaddon.hpp" MessageUploadProgressBar::MessageUploadProgressBar() { get_style_context()->add_class("message-progress"); diff --git a/src/components/progressbar.hpp b/src/components/progressbar.hpp index b73521b..483ee47 100644 --- a/src/components/progressbar.hpp +++ b/src/components/progressbar.hpp @@ -1,5 +1,4 @@ #pragma once -#include <gtkmm/progressbar.h> #include <string> class MessageUploadProgressBar : public Gtk::ProgressBar { diff --git a/src/components/ratelimitindicator.cpp b/src/components/ratelimitindicator.cpp index 820e395..426f18e 100644 --- a/src/components/ratelimitindicator.cpp +++ b/src/components/ratelimitindicator.cpp @@ -1,5 +1,4 @@ #include "ratelimitindicator.hpp" -#include "abaddon.hpp" #include <filesystem> RateLimitIndicator::RateLimitIndicator() diff --git a/src/components/ratelimitindicator.hpp b/src/components/ratelimitindicator.hpp index b4dbb69..c9b6d6e 100644 --- a/src/components/ratelimitindicator.hpp +++ b/src/components/ratelimitindicator.hpp @@ -1,5 +1,4 @@ #pragma once -#include <gtkmm.h> #include <unordered_map> #include <chrono> #include "discord/message.hpp" diff --git a/src/components/statusindicator.cpp b/src/components/statusindicator.cpp index 4d7415c..47e8b44 100644 --- a/src/components/statusindicator.cpp +++ b/src/components/statusindicator.cpp @@ -1,5 +1,4 @@ #include "statusindicator.hpp" -#include "abaddon.hpp" static const constexpr int Diameter = 8; diff --git a/src/components/statusindicator.hpp b/src/components/statusindicator.hpp index ad9122b..1fa8b9b 100644 --- a/src/components/statusindicator.hpp +++ b/src/components/statusindicator.hpp @@ -1,5 +1,4 @@ #pragma once -#include <gtkmm.h> #include "discord/snowflake.hpp" #include "discord/activity.hpp" |