27 lines
496 B
C++
27 lines
496 B
C++
#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
|