Files
pilotclient/src/blackcore/blackcorefreefunctions.h
Klaus Basan 3cf42b218a refs #306, refs #282 Thread safety of readers
In the same step:
* renaming private slots ps_xy
* doxygen
* removed outdated debug messages
2014-07-27 16:10:27 +02:00

23 lines
674 B
C++

/* Copyright (C) 2013 VATSIM Community / contributors
* 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/. */
#ifndef BLACKCORE_FREEFUNCTIONS_H
#define BLACKCORE_FREEFUNCTIONS_H
#include <QObject>
namespace BlackCore
{
//! Register all relevant metadata in BlackCore
void registerMetadata();
//! Is the current thread the one created the object
//! \remarks can be used as ASSERT check for threaded objects
bool isCurrentThreadCreatingThread(QObject *toBeTested);
} // BlackCore
#endif // guard