turning a lot of includes into forward declares

This commit is contained in:
fourtf
2018-08-11 22:23:06 +02:00
parent 63eaf3b94c
commit 44f5a15da3
117 changed files with 591 additions and 536 deletions
+4 -4
View File
@@ -1,9 +1,6 @@
#pragma once
#include "widgets/BaseWidget.hpp"
#include "widgets/dialogs/EmotePopup.hpp"
#include "widgets/helper/ResizingTextEdit.hpp"
#include "widgets/helper/EffectLabel.hpp"
#include <QHBoxLayout>
#include <QLabel>
@@ -16,6 +13,9 @@
namespace chatterino {
class Split;
class EmotePopup;
class EffectLabel;
class ResizingTextEdit;
class SplitInput : public BaseWidget
{
@@ -45,7 +45,7 @@ private:
void updateEmoteButton();
Split *const split_;
std::unique_ptr<EmotePopup> emotePopup_;
std::shared_ptr<EmotePopup> emotePopup_;
struct {
ResizingTextEdit *textEdit;