mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-20 05:49:55 +00:00
27 lines
375 B
C++
27 lines
375 B
C++
#ifndef STEAM_H
|
|
#define STEAM_H
|
|
|
|
#include <string>
|
|
|
|
struct SteamPrivate;
|
|
|
|
class Steam
|
|
{
|
|
public:
|
|
void unlock(const char *name);
|
|
void lock(const char *name);
|
|
bool isUnlocked(const char *name);
|
|
|
|
const std::string &userName() const;
|
|
const std::string &lang() const;
|
|
|
|
private:
|
|
Steam();
|
|
~Steam();
|
|
|
|
friend struct SharedStatePrivate;
|
|
|
|
SteamPrivate *p;
|
|
};
|
|
|
|
#endif // STEAM_H
|