QTfrontend/hwmap.h
changeset 4534 395278890955
parent 4489 c4ca9ced258b
child 4562 b55f78fd2bf6
--- a/QTfrontend/hwmap.h	Tue Dec 14 20:41:33 2010 -0500
+++ b/QTfrontend/hwmap.h	Wed Dec 15 21:10:25 2010 +0300
@@ -25,8 +25,6 @@
 
 #include "tcpBase.h"
 
-#include <string>
-
 enum MapGenerator
 {
     MAPGEN_REGULAR,
@@ -42,7 +40,7 @@
  public:
   HWMap();
   virtual ~HWMap();
-  void getImage(std::string seed, int templateFilter, MapGenerator mapgen, int maze_size, const QByteArray & drawMapData);
+  void getImage(const QString & seed, int templateFilter, MapGenerator mapgen, int maze_size, const QByteArray & drawMapData);
 
  protected:
   virtual QStringList setArguments();
@@ -54,7 +52,7 @@
   void HHLimitReceived(int hhLimit);
 
  private:
-  std::string m_seed;
+  QString m_seed;
   int templateFilter;
   MapGenerator m_mapgen;
   int m_maze_size;