File indexing completed on 2024-04-14 03:59:23
0001 /*************************************************************************** 0002 * KBlocks, a falling blocks game by KDE * 0003 * SPDX-FileCopyrightText: 2010 Zhongjie Cai <squall.leonhart.cai@gmail.com> * 0004 * * 0005 * SPDX-License-Identifier: GPL-2.0-or-later 0006 ***************************************************************************/ 0007 #ifndef KBLOCKSAPPTHREAD_H 0008 #define KBLOCKSAPPTHREAD_H 0009 0010 #include <QThread> 0011 #include "KBlocksPlayNetwork.h" 0012 0013 class KBlocksAppThread : public QThread 0014 { 0015 public: 0016 explicit KBlocksAppThread(KBlocksPlayNetwork *p); 0017 ~KBlocksAppThread() override; 0018 0019 public: 0020 void run() override; 0021 0022 private: 0023 KBlocksPlayNetwork *mPlayNetwork; 0024 }; 0025 0026 #endif