qmlfrontend/gameconfig.h
changeset 14154 8354b390f1a2
parent 14153 b273b43b16d2
child 14155 8f82d87d223f
--- a/qmlfrontend/gameconfig.h	Wed Nov 07 15:55:32 2018 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,36 +0,0 @@
-#ifndef GAMECONFIG_H
-#define GAMECONFIG_H
-
-#include <QList>
-#include <QVector>
-
-#include "team.h"
-
-class GameConfig {
- public:
-  explicit GameConfig();
-
-  const char** argv() const;
-  int argc() const;
-  const QList<QByteArray> config() const;
-
-  void clear();
-  void cmdSeed(const QByteArray& seed);
-  void cmdTheme(const QByteArray& theme);
-  void cmdMapgen(int mapgen);
-  void cmdTeam(const Team& team);
-
-  bool isPreview() const;
-  void setPreview(bool isPreview);
-
- private:
-  mutable QVector<const char*> m_argv;
-  QList<QByteArray> m_arguments;
-  QList<QByteArray> m_cfg;
-  QList<Team> m_teams;
-  bool m_isPreview;
-
-  void cfgAppend(const QByteArray& cmd);
-};
-
-#endif  // GAMECONFIG_H