MCPcopy Create free account
hub / github.com/CE-Programming/CEmu / varReceive

Method varReceive

gui/qt/mainwindow.cpp:1891–1898  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1889// ------------------------------------------------
1890
1891void MainWindow::varReceive(std::function<void(bool)> recvAction) {
1892 if (guiDebug) {
1893 recvAction(false);
1894 } else {
1895 m_recvAction = std::move(recvAction);
1896 emu.receive();
1897 }
1898}
1899
1900void MainWindow::varToggle() {
1901 guiReceive = !guiReceive;

Callers

nothing calls this directly

Calls 1

receiveMethod · 0.80

Tested by

no test coverage detected