Comment 2 for bug 1322869

Revision history for this message
SirVer (sirver) wrote :

I think it makes more sense to implement a dummy g_gr that has all methods, but they do not do anything. Having ifs() all over the codebase is not ideal.

That entails: make all methods in Graphic virtual and add virtual dummys for most other classes in there that will returned instead.

The proper fix is of course to have the logical being fully observable and never calling the GUI, then you would just never launch the GUI - but that is a lot of work.