PowerToys/src/common/VersionHelper.h
2020-04-27 13:39:47 +03:00

19 lines
316 B
C++

#pragma once
#include <string>
#include <compare>
struct VersionHelper
{
VersionHelper(std::string str);
VersionHelper(int major, int minor, int revision);
auto operator<=>(const VersionHelper&) const = default;
int major;
int minor;
int revision;
std::wstring toWstring() const;
};