Changeset 3249 in ntrip
- Timestamp:
- Apr 3, 2011, 10:46:03 AM (14 years ago)
- Location:
- trunk/BNC
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncwindow.cpp
r3245 r3249 59 59 #include "bncbytescounter.h" 60 60 #include "upload/bnccustomtrafo.h" 61 #include "upload/bncephuploadcaster.h" 61 62 62 63 using namespace std; … … 66 67 bncWindow::bncWindow() { 67 68 68 _caster = 0; 69 _caster = 0; 70 _casterEph = 0; 69 71 70 72 _bncFigure = new bncFigure(this); … … 1036 1038 bncWindow::~bncWindow() { 1037 1039 delete _caster; 1040 delete _casterEph; 1038 1041 } 1039 1042 … … 1448 1451 void bncWindow::slotGetThreadsFinished() { 1449 1452 ((bncApp*)qApp)->slotMessage("All Get Threads Terminated", true); 1450 delete _caster; _caster = 0; 1453 delete _caster; _caster = 0; 1454 delete _casterEph; _casterEph = 0; 1451 1455 _actGetData->setEnabled(true); 1452 1456 _actStop->setEnabled(false); … … 1509 1513 1510 1514 _caster->slotReadMountPoints(); 1515 1516 /// _casterEph = new bncEphUploadCaster(); 1511 1517 } 1512 1518 … … 1519 1525 if (iRet == QMessageBox::Yes) { 1520 1526 ((bncApp*)qApp)->stopCombination(); 1521 delete _caster; _caster = 0; 1527 delete _caster; _caster = 0; 1528 delete _casterEph; _casterEph = 0; 1522 1529 _actGetData->setEnabled(true); 1523 1530 _actStop->setEnabled(false); -
trunk/BNC/bncwindow.h
r3245 r3249 51 51 class bncFigurePPP; 52 52 class bncBytesCounter; 53 class bncEphUploadCaster; 53 54 54 55 class bncWindow : public QMainWindow { … … 210 211 211 212 bncCaster* _caster; 213 214 bncEphUploadCaster* _casterEph; 212 215 }; 213 216 #endif -
trunk/BNC/upload/bncephuploadcaster.cpp
r3248 r3249 22 22 // Constructor 23 23 //////////////////////////////////////////////////////////////////////////// 24 bncEphUploadCaster::bncEphUploadCaster(const QString& mountpoint, 25 const QString& outHost, int outPort, 26 const QString& password) { 24 bncEphUploadCaster::bncEphUploadCaster() { 25 QString mountpoint; 26 QString outHost; 27 int outPort; 28 QString password; 27 29 _ephUploadCaster = new bncUploadCaster(mountpoint, outHost, outPort, 28 30 password, -1); -
trunk/BNC/upload/bncephuploadcaster.h
r3248 r3249 9 9 Q_OBJECT 10 10 public: 11 bncEphUploadCaster(const QString& mountpoint, 12 const QString& outHost, int outPort, 13 const QString& password); 11 bncEphUploadCaster(); 14 12 virtual ~bncEphUploadCaster(); 15 13 protected:
Note:
See TracChangeset
for help on using the changeset viewer.