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

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

* empty log message *

File size: 2.6 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
59extern bncCaster* _global_caster;
60
61class bncApp : public QApplication {
62 Q_OBJECT
63 public:
64 bncApp(int argc, char* argv[], bool GUIenabled);
65 virtual ~bncApp();
66 QString bncVersion() const {return _bncVersion;}
67 public slots:
68 void slotMessage(const QByteArray msg);
69 private:
70 QFile* _logFile;
71 QTextStream* _logStream;
72 int _logFileFlag;
73 QString _bncVersion;
74 QMutex _mutex;
75};
76#endif
Note: See TracBrowser for help on using the repository browser.