mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-24 00:48:00 +08:00
19 lines
316 B
C++
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;
|
|
};
|