mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 01:05:34 +08:00
Ref T105, adjusted CDirectPlayPeer
* log cats * and log messages
This commit is contained in:
committed by
Mathew Sutcliffe
parent
18ab0e8459
commit
4e4d33a755
@@ -13,8 +13,9 @@
|
||||
#include "fs9.h"
|
||||
#include "hostnode.h"
|
||||
#include "callbackwrapper.h"
|
||||
#include "blackmisc/worker.h"
|
||||
#include "blackmisc/aviation/callsign.h"
|
||||
#include "blackmisc/worker.h"
|
||||
#include "blackmisc/logcategorylist.h"
|
||||
#include <QObject>
|
||||
#include <QList>
|
||||
#include <QMutex>
|
||||
@@ -47,6 +48,9 @@ namespace BlackSimPlugin
|
||||
//! Sets users DirectPlay ID
|
||||
void setPlayerUserId(DPNID id) { m_playerUser = id; }
|
||||
|
||||
//! Log categories
|
||||
static const BlackMisc::CLogCategoryList &getLogCategories();
|
||||
|
||||
public slots:
|
||||
//! Send a custom DirectPlay message
|
||||
HRESULT sendMessage(const QByteArray &data);
|
||||
@@ -92,7 +96,7 @@ namespace BlackSimPlugin
|
||||
using TCallbackWrapper = CallbackWrapper<CDirectPlayPeer, HRESULT, DWORD, void *>; //!< DirectPlay peer message handler wrapper
|
||||
TCallbackWrapper m_callbackWrapper; //!< Callback wrapper
|
||||
};
|
||||
}
|
||||
}
|
||||
} // ns
|
||||
} // ns
|
||||
|
||||
#endif // guard
|
||||
|
||||
Reference in New Issue
Block a user