added getResource to GUICompatibility
merging addResource to Compatibility.h