mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-15 20:19:17 +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;
|
|
};
|