source: ntrip/trunk/GnssCenter/map_stations/map_stations.h@ 5429

Last change on this file since 5429 was 5429, checked in by mervart, 11 years ago
File size: 993 bytes
RevLine 
[5406]1#ifndef GnssCenter_MAP_STATIONS_H
2#define GnssCenter_MAP_STATIONS_H
[4836]3
4#include <QtGui>
5#include <QWhatsThis>
[5011]6#include "plugininterface.h"
[4836]7
[5420]8namespace GnssCenter {
9class t_worldPlot;
10}
11
[5407]12class t_thriftClient;
[5416]13class t_thriftResult;
[4836]14
[5001]15namespace GnssCenter {
[4858]16
[5420]17class t_map_stations : public QMainWindow {
[4836]18 Q_OBJECT
19 public:
[5406]20 t_map_stations();
21 ~t_map_stations();
[5012]22
[5427]23 void putThriftResults(std::vector<t_thriftResult*>* results);
[4836]24
[5422]25 private slots:
26 void slotStartThrift();
[5429]27 void slotPlotResults();
[5422]28
[4836]29 private:
[5429]30 QMutex _mutex;
[5427]31 t_worldPlot* _plot;
32 t_thriftClient* _thriftClient;
33 std::vector<t_thriftResult*>* _results;
[4836]34};
35
[5406]36class t_map_stationsFactory : public QObject, public t_pluginFactoryInterface {
[5053]37 Q_OBJECT
38 Q_INTERFACES(GnssCenter::t_pluginFactoryInterface)
39 public:
[5406]40 virtual QWidget* create() {return new t_map_stations();}
[5407]41 virtual QString getName() const {return QString("Map of Stations");}
[5053]42};
43
[5001]44} // namespace GnssCenter
[4858]45
[4836]46#endif
Note: See TracBrowser for help on using the repository browser.