diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-01-19 17:59:00 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-01-19 17:59:00 (GMT) |
| commit | 6d3b447f8e32fdaccdb3727af4d72d341e191e94 (patch) | |
| tree | 707dcea0977c413200d321a3e79cf02b4e69c1c4 /src/client/Client.h | |
| parent | 44639a6423c03552a3c0faafab27ef8f395f73a6 (diff) | |
| download | powder-6d3b447f8e32fdaccdb3727af4d72d341e191e94.zip powder-6d3b447f8e32fdaccdb3727af4d72d341e191e94.tar.gz | |
Changes to thumbnail retreival
Diffstat (limited to 'src/client/Client.h')
| -rw-r--r-- | src/client/Client.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/client/Client.h b/src/client/Client.h index 37d0ad6..3aa2333 100644 --- a/src/client/Client.h +++ b/src/client/Client.h @@ -2,6 +2,7 @@ #define CLIENT_H #include <queue> +#include "Config.h" #include "HTTP.h" #include "search/Thumbnail.h" #include "Singleton.h" @@ -10,10 +11,11 @@ class Client: public Singleton<Client> { private: int thumbnailCacheNextID; - Thumbnail * thumbnailCache[120]; - void * activeThumbRequests[5]; - int activeThumbRequestTimes[5]; - std::string activeThumbRequestIDs[5]; + Thumbnail * thumbnailCache[THUMB_CACHE_SIZE]; + void * activeThumbRequests[IMGCONNS]; + int activeThumbRequestTimes[IMGCONNS]; + int activeThumbRequestCompleteTimes[IMGCONNS]; + std::string activeThumbRequestIDs[IMGCONNS]; public: Client(); ~Client(); |
