//============================================================================ // Copyright (C) 2005 Quantum Leaps, LLC . // // SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-QL-commercial // // This software is dual-licensed under the terms of the open source GNU // General Public License version 3 (or any later version), or alternatively, // under the terms of one of the closed source Quantum Leaps commercial // licenses. // // The terms of the open source GNU General Public License version 3 // can be found at: // // The terms of the closed source Quantum Leaps commercial licenses // can be found at: // // Redistributions in source code must retain this top-level comment block. // Plagiarizing this software to sidestep the license obligations is illegal. // // Contact information: // // //============================================================================ //! @date Last updated on: 2022-08-25 //! @version Last updated for: @ref qpcpp_7_1_0 //! //! @file //! @brief QP/C++ port to Qt #ifndef AOTHREAD_HPP #define AOTHREAD_HPP #include namespace QP { class AOThread : public QThread { Q_OBJECT public: AOThread(void *act) : m_act(act), m_isRunning(false) {} virtual ~AOThread(); virtual void run(); public: void *m_act; bool m_isRunning; }; } // namespace QP #endif // AOTHREAD_HPP