MCPcopy Create free account
hub / github.com/BernardoGiordano/Checkpoint / startTransferReceive

Method startTransferReceive

3ds/source/MainScreen.cpp:917–928  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

915}
916
917void MainScreen::startTransferReceive(void)
918{
919 // Receiver lifetime == overlay lifetime (B in the overlay stops it), so no
920 // background-receiver state is introduced here.
921 std::string error;
922 if (!Transfer::startReceiver(error)) {
923 currentOverlay = std::make_shared<ErrorOverlay>(*this, -1, error.empty() ? i18n::t("main.receiver_failed") : error);
924 }
925 else {
926 currentOverlay = std::make_shared<ReceiveOverlay>(*this);
927 }
928}
929
930void MainScreen::startTransferSend(void)
931{

Callers

nothing calls this directly

Calls 2

startReceiverFunction · 0.85
emptyMethod · 0.45

Tested by

no test coverage detected