cancel
Showing results for 
Search instead for 
Did you mean: 

MVP base class moddified

Marc_LM
Associate III

Does anyone have an improved example to understand the MVP[1] (and widget/containers),
where you change the base implementation of the MVP ?

I was able to defined default implementation for the Model and the View but not for the Presenter or Drawables.

class ModelListener { public: virtual char* getPAmessage(eVerbose_t type) { return model->PAmessage; } ... } class View : public Screen { public: char* getPAmessage(eVerbose_t type) { return presenter->getPAmessage(type); } ... }


The goal was to make a signal that is understood by every layer without having to use boilerplate at each new implementation of these interfaces.

 [1] Example: "Understanding Application Structure"

1 REPLY 1
Maxime_MARCHETTO
Community manager
Community manager

Hello @Marc_LM,

This post has been escalated to the ST Online Support Team for additional assistance.  We'll contact you directly.

Best regards,
Maxime


In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.