Skip to content

Commit

Permalink
Finish REDO and UNDO buttons using memento design pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
nhuhoang0701 committed Nov 26, 2020
1 parent dbbd070 commit 06b106e
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ CMakeCache.txt
*.exe
*.out
*.app
fpt_exam_qt5
UTCalculateur

*.AppImage
Expand Down
12 changes: 12 additions & 0 deletions include/memento_pile.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#ifndef __MEMENTO_PILE_H__
#define __MEMENTO_PILE_H__

class MementoPile
{
private:

public:
MementoPile();
};

#endif // __MEMENTO_PILE_H__
6 changes: 6 additions & 0 deletions src/memento_pile.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#include "memento_pile.h"


MementoPile::MementoPile() {

}

0 comments on commit 06b106e

Please sign in to comment.