Skip to content

Instantly share code, notes, and snippets.

@petrstepanov
Last active April 26, 2019 23:01
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/b03ad8f0343e3c0884f97d9cfc31ca6d to your computer and use it in GitHub Desktop.
Save petrstepanov/b03ad8f0343e3c0884f97d9cfc31ca6d to your computer and use it in GitHub Desktop.
CERN ROOT MVP View header
#include "./../AbstractView.h"
#include "__Presenter.h"
class __Presenter;
class __View : public AbstractView<__Presenter> {
protected:
void initUI();
void connectSignalsToPresenter();
private:
// Declare UI elements
public:
__View(const TGWindow *w = 0);
virtual ~__View();
// Override base class virtual functions
__Presenter* instantinatePresenter();
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment