Debian Codegraph @

plugins/script/interfaces/CommandSystemInterface.h

raw
1 #pragma once
2
3 #include "iscript.h"
4 #include "iscriptinterface.h"
5
6 namespace script
7 {
8
9 class CommandSystemInterface :
10 public IScriptInterface
11 {
12 public:
13 void execute(const std::string& buffer);
14 void addStatement(const std::string& statementName, const std::string& string);
15 void removeCommand(const std::string& name);
16
17 void registerInterface(py::module& scope, py::dict& globals) override;
18 };
19
20 } // namespace script