3 virtual const char * get_version_string() = 0;
15 virtual const char * get_name() = 0;
16 virtual const char * get_version_as_text() = 0;
22 if (v.
m_major < major)
return false;
23 else if (v.
m_major > major)
return true;
25 else if (v.
m_minor1 < minor1)
return false;
26 else if (v.
m_minor1 > minor1)
return true;
28 else if (v.
m_minor2 < minor2)
return false;
29 else if (v.
m_minor2 > minor2)
return true;
31 else if (v.
m_minor3 < minor3)
return false;
static const char * g_get_version_string()
bool test_version(t_uint32 major, t_uint32 minor1, t_uint32 minor2, t_uint32 minor3)
Determine whether running foobar2000 version is newer or equal to the specified version, eg. test_version(0,9,5,0) for 0.9.5.
Base class for all service classes. Provides interfaces for reference counter and querying for differ...
Helper template used to easily access core services. Usage: static_api_ptr_t<myclass> api; api->doso...