refactor/reformat. remove useless common.h
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
#ifndef LIMITEDQUEUE_H
|
||||
#define LIMITEDQUEUE_H
|
||||
#pragma once
|
||||
|
||||
#include "messages/limitedqueuesnapshot.h"
|
||||
|
||||
@@ -96,5 +95,3 @@ private:
|
||||
|
||||
} // namespace messages
|
||||
} // namespace chatterino
|
||||
|
||||
#endif // LIMITEDQUEUE_H
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#ifndef LIMITEDQUEUESNAPSHOT_H
|
||||
#define LIMITEDQUEUESNAPSHOT_H
|
||||
#pragma once
|
||||
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
@@ -34,7 +33,6 @@ private:
|
||||
int _offset;
|
||||
int _length;
|
||||
};
|
||||
|
||||
} // namespace messages
|
||||
} // namespace chatterino
|
||||
|
||||
#endif // LIMITEDQUEUESNAPSHOT_H
|
||||
|
||||
@@ -14,5 +14,6 @@ Link::Link(Type type, const QString &value)
|
||||
, value(value)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace messages
|
||||
} // namespace chatterino
|
||||
|
||||
+3
-5
@@ -1,5 +1,4 @@
|
||||
#ifndef LINK_H
|
||||
#define LINK_H
|
||||
#pragma once
|
||||
|
||||
#include <QString>
|
||||
|
||||
@@ -42,7 +41,6 @@ private:
|
||||
Type type;
|
||||
QString value;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif // LINK_H
|
||||
} // namespace messages
|
||||
} // namespace chatterino
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
|
||||
#include <QObjectUserData>
|
||||
#include <QStringList>
|
||||
|
||||
#include <ctime>
|
||||
#include <list>
|
||||
#include <tuple>
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#ifndef MESSAGE_H
|
||||
#define MESSAGE_H
|
||||
#pragma once
|
||||
|
||||
#include "messages/message.h"
|
||||
#include "messages/messageparseargs.h"
|
||||
@@ -67,5 +66,3 @@ private:
|
||||
|
||||
} // namespace messages
|
||||
} // namespace chatterino
|
||||
|
||||
#endif // MESSAGE_H
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#ifndef MESSAGEPARSEARGS_H
|
||||
#define MESSAGEPARSEARGS_H
|
||||
#pragma once
|
||||
|
||||
namespace chatterino {
|
||||
namespace messages {
|
||||
@@ -11,7 +10,6 @@ public:
|
||||
bool isSentWhisper = false;
|
||||
bool includeChannelName = false;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif // MESSAGEPARSEARGS_H
|
||||
} // namespace messages
|
||||
} // namespace chatterino
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
#ifndef MESSAGEREF_H
|
||||
#define MESSAGEREF_H
|
||||
#pragma once
|
||||
|
||||
#include "messages/message.h"
|
||||
|
||||
#include <QPixmap>
|
||||
|
||||
#include <memory>
|
||||
|
||||
namespace chatterino {
|
||||
@@ -50,5 +50,3 @@ private:
|
||||
|
||||
} // namespace messages
|
||||
} // namespace chatterino
|
||||
|
||||
#endif // MESSAGEREF_H
|
||||
|
||||
@@ -130,5 +130,6 @@ std::vector<short> &Word::getCharacterWidthCache() const
|
||||
{
|
||||
return _characterWidthCache;
|
||||
}
|
||||
|
||||
} // namespace messages
|
||||
} // namespace chatterino
|
||||
|
||||
+1
-4
@@ -1,5 +1,4 @@
|
||||
#ifndef WORD_H
|
||||
#define WORD_H
|
||||
#pragma once
|
||||
|
||||
#include "fontmanager.h"
|
||||
#include "messages/lazyloadedimage.h"
|
||||
@@ -116,5 +115,3 @@ private:
|
||||
|
||||
} // namespace messages
|
||||
} // namespace chatterino
|
||||
|
||||
#endif // WORD_H
|
||||
|
||||
@@ -102,5 +102,6 @@ int WordPart::getLineNumber()
|
||||
{
|
||||
return _lineNumber;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace messages
|
||||
} // namespace chatterino
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#ifndef WORDPART_H
|
||||
#define WORDPART_H
|
||||
#pragma once
|
||||
|
||||
#include <QRect>
|
||||
#include <QString>
|
||||
@@ -48,7 +47,6 @@ private:
|
||||
|
||||
bool _trailingSpace;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif // WORDPART_H
|
||||
} // namespace messages
|
||||
} // namespace chatterino
|
||||
|
||||
Reference in New Issue
Block a user