GUIControlFactory.RegisterControl limitations (1 Viewer)

bradype

Portal Member
September 10, 2008
5
0
Home Country
Belgium Belgium
MediaPortal Version: 1.0 RC2
MediaPortal Skin: Blue Two

Hello,

GUIControlFactory.RegisterControl() just associates a type but it does not load "reference information" (from references.xml). The only way to have it load "reference information" seems to consist in invoking GUIControlFactory.ClearReferences() and then GUIControlFactory.LoadReferences(). Is this correct?

Shouldn't custom controls load "reference information" from a distinct file (i.e. not the one used for internal controls)?

Shouldn't GUIControlFactory.RegisterControl() read "reference information" from a file that could be provided as a parameter?

Regards,

Frederic.
 

Users who are viewing this thread

Top Bottom