summaryrefslogtreecommitdiff
path: root/src/client/Client.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/Client.h')
-rw-r--r--src/client/Client.h10
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();