QTfrontend/netserver.h
changeset 658 a7e625f5d9d0
parent 486 7ea71cd3acd5
child 672 08ed55ea1e2a
--- a/QTfrontend/netserver.h	Thu Dec 13 23:07:16 2007 +0000
+++ b/QTfrontend/netserver.h	Fri Dec 14 15:02:46 2007 +0000
@@ -35,7 +35,7 @@
   Q_OBJECT
 
  public:
-  void StartServer();
+  void StartServer(quint16 port);
   void StopServer();
   bool isChiefClient(HWConnectedClient* cl) const;
   QMap<QString, QStringList> getGameCfg() const;
@@ -56,7 +56,7 @@
 
  private:
   HWConnectedClient* getChiefClient() const;
-  static const quint16 ds_port;
+  quint16 ds_port;
   QTcpServer* IPCServer;
   QList<HWConnectedClient*> connclients;