Add helper function to return local filename of picture as C string

This way we can actually find the picture that we are showing.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2015-06-21 10:29:02 -07:00
parent 97386a6f3d
commit c9d48c9a72
3 changed files with 11 additions and 2 deletions

View file

@ -9,5 +9,6 @@ void subsurface_mkdir(const char *dir);
char *get_file_name(const char *fileName);
void copy_image_and_overwrite(const char *cfileName, const char *cnewName);
char *hashstring(char *filename);
const char *local_file_path(struct picture *picture);
#endif // QTHELPERFROMC_H