MCPcopy Create free account
hub / github.com/OpenBoard-org/OpenBoard / handleOpenMessage

Method handleOpenMessage

src/core/UBApplication.cpp:720–738  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

718
719
720void UBApplication::handleOpenMessage(quint32 instanceId, QByteArray message)
721{
722 Q_UNUSED(instanceId)
723
724 QString filename = QString::fromUtf8(message);
725 qDebug() << "received message" << filename;
726
727 if (filename == UBSettings::appPingMessage)
728 {
729 qDebug() << "received ping";
730 return;
731 }
732
733 qDebug() << "importing file" << filename;
734
735 UBApplication::applicationController->importFile(filename);
736
737 return;
738}
739
740void UBApplication::cleanup()
741{

Callers

nothing calls this directly

Calls 1

importFileMethod · 0.45

Tested by

no test coverage detected