mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
23 lines
417 B
C++
23 lines
417 B
C++
#pragma once
|
|
|
|
#include <QString>
|
|
|
|
namespace chatterino {
|
|
namespace controllers {
|
|
namespace commands {
|
|
|
|
struct Command {
|
|
QString name;
|
|
QString func;
|
|
|
|
Command() = default;
|
|
explicit Command(const QString &text);
|
|
Command(const QString &name, const QString &func);
|
|
|
|
QString toString() const;
|
|
};
|
|
|
|
} // namespace commands
|
|
} // namespace controllers
|
|
} // namespace chatterino
|