xbmc/xbmc — pull request #1198 by cptspiff (2012-07-22 14:50:52+00:00)
Title: Clean up build dependencies by removing unnecessary includes

This PR has two commits, none of which should be controversial. Shuffles some includes around and changes the application messenger to a singleton (to avoid including Application.h in ~ 10-15 files).

to give you an idea; before this:

touch Util.h -> 197 CPP, 40 AR
touch Application.h -> 108 CPP, 30 AR

after

touch Util.h -> 82 CPP, 32 AR
touch Application.h -> 91 CPP, 30 AR

while the results for App.h isn't very exiting, it's a hotspot so every bit matters.

likely breaks other platforms, so compile testing is needed.