mirror of
https://github.com/Vita3K/Vita3K.git
synced 2026-11-07 06:44:56 +01:00
35 lines
695 B
C++
35 lines
695 B
C++
/*!
|
|
\file environment.h
|
|
\brief Environment management definition
|
|
\author Ivan Shynkarenka
|
|
\date 27.07.2016
|
|
\copyright MIT License
|
|
*/
|
|
|
|
#ifndef CPPCOMMON_SYSTEM_ENVIRONMENT_H
|
|
#define CPPCOMMON_SYSTEM_ENVIRONMENT_H
|
|
|
|
#include <string>
|
|
|
|
namespace CppCommon {
|
|
|
|
//! Environment management static class
|
|
/*!
|
|
Provides environment management functionality to get OS bit version, process bit version,
|
|
debug/release mode.
|
|
|
|
Thread-safe.
|
|
*/
|
|
|
|
class Environment {
|
|
public:
|
|
//! Get OS version string
|
|
static std::string OSVersion();
|
|
};
|
|
|
|
/*! \example system_environment.cpp Environment management example */
|
|
|
|
} // namespace CppCommon
|
|
|
|
#endif // CPPCOMMON_SYSTEM_ENVIRONMENT_H
|