Cockatrice 2026-09-01-Development-3.1.0-beta.10
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
SingleInstanceManager Class Reference

#include <single_instance_manager.h>

Inheritance diagram for SingleInstanceManager:
[legend]
Collaboration diagram for SingleInstanceManager:
[legend]

Signals

void filesReceived (const QStringList &files)

Public Member Functions

 SingleInstanceManager (QObject *parent=nullptr)
bool tryRun (const QStringList &initialFiles)

Private Slots

void handleNewConnection ()

Private Member Functions

bool forwardToPrimary (const QStringList &filesToSend)

Private Attributes

QString serverName
QLocalServer * server = nullptr

Constructor & Destructor Documentation

◆ SingleInstanceManager()

SingleInstanceManager::SingleInstanceManager ( QObject * parent = nullptr)
explicit

Member Function Documentation

◆ filesReceived

void SingleInstanceManager::filesReceived ( const QStringList & files)
signal
Here is the caller graph for this function:

◆ forwardToPrimary()

bool SingleInstanceManager::forwardToPrimary ( const QStringList & filesToSend)
private
Here is the caller graph for this function:

◆ handleNewConnection

void SingleInstanceManager::handleNewConnection ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ tryRun()

bool SingleInstanceManager::tryRun ( const QStringList & initialFiles)
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ server

QLocalServer* SingleInstanceManager::server = nullptr
private

◆ serverName

QString SingleInstanceManager::serverName
private

The documentation for this class was generated from the following files: