diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-18 16:37:02 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-18 16:37:02 +0200 |
commit | 4cb7ca42003c177e3acc80075d7594e555966106 (patch) | |
tree | d2f5836d70a1fa2dc1d18c4fb59f1bf1f2f91f5a /OpenFileGUICommand.h | |
parent | d8289105193707daede1a5b59137f18e20f20aeb (diff) |
fix command design pattern
Diffstat (limited to 'OpenFileGUICommand.h')
-rw-r--r-- | OpenFileGUICommand.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/OpenFileGUICommand.h b/OpenFileGUICommand.h index 9b504a9..1990ce7 100644 --- a/OpenFileGUICommand.h +++ b/OpenFileGUICommand.h @@ -2,10 +2,18 @@ #include "Command.h" +class Museum; +class View; + class OpenFileGUICommand : public Command { - using Command::Command; +public: + OpenFileGUICommand(Museum & m, View & v); public: virtual void execute(); + +private: + Museum & museum; + View & view; }; |