Chatterino
chatterino2
src
controllers
commands
CommandContext.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include "
common/Channel.hpp
"
4
#include "
providers/twitch/TwitchChannel.hpp
"
5
6
#include <QStringList>
7
8
namespace
chatterino
{
9
10
struct
CommandContext
{
11
QStringList
words
;
12
13
// Can be null
14
ChannelPtr
channel
;
15
16
// Can be null if `channel` is null or if `channel` is not a Twitch channel
17
TwitchChannel
*
twitchChannel
;
18
};
19
20
}
// namespace chatterino
chatterino::CommandContext::twitchChannel
TwitchChannel * twitchChannel
Definition:
CommandContext.hpp:17
chatterino::CommandContext::channel
ChannelPtr channel
Definition:
CommandContext.hpp:14
chatterino::TwitchChannel
Definition:
TwitchChannel.hpp:60
chatterino
Definition:
Application.cpp:48
chatterino::CommandContext::words
QStringList words
Definition:
CommandContext.hpp:11
Channel.hpp
chatterino::CommandContext
Definition:
CommandContext.hpp:10
chatterino::ChannelPtr
std::shared_ptr< Channel > ChannelPtr
Definition:
Channel.hpp:125
TwitchChannel.hpp
Generated by
1.8.13