I used the JUCER to make my latest project, and it created three files for me.
My question now is I noticed in Jule’s JUCER(Experimental) code that in the jucer_application.h MainWindow->setProject(project*) is called, which ends up passing the pointer to ContentComponent->setProject(project*).
This requires project.h be included in both of those classes, and hard links the GUI component and DocumentWindow to the Data Model… or I could be misunderstanding? (I’m still learning about patterns, when to implement them, and when to not “over design”.) Is this cool to do? Is the the way to link your Model to your View?
Eventually I want to have several different models of processed/analyzed data sets, and several different ways to visualize those data models. Should I separate the Data Models from the GUI components more using a controller/mediator class? Or should I just hard set these pointers like in the JUCER code?
Thanks again for your advice, and thoughts.