A good explanation about the usage of MainFrame and huginApp. I prefered huginApp, because it is the main application, it set the internal variables and provides the get function. MainFrame acts only as a wrapper for huginApp.
Thanks to Pablo for the clarification of my impressions and Yuv to change the calls. I will simplify the pattern in question for celeste file name. Guido Pablo d'Angelo schrieb: > Yuval Levy schrieb: >> Guido Kohlmeyer wrote: >>> Meanwhile I found huginApp::Get()->GetXRCPath(), which is the same. >> is there a reason to have twice the same thing, or is this a redundancy? >> if it is, from which class does it make sense to get the XRCPath? from >> huginApp.h or from MainFrame.h? > > Hmm, I don't remember why I did this. Probably because initially the > path was handled by MainFrame and not by HuginApp. Probably > MainFrame::GetXRCPath() can now be removed and replaced with > HuginApp::GetXRCPath(), which I probably intended to do by somehow > forgot to actually do. > > ciao > Pablo --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group. A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/hugin-ptx -~----------~----~----~----~------~----~------~--~---
