Untrack Makefiles
[qcomicbook-oblomov] / src / thumbnailloader.h
1 /*
2  * This file is a part of QComicBook.
3  *
4  * Copyright (C) 2005-2006 Pawel Stolowski <yogin@linux.bydg.org>
5  *
6  * QComicBook is free software; you can redestribute it and/or modify it
7  * under terms of GNU General Public License by Free Software Foundation.
8  *
9  * This program is distributed in the hope that it will be useful, but
10  * WITHOUT ANY WARRANTY. See GPL for more details.
11  */
12
13 /*! \file thumbnailloader.h */
14
15 #ifndef __THUMBNAILLOADER_H
16 #define __THUMBNAILLOADER_H
17
18 #include "imgloader.h"
19
20 class QObject;
21
22 namespace QComicBook
23 {
24         class ThumbnailLoaderThread: public ImgLoaderThread
25         {
26                 private:
27                         QObject *rcvobj; //!<object that will recieve loaded thumbnails
28                         volatile bool usecache;
29
30                 protected:
31                         virtual void run();
32
33                 public:
34                         ThumbnailLoaderThread();
35                         virtual ~ThumbnailLoaderThread();
36
37                         virtual void setReciever(QObject *rcv);
38                         virtual void setUseCache(bool f);
39         };
40 }
41
42 #endif
43