source: ntrip/trunk/BNS/bnsapp.cpp@ 4398

Last change on this file since 4398 was 1680, checked in by mervart, 16 years ago

* empty log message *

File size: 1.2 KB
Line 
1/* -------------------------------------------------------------------------
2 * BKG NTRIP Server
3 * -------------------------------------------------------------------------
4 *
5 * Class: bnsApp
6 *
7 * Purpose: This class implements the main application
8 *
9 * Author: G. Weber
10 *
11 * Created: 27-Feb-2009
12 *
13 * Changes:
14 *
15 * -----------------------------------------------------------------------*/
16
17#include "bnsapp.h"
18
19using namespace std;
20
21// Constructor
22////////////////////////////////////////////////////////////////////////////
23bnsApp::bnsApp(int& argc, char* argv[], bool GUIenabled) :
24 QApplication(argc, argv, GUIenabled) {
25}
26
27// Destructor
28////////////////////////////////////////////////////////////////////////////
29bnsApp::~bnsApp() {
30}
31
32//
33////////////////////////////////////////////////////////////////////////////
34void bnsApp::setConfFileName(const QString& confFileName) {
35 if (confFileName.isEmpty()) {
36 _confFileName = QDir::homePath() + QDir::separator()
37 + ".config" + QDir::separator()
38 + organizationName() + QDir::separator()
39 + applicationName() + ".ini";
40 }
41 else {
42 _confFileName = confFileName;
43 }
44}
Note: See TracBrowser for help on using the repository browser.