mirror of
https://github.com/antopilo/Nuake.git
synced 2026-09-09 20:08:57 +03:00
Merge branch 'main' of https://github.com/antopilo/Nuake
This commit is contained in:
17
Editor/src/Commands/CommandBuffer.h
Normal file
17
Editor/src/Commands/CommandBuffer.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#pragma once
|
||||
|
||||
#include <vector>
|
||||
|
||||
namespace NuakeEditor
|
||||
{
|
||||
class CommandBuffer
|
||||
{
|
||||
private:
|
||||
|
||||
public:
|
||||
CommandBuffer();
|
||||
~CommandBuffer();
|
||||
|
||||
|
||||
};
|
||||
}
|
||||
23
Editor/src/Commands/Commands/Commands.h
Normal file
23
Editor/src/Commands/Commands/Commands.h
Normal file
@@ -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;
|
||||
};
|
||||
}
|
||||
11
Editor/src/Commands/ICommand.h
Normal file
11
Editor/src/Commands/ICommand.h
Normal file
@@ -0,0 +1,11 @@
|
||||
#pragma once
|
||||
|
||||
namespace NuakeEditor
|
||||
{
|
||||
class ICommand
|
||||
{
|
||||
public:
|
||||
virtual void Execute() = 0;
|
||||
virtual void Undo() = 0;
|
||||
};
|
||||
}
|
||||
@@ -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"'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user