Changeset 5068 in ntrip for trunk/BNC/src/app.cpp
- Timestamp:
- Mar 30, 2013, 11:39:46 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/app.cpp
r5067 r5068 22 22 // Global Variable 23 23 //////////////////////////////////////////////////////////////////////////// 24 t_pgmCore* PGM_CORE = 0;24 t_pgmCore* BNC_CORE = 0; 25 25 26 26 // Constructor … … 28 28 t_app::t_app(int& argc, char* argv[], bool GUIenabled) : 29 29 QApplication(argc, argv, GUIenabled) { 30 PGM_CORE = new t_pgmCore(argc, argv, GUIenabled);30 BNC_CORE = new t_pgmCore(argc, argv, GUIenabled); 31 31 } 32 32 … … 43 43 if (ev->type() == QEvent::FileOpen) { // currently happens on Mac only 44 44 QString fileName = static_cast<QFileOpenEvent*>(ev)->file(); 45 PGM_CORE->setConfFileName(fileName);45 BNC_CORE->setConfFileName(fileName); 46 46 return true; 47 47 }
Note:
See TracChangeset
for help on using the changeset viewer.