equal
deleted
inserted
replaced
|
1 #ifndef HWMAPOPTIMIZER_H |
|
2 #define HWMAPOPTIMIZER_H |
|
3 |
|
4 #include "tcpBase.h" |
|
5 #include "drawmapscene.h" |
|
6 |
|
7 class HWMapOptimizer : public TCPBase |
|
8 { |
|
9 Q_OBJECT |
|
10 public: |
|
11 explicit HWMapOptimizer(QObject *parent = 0); |
|
12 |
|
13 void optimizeMap(const Paths & paths); |
|
14 bool couldBeRemoved(); |
|
15 |
|
16 signals: |
|
17 void optimizedMap(const Paths & paths); |
|
18 |
|
19 public slots: |
|
20 |
|
21 protected: |
|
22 QStringList getArguments(); |
|
23 void onClientDisconnect(); |
|
24 void SendToClientFirst(); |
|
25 |
|
26 private: |
|
27 Paths m_paths; |
|
28 }; |
|
29 |
|
30 #endif // HWMAPOPTIMIZER_H |