#include <stdint.h>
#include <stdbool.h>
#include <stddef.h>
Go to the source code of this file.
|
| typedef void(* | GlimpseScanCallback) (const char *full_path, const char *filename, void *user_data) |
| |
◆ GlimpseScanCallback
| typedef void(* GlimpseScanCallback) (const char *full_path, const char *filename, void *user_data) |
◆ GlimpseEnsureCacheDir()
| void GlimpseEnsureCacheDir |
( |
void |
| ) |
|
Ensures /appdata/glimpse/icons/ directory tree exists on disk.
◆ GlimpseFileExists()
| bool GlimpseFileExists |
( |
const char * |
path | ) |
|
Checks if a file exists on disk and is readable.
◆ GlimpseGetThumbnailPath()
| void GlimpseGetThumbnailPath |
( |
const char * |
image_path, |
|
|
char * |
out_thumb_path, |
|
|
size_t |
max_len |
|
) |
| |
Derives a deterministic cached thumbnail path in /appdata/glimpse/icons/.
◆ GlimpseScanImages()
Scans / (root) and /image (or /images) for .jpg, .jpeg, .png, and .bmp files.