Skip to content

Instantly share code, notes, and snippets.

@petrstepanov
Created April 23, 2019 22:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save petrstepanov/90c90e249e64b878b2c8b59c5f24bab1 to your computer and use it in GitHub Desktop.
Save petrstepanov/90c90e249e64b878b2c8b59c5f24bab1 to your computer and use it in GitHub Desktop.
CERN ROOT MVP Presenter header
#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