diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-06-21 10:29:02 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-06-21 12:49:05 -0700 |
commit | c9d48c9a72eec39b614d1d59e3c9fdd66e5a3ab0 (patch) | |
tree | 2b8c8fd9da79ed7e35e088f795e0a92b5d077ecd /qthelperfromc.h | |
parent | 97386a6f3d1667f293ab621fd8ae8a3ec2bf2ef2 (diff) | |
download | subsurface-c9d48c9a72eec39b614d1d59e3c9fdd66e5a3ab0.tar.gz |
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>
Diffstat (limited to 'qthelperfromc.h')
-rw-r--r-- | qthelperfromc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qthelperfromc.h b/qthelperfromc.h index e83cb9782..6e8d92b9f 100644 --- a/qthelperfromc.h +++ b/qthelperfromc.h @@ -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 |