source: ntrip/trunk/BNC/bncapp.h@ 463

Last change on this file since 463 was 463, checked in by mervart, 17 years ago

* empty log message *

File size: 2.5 KB
Line 
1// Part of BNC, a utility for retrieving decoding and
2// converting GNSS data streams from NTRIP broadcasters,
3// written by Leos Mervart.
4//
5// Copyright (C) 2006
6// German Federal Agency for Cartography and Geodesy (BKG)
7// http://www.bkg.bund.de
8// Czech Technical University Prague, Department of Advanced Geodesy
9// http://www.fsv.cvut.cz
10//
11// Email: euref-ip@bkg.bund.de
12//
13// This program is free software; you can redistribute it and/or
14// modify it under the terms of the GNU General Public License
15// as published by the Free Software Foundation, version 2.
16//
17// This program is distributed in the hope that it will be useful,
18// but WITHOUT ANY WARRANTY; without even the implied warranty of
19// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20// GNU General Public License for more details.
21//
22// You should have received a copy of the GNU General Public License
23// along with this program; if not, write to the Free Software
24// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
25// Part of BNC, a utility for retrieving decoding and
26// converting GNSS data streams from NTRIP broadcasters,
27// written by Leos Mervart.
28//
29// Copyright (C) 2006
30// German Federal Agency for Cartography and Geodesy (BKG)
31// http://www.bkg.bund.de
32// Czech Technical University Prague, Department of Advanced Geodesy
33// http://www.fsv.cvut.cz
34//
35// Email: euref-ip@bkg.bund.de
36//
37// This program is free software; you can redistribute it and/or
38// modify it under the terms of the GNU General Public License
39// as published by the Free Software Foundation, version 2.
40//
41// This program is distributed in the hope that it will be useful,
42// but WITHOUT ANY WARRANTY; without even the implied warranty of
43// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
44// GNU General Public License for more details.
45//
46// You should have received a copy of the GNU General Public License
47// along with this program; if not, write to the Free Software
48// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
49
50#ifndef BNCAPP_H
51#define BNCAPP_H
52
53#include <QApplication>
54#include <QFile>
55#include <QTextStream>
56
57#include "bnccaster.h"
58
59class bncApp : public QApplication {
60 Q_OBJECT
61 public:
62 bncApp(int argc, char* argv[], bool GUIenabled);
63 virtual ~bncApp();
64 QString bncVersion() const {return _bncVersion;}
65 public slots:
66 void slotMessage(const QByteArray msg);
67 private:
68 QFile* _logFile;
69 QTextStream* _logStream;
70 int _logFileFlag;
71 QString _bncVersion;
72 QMutex _mutex;
73};
74#endif
Note: See TracBrowser for help on using the repository browser.