, , , "" , . - , , , , ( get/set, //CPU/etc). , , , , (, ) - ).
, :
if the application code itself is a template type (or reasonable for templates), you can provide a GUI class type to use as a template parameter
if the application code uses the main GUI file of the static / anonymous namespace in its implementation file, you can #ifdefsimply replace this line with the test version
(if you post more of your actual code, it would be easier to make specific recommendations, since a lot depends on what appears in the headers, stand-alone and class members, etc.)
source
share