QTfrontend/net/hwmapoptimizer.h
changeset 10256 b07288b729c4
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/QTfrontend/net/hwmapoptimizer.h	Thu Jun 05 23:42:46 2014 +0400
@@ -0,0 +1,30 @@
+#ifndef HWMAPOPTIMIZER_H
+#define HWMAPOPTIMIZER_H
+
+#include "tcpBase.h"
+#include "drawmapscene.h"
+
+class HWMapOptimizer : public TCPBase
+{
+    Q_OBJECT
+public:
+    explicit HWMapOptimizer(QObject *parent = 0);
+
+    void optimizeMap(const Paths & paths);
+    bool couldBeRemoved();
+    
+signals:    
+    void optimizedMap(const Paths & paths);
+    
+public slots:
+
+protected:
+    QStringList getArguments();
+    void onClientDisconnect();
+    void SendToClientFirst();
+
+private:
+    Paths m_paths;
+};
+
+#endif // HWMAPOPTIMIZER_H