1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-15 11:04:59 +00:00
serenity/Libraries/LibGUI/GCommand.cpp
Andreas Kling f430da1d45 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. :^)
2019-11-30 15:36:17 +01:00

5 lines
56 B
C++

#include <LibGUI/GCommand.h>
GCommand::~GCommand()
{
}