mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 23:05:36 +08:00
@@ -121,7 +121,7 @@ namespace BlackCore::Vatsim
|
||||
}
|
||||
|
||||
// data read finished
|
||||
emit this->dataFileRead(dataFileData.size() / 1000);
|
||||
emit this->dataFileRead(dataFileData.size());
|
||||
emit this->dataRead(CEntityFlags::VatsimDataFile, CEntityFlags::ReadFinished, dataFileData.size() / 1000, url);
|
||||
}
|
||||
else
|
||||
|
||||
@@ -50,7 +50,7 @@ namespace BlackCore::Vatsim
|
||||
|
||||
signals:
|
||||
//! Data have been read
|
||||
void dataFileRead(int kB);
|
||||
void dataFileRead(int bytes);
|
||||
|
||||
//! Data have been read
|
||||
void dataRead(BlackMisc::Network::CEntityFlags::Entity entity, BlackMisc::Network::CEntityFlags::ReadState state, int number, const QUrl &url);
|
||||
|
||||
@@ -1298,9 +1298,9 @@ namespace BlackCore
|
||||
CLogMessage(this).info(u"Read VATSIM status file, %1 lines") << lines;
|
||||
}
|
||||
|
||||
void CWebDataServices::vatsimServerFileRead(int lines)
|
||||
void CWebDataServices::vatsimServerFileRead(int bytes)
|
||||
{
|
||||
CLogMessage(this).info(u"Read VATSIM server file, %1 lines") << lines;
|
||||
CLogMessage(this).info(u"Read VATSIM server file, %1 bytes") << bytes;
|
||||
}
|
||||
|
||||
void CWebDataServices::readFromSwiftReader(CEntityFlags::Entity entities, CEntityFlags::ReadState state, int number, const QUrl &url)
|
||||
|
||||
@@ -553,7 +553,7 @@ namespace BlackCore
|
||||
void vatsimStatusFileRead(int lines);
|
||||
|
||||
//! VATSIM server file has been read
|
||||
void vatsimServerFileRead(int lines);
|
||||
void vatsimServerFileRead(int bytes);
|
||||
|
||||
//! Initialize and start VATSIM server file reader
|
||||
void startVatsimServerFileReader();
|
||||
|
||||
Reference in New Issue
Block a user