ASAPCabinetFE
 
Loading...
Searching...
No Matches
vpsdb_catalog_image.h
1#ifndef VPSDB_CATALOG_IMAGE_H
2#define VPSDB_CATALOG_IMAGE_H
3
4#include <SDL2/SDL.h>
5#include <string>
6#include <memory>
7
8namespace vpsdb {
9
10class VpsdbCatalog; // Forward declaration
11
13public:
14 static void loadThumbnails(VpsdbCatalog& catalog);
15 static void clearThumbnails(VpsdbCatalog& catalog);
16 static bool downloadImage(const std::string& url, const std::string& cachePath);
17 static SDL_Texture* loadTexture(VpsdbCatalog& catalog, const std::string& path);
18};
19
20} // namespace vpsdb
21
22#endif // VPSDB_CATALOG_IMAGE_H
Definition vpsdb_catalog_manager.h:31
Definition vpsdb_catalog_image.h:12