Question
How can it use model function out of MVP?
Hi!
I want to use a function of the model in a my class out of MVP, is it possible?
void Model::proofPrint()
{
modelListener->printLabel();
}printLabel() is a function inside a screen.
I have a class MainApp.cpp that it use how class wrapper for the file DebugConsole.c.
MainApp isn't a screen.
How can i use model.proofPrint in MainApp?
Obviously i call proofPrint when i am in the correct screen.
