You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lunarium_OLD/src/core/version.h

34 lines
752 B
C

/******************************************************************************
* File - Version.h
* Author - Joey Pollack
* Date - 2020/03/06 (y/m/d)
* Mod Date - 2021/08/31 (y/m/d)
* Description - Defines the current version of the engine and provides
* methods to work with the Version struct. Using Semantic
* Versioning https://semver.org/
*
******************************************************************************/
#ifndef _VERSION_H_
#define _VERSION_H_
#include <string>
#include <utils/opRes.h>
namespace lunarium
{
struct Version
{
int Major;
int Minor;
int Patch;
static Version GetVersion();
static OpRes StringToVersion(const char* str, Version& v);
std::string ToString();
};
}
#endif // _VERSION_H_