ValveSoftware/vogl_src — pull request #1 by lawlove (2014-04-08 22:00:58+00:00)
Title: vogleditor: replace #include with class forward

(Minor) Issue:
A bit of code cleanup.

While browsing through the code noticed a header file was unnecessarily
including another header file when class forwarding would suffice. Ended
up going through the rest of the files in the vogleditor module and
doing similar cleanup. In general within a header file, change the
"#include" class files to declared class types and move the "#include"
declarations to its source file (when possible).

Testing:
Minimal (no test suite yet); successfully built and ran vogleditor64
(with glxspheres64.bin)

Timing tests for building shows no real improvement at this point

* vogleditor directory build (after toplevel make clean)

master branch class-forwards branch
------------- ---------------------
real 0m25.742s 0m25.705s
user 0m22.880s 0m22.616s
sys 0m0.884s 0m1.096s

* vogleditor directory build (after vogleditor make clean)

master branch class-forwards branch
------------- ---------------------
real 0m3.916s 0m3.887s
user 0m2.872s 0m2.820s
sys 0m0.384s 0m0.384s

Signed-off-by: Lawrence L Love