mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 08:36:52 +08:00
* removed usingLocalObjects() now in CContext * removed getRuntime() now in CContext * Constructors no longer public, context can only be obtained via runtime object * runtime class is friend class
31 lines
767 B
C++
31 lines
767 B
C++
/* Copyright (C) 2013 VATSIM Community / authors
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
#include "context_application_impl.h"
|
|
#include "context_runtime.h"
|
|
#include "blackmisc/settingutilities.h"
|
|
|
|
using namespace BlackMisc;
|
|
|
|
namespace BlackCore
|
|
{
|
|
|
|
/*
|
|
* Init this context
|
|
*/
|
|
CContextApplication::CContextApplication(CRuntimeConfig::ContextMode mode, CRuntime *runtime) : IContextApplication(mode, runtime)
|
|
{
|
|
// void
|
|
}
|
|
|
|
/*
|
|
* Ping, is DBus alive?
|
|
*/
|
|
qint64 CContextApplication::ping(qint64 token) const
|
|
{
|
|
return token;
|
|
}
|
|
} // namespace
|