diff --git a/Editor/src/Commands/CommandBuffer.h b/Editor/src/Commands/CommandBuffer.h new file mode 100644 index 00000000..91c48a6e --- /dev/null +++ b/Editor/src/Commands/CommandBuffer.h @@ -0,0 +1,17 @@ +#pragma once + +#include + +namespace NuakeEditor +{ + class CommandBuffer + { + private: + + public: + CommandBuffer(); + ~CommandBuffer(); + + + }; +} \ No newline at end of file diff --git a/Editor/src/Commands/Commands/Commands.h b/Editor/src/Commands/Commands/Commands.h new file mode 100644 index 00000000..086ebd08 --- /dev/null +++ b/Editor/src/Commands/Commands/Commands.h @@ -0,0 +1,23 @@ +#pragma once +#include "../ICommand.h" + +namespace NuakeEditor { + + class SaveSceneCommand : ICommand + { + public: + void Execute() override; + }; + + class SaveProjectCommand : ICommand + { + public: + void Execute() override; + }; + + class SaveProjectCommand : ICommand + { + public: + void Execute() override; + }; +} \ No newline at end of file diff --git a/Editor/src/Commands/ICommand.h b/Editor/src/Commands/ICommand.h new file mode 100644 index 00000000..1dc7c25c --- /dev/null +++ b/Editor/src/Commands/ICommand.h @@ -0,0 +1,11 @@ +#pragma once + +namespace NuakeEditor +{ + class ICommand + { + public: + virtual void Execute() = 0; + virtual void Undo() = 0; + }; +} \ No newline at end of file diff --git a/NuakeNet/premake5.lua b/NuakeNet/premake5.lua index cef4d968..eb3d9288 100644 --- a/NuakeNet/premake5.lua +++ b/NuakeNet/premake5.lua @@ -22,6 +22,6 @@ project "NuakeNet" } postbuildcommands { - '{ECHO} Copying "%{wks.location}/NuakeNet/bin/%{cfg.buildcfg}/NuakeNet.dll" to "%{wks.location}/Editor"', - '{COPYFILE} "%{wks.location}/NuakeNet/bin/%{cfg.buildcfg}/NuakeNet.dll" "%{wks.location}/Editor"' + '{ECHO} Copying "%{wks.location}/NuakeNet/bin/$(Configuration)/NuakeNet.dll" to "%{wks.location}/Editor"', + '{COPYFILE} "%{wks.location}/NuakeNet/bin/$(Configuration)/NuakeNet.dll" "%{wks.location}/Editor"' }