/usr/include/qgis/qgsgpsdconnection.h is in libqgis-dev 1.7.4+1.7.5~20120320-1.1+b1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | /***************************************************************************
qgsgpsdconnection.h - description
-------------------
begin : October 4th, 2010
copyright : (C) 2010 by Jürgen E. Fischer, norBIT GmbH
email : jef at norbit dot de
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef QGSGPSDCONNECTION_H
#define QGSGPSDCONNECTION_H
#include "qgsnmeaconnection.h"
#include <QAbstractSocket>
/**Evaluates NMEA sentences coming from gpsd*/
class CORE_EXPORT QgsGpsdConnection: public QgsNMEAConnection
{
Q_OBJECT
public:
QgsGpsdConnection( QString host, qint16 port, QString device );
~QgsGpsdConnection();
private slots:
void connected();
void error( QAbstractSocket::SocketError );
private:
QString mDevice;
};
#endif // QGSGPSDCONNECTION_H
|