mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-07 19:35:32 +08:00
blacklib folder reorganisation
This commit is contained in:
23
src/driver/xplane/driver_xplane.cpp
Normal file
23
src/driver/xplane/driver_xplane.cpp
Normal file
@@ -0,0 +1,23 @@
|
||||
#include "driver_xplane.h"
|
||||
|
||||
extern "C"
|
||||
{
|
||||
Q_DECL_EXPORT ISimulator* BB_createISimulatorInstance ()
|
||||
{
|
||||
return new CDriverXPlane;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
CDriverXPlane::CDriverXPlane()
|
||||
{
|
||||
}
|
||||
|
||||
void CDriverFSX::setLibraryContext(BlackMisc::IContext *context)
|
||||
{
|
||||
#ifdef Q_OS_WIN
|
||||
bAssert(!BlackMisc::IContext::isContextInitialised());
|
||||
#endif
|
||||
|
||||
m_libraryContext = new BlackMisc::CLibraryContext(*context);
|
||||
}
|
||||
Reference in New Issue
Block a user