2 #ifndef h_pnd_desktop_h
3 #define h_pnd_desktop_h
10 #define PND_PNDHUP_KEY "launcher.hupscript"
11 #define PND_PNDHUP_FILENAME "pnd_hup.sh"
13 // emit_dotdesktop() will determine a filename and create a FILENAME.desktop file in the targetpath
14 // TODO: Copy the icon into this directory as well, if its source is a .pnd or info is in the dico struct
15 #define PND_DOTDESKTOP_HEADER "[Desktop Entry]"
16 #define PND_DOTDESKTOP_SOURCE "_Source=libpnd"
17 unsigned char pnd_emit_dotdesktop ( char *targetpath, char *pndrun, pnd_disco_t *p );
19 // emit_icon() will attempt to copy the icon from a PXML directory, or from a pnd file if appended,
20 // to the given directory; returns 1 on sucess, otherwise is a fail.
21 unsigned char pnd_emit_icon ( char *targetpath, pnd_disco_t *p );