1043f9f803
* refactor: remove unnecessary includes in headers * fix: formatting * chore: changelog * fix: scrollbar * fix: suggestions and old appbase remains * fix: suggestion * fix: missing Qt forward declarations * fix: another qt include * fix: includes for precompiled-headers=off * Add missing `<memory>` includes * Add missing `#pragma once` * Fix tests Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
24 lines
400 B
C++
24 lines
400 B
C++
#pragma once
|
|
|
|
#include <QStringList>
|
|
|
|
#include <memory>
|
|
|
|
namespace chatterino {
|
|
|
|
class Channel;
|
|
using ChannelPtr = std::shared_ptr<Channel>;
|
|
class TwitchChannel;
|
|
|
|
struct CommandContext {
|
|
QStringList words;
|
|
|
|
// Can be null
|
|
ChannelPtr channel;
|
|
|
|
// Can be null if `channel` is null or if `channel` is not a Twitch channel
|
|
TwitchChannel *twitchChannel;
|
|
};
|
|
|
|
} // namespace chatterino
|