--- a/QTfrontend/gameuiconfig.h Wed Jan 02 11:11:49 2013 +0100
+++ b/QTfrontend/gameuiconfig.h Sun Jan 27 00:28:57 2013 +0100
@@ -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();
@@ -64,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();
@@ -91,7 +97,8 @@
private:
bool netPasswordIsValid();
bool eventFilter(QObject *object, QEvent *event);
- QString temphash;
+ QString temphash;
+ QList<BindAction> m_binds;
};
#endif