I have a header file in which there are extern variables.
Should I declare :
extern tgui::Gui gui;
//and use it once in main:
gui.setWindow(window);
Or should i just declare it once in every class I have?
I'm asking because in SFGUI you shouldn't declare it globally.