Loading...
Searching...
No Matches
score::NetworkSessionInterface Class Referenceabstract

Implemented by an application plug-in able to join a collaborative session hosted by another instance of score. More...

Detailed Description

Implemented by an application plug-in able to join a collaborative session hosted by another instance of score.

The base application (start screen...) finds it by looking through the GUI application plug-ins, so that it never depends on the network plug-in itself.

Public Member Functions

virtual void joinSession (QWidget *parent, std::function< void(bool)> done)=0
 Ask the user which session to join, then connect to it.
 

Member Function Documentation

◆ joinSession()

virtual void score::NetworkSessionInterface::joinSession ( QWidget *  parent,
std::function< void(bool)>  done 
)
pure virtual

Ask the user which session to join, then connect to it.

done(true) is called once the session's document has been loaded, done(false) if the user cancelled or the connection failed.


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