pieh/xbmc — comment on commit 401475b6d3fde1d4c60ac89c09d8985223fb15fc
File: xbmc/GUIInfoManager.cpp line 4540
By jmarshallnz:

I assumed it would be done as follows:

1. On skin load, we parse any skin variables (eg build a map of name -> XML in GUIIncludes?) but do not create any "info variable" objects as you don't have the context.
2. On window load, when you hit a skin variable use, you lookup what the definition of the skin variable (in GUIIncludes?) is and create a new "info variable" object using that context if it doesn't already exist.