mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 12:01:50 +00:00
feat: custom languages syntax (WIP)
This commit is contained in:
parent
4360cd408b
commit
5253be6c56
18 changed files with 278 additions and 88 deletions
23
src/devtools/Editor.hpp
Normal file
23
src/devtools/Editor.hpp
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <memory>
|
||||
|
||||
class Engine;
|
||||
|
||||
namespace devtools {
|
||||
class SyntaxProcessor;
|
||||
|
||||
class Editor {
|
||||
public:
|
||||
Editor(Engine& engine);
|
||||
~Editor();
|
||||
|
||||
void loadTools();
|
||||
|
||||
SyntaxProcessor& getSyntaxProcessor();
|
||||
private:
|
||||
Engine& engine;
|
||||
std::unique_ptr<SyntaxProcessor> syntaxProcessor;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue