Publishing now has a space for an article and a title. Also reduced amount of copying
This commit is contained in:
parent
98bfab4ba5
commit
8187d045cd
8 changed files with 76 additions and 35 deletions
|
@ -8,6 +8,7 @@
|
|||
#include <vector>
|
||||
#include <ranges>
|
||||
#include <cctype>
|
||||
#include <string_view>
|
||||
|
||||
#include "shared/definitions.h"
|
||||
#include "shared/result.h"
|
||||
|
@ -28,8 +29,9 @@ public:
|
|||
virtual ~Module() noexcept;
|
||||
|
||||
static std::string lower(const std::string& text);
|
||||
static std::string_view pop(std::string_view& input, char delimiter = ' ');
|
||||
|
||||
virtual Shared::Result message(const std::shared_ptr<::Actor>& actor, const Shared::Strings& args) = 0;
|
||||
virtual Shared::Result message(const std::shared_ptr<::Actor>& actor, std::string_view view) = 0;
|
||||
|
||||
public:
|
||||
const std::string name;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue