Ignore:
Timestamp:
Sep 10, 2013, 5:55:53 PM (11 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GnssCenter/map_stations/map_stations.cpp

    r5415 r5416  
    2828
    2929#include "map_stations.h"
     30#include "thriftclient.h"
    3031
    3132using namespace std;
     
    9899  // Thrift Client;
    99100  // --------------
    100   _thriftClient = new t_thriftClient;
    101   connect(_thriftClient, SIGNAL(newThriftResult(t_thriftResult)),
    102           this, SLOT(slotNewThriftResult(t_thriftResult)));
     101  _thriftClient = new t_thriftClient(this);
    103102  _thriftClient->start();
    104103}
     
    164163//
    165164/////////////////////////////////////////////////////////////////////////////
    166 void t_map_stations::slotNewThriftResult(t_thriftResult result) {
    167   cout << result._name << ' '
    168        << result._nGPS << ' ' << result._nGLO << ' '
    169        << result._x << ' ' << result._y << ' ' << result._z << endl;
     165void t_map_stations::slotNewThriftResult(t_thriftResult* result) {
     166  cout << result->_name << ' '
     167       << result->_nGPS << ' ' << result->_nGLO << ' '
     168       << result->_x << ' ' << result->_y << ' ' << result->_z << endl;
    170169}
    171170
Note: See TracChangeset for help on using the changeset viewer.