What would be the simplest example of CMakeLists.txt, main.cpp and PureMVC sources to display "Hello Startup" from execute() Startup SimpleCommand?
PureMVC sources are here
Ideally solution could be a link to github project.
What would be the simplest example of CMakeLists.txt, main.cpp and PureMVC sources to display "Hello Startup" from execute() Startup SimpleCommand?
PureMVC sources are here
Ideally solution could be a link to github project.
Copyright © 2021 Jogjafile Inc.
You should compile corresponding dll and lib (Debug or Release [static|shared]), include PureMVC files. Maybe you can derive a facade from PureMVC::Patterns::Facade, override essential virtual functions. Because it's different between C++ and Java-like programming languages, overrided initializeController() won't be called in base class's constructor! Here is a derive example:
StartupCommand and ExitCommand are derived from PureMVC::Patterns::SimpleCommand Then in main.cpp you can start the program by:
And exit: