mirror-chatterino2/src/controllers/commands/Command.hpp

19 lines
315 B
C++
Raw Normal View History

#pragma once
#include <QString>
namespace chatterino {
struct Command {
QString name;
QString func;
Command() = default;
explicit Command(const QString &text);
Command(const QString &name, const QString &func);
QString toString() const;
};
} // namespace chatterino