--- a/QTfrontend/gameuiconfig.h Tue Dec 18 20:48:37 2012 +0400
+++ b/QTfrontend/gameuiconfig.h Fri Jan 04 21:44:40 2013 +0400
@@ -23,6 +23,9 @@
#include <QStringList>
#include <QRect>
#include <QEvent>
+#include <QList>
+#include <utility>
+#include "binds.h"
class HWForm;
class QSettings;
@@ -36,6 +39,7 @@
GameUIConfig(HWForm * FormWidgets, const QString & fileName);
QStringList GetTeamsList();
QRect vid_Resolution();
+ std::pair<QRect, QRect> vid_ResolutionPair();
bool vid_Fullscreen();
quint32 translateQuality();
bool isSoundEnabled();
@@ -48,7 +52,6 @@
bool appendDateTimeToRecordName();
quint8 volume();
quint8 timerInterval();
- quint8 bitDepth();
QString netNick();
QByteArray netPasswordHash();
int netPasswordLength();
@@ -65,6 +68,8 @@
void resizeToConfigValues();
quint32 stereoMode() const;
void setValue(const QString & key, const QVariant & value);
+ QString bind(int bindID);
+ void setBind(int bindID, QString & strbind);
QString AVFormat();
QString videoCodec();
@@ -92,8 +97,8 @@
private:
bool netPasswordIsValid();
bool eventFilter(QObject *object, QEvent *event);
- quint8 depth;
- QString temphash;
+ QString temphash;
+ QList<BindAction> m_binds;
};
#endif