Created
April 23, 2019 22:53
-
-
Save petrstepanov/90c90e249e64b878b2c8b59c5f24bab1 to your computer and use it in GitHub Desktop.
CERN ROOT MVP Presenter header
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "./../AbstractPresenter.h" | |
#include "../../model/Model.h" | |
class __View; | |
class __Presenter : public AbstractPresenter<Model, __View> { | |
public: | |
__Presenter(__View* view); | |
virtual ~__Presenter(); | |
// Override base class virtual methods | |
Model* instantinateModel(); | |
// Signals from model | |
void onInitModel(); | |
// Slots from the view | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment