XPlor/libs/xassets/xcommoninfo.h

27 lines
496 B
C
Raw Normal View History

#ifndef XCOMMONINFO_H
#define XCOMMONINFO_H
#include "xgame.h"
#include "xplatform.h"
class XCommonInfo
{
public:
XCommonInfo();
XCommonInfo(const XGame& aGame, const XPlatform& aPlatform);
XGame GetGame() const;
QString GetGameString() const;
void SetGame(XGame newGame);
XPlatform GetPlatform() const;
QString GetPlatformString() const;
void SetPlatform(XPlatform newPlatform);
private:
XGame mGame;
XPlatform mPlatform;
};
#endif // XCOMMONINFO_H