MCPcopy Create free account
hub / github.com/YACReader/yacreader / isRunning

Method isRunning

YACReaderLibrary/yacreader_local_server.cpp:58–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58bool YACReaderLocalServer::isRunning()
59{
60 QLocalSocket socket;
61 socket.connectToServer(YACREADERLIBRARY_GUID);
62 if (socket.waitForConnected(500))
63 return true; // Server is running (another instance of YACReaderLibrary has been launched)
64 return false;
65}
66
67void YACReaderLocalServer::close()
68{

Callers 3

startFunction · 0.45
generateQRMethod · 0.45
disableComicsActionsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected