mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 10:48:41 +00:00
LibGUI: Add GUndoStack and GCommand classes
This patch converts the undo stack from GTextDocument into GUndoStack, and GTextDocumentUndoCommand now inherits from GCommand. Let's turn this into a generic mechanism that can be used to implement undo/redo in any application. :^)
This commit is contained in:
5
Libraries/LibGUI/GCommand.cpp
Normal file
5
Libraries/LibGUI/GCommand.cpp
Normal file
@@ -0,0 +1,5 @@
|
||||
#include <LibGUI/GCommand.h>
|
||||
|
||||
GCommand::~GCommand()
|
||||
{
|
||||
}
|
||||
Reference in New Issue
Block a user