1/***************************************************************************
2* KBlocks, a falling blocks game for KDE *
3* Copyright (C) 2010 Zhongjie Cai <squall.leonhart.cai@gmail.com> *
4* *
5* This program is free software; you can redistribute it and/or modify *
6* it under the terms of the GNU General Public License as published by *
7* the Free Software Foundation; either version 2 of the License, or *
8* (at your option) any later version. *
9***************************************************************************/
10#ifndef KBLOCKSAPPTHREAD_H
11#define KBLOCKSAPPTHREAD_H
12
13#include <QThread>
14#include "KBlocksPlayNetwork.h"
15
16class KBlocksAppThread : public QThread
17{
18 public:
19 KBlocksAppThread(KBlocksPlayNetwork * p);
20 ~KBlocksAppThread();
21
22 public:
23 void run();
24
25 private:
26 KBlocksPlayNetwork* mPlayNetwork;
27};
28
29#endif
30