4 #ifndef DIRECTPLAY_HOST_H
5 #define DIRECTPLAY_HOST_H
7 #include "directplaypeer.h"
11 namespace swift::simplugin::fs9
48 HRESULT startHosting(
const QString &session,
const QString &callsign);
51 HRESULT stopHosting();
DirectPlay peer implementation More information can be found in the DirectX9 SDK documentation http:/...
std::atomic< DPNID > m_playerUser
User player Id.
Class encapsulating a FS9 host.
void sendTextMessage(const QString &textMessage)
Send new text message.
QString getHostAddress()
Get DirectPlay host url.
void statusChanged(swift::simplugin::fs9::CFs9Host::HostStatus)
Hosting status changed.
CFs9Host(QObject *parent=nullptr)
Constructor.
virtual ~CFs9Host()
Destructor.
bool isConnected() const
Returns true if the users simulator is connected.
HostStatus
Connection status.