45 using namespace basis;
50 #undef static_class_name
51 #define static_class_name() "windoze_helper"
53 #define LOG(s) CLASS_EMERGENCY_LOG(program_wide_logger::get(), s)
826 const char *opsystem_name(known_operating_systems which)
829 case WIN_95:
return "WIN_95";
830 case WIN_NT:
return "WIN_NT";
831 case WIN_2K:
return "WIN_2K";
832 case WIN_XP:
return "WIN_XP";
833 case WIN_SRV2K3:
return "WIN_SRV2K3";
834 case WIN_VISTA:
return "WIN_VISTA";
835 case WIN_7:
return "WIN_7";
836 case WIN_8:
return "WIN_8";
837 case WIN_10:
return "WIN_10";
838 default:
return "UNKNOWN_OS";
842 known_operating_systems determine_OS()
845 version osver = application_configuration::get_OS_version();
847 if (osver.
v_revision() == VER_PLATFORM_WIN32_WINDOWS)
return WIN_95;
848 if (osver.
v_revision() == VER_PLATFORM_WIN32_NT)
return WIN_NT;
877 #undef static_class_name
a_sprintf is a specialization of astring that provides printf style support.
Holds a file's version identifier.
int v_minor() const
minor version number.
int v_major() const
major version number.
int v_revision() const
revision level.
#define FUNCDEF(func_in)
FUNCDEF sets the name of a function (and plugs it into the callstack).
Implements an application lock to ensure only one is running at once.
The guards collection helps in testing preconditions and reporting errors.
A logger that sends to the console screen using the standard output device.
A dynamic container class that holds any kind of object via pointers.
Aids in achievement of platform independence.