9 #define PND_APPS_SEARCHPATH "/mnt/sd1/pandora/apps:/mnt/sd2/pandora/apps:./testdata/apps"
10 #define PND_APPS_KEY "autodiscovery.searchpath"
12 #define PND_PNDRUN_SEARCHPATH_KEY "pnd.searchpath"
13 #define PND_PNDRUN_KEY "pnd.runscript"
14 #define PND_PNDRUN_FILENAME "pnd_run.sh"
15 #define PND_PNDRUN_DEFAULT "./testdata/scripts/pnd_run.sh"
17 #define PND_PXML_OVERRIDE_SEARCHPATH "~/pxml-overrides"
18 #define PND_PXML_OVERRIDE_KEY "overrides.searchpath"
20 #define PND_MOUNT_PATH "/mnt/apps/" /* all mounted PND images should be here.. /mnt/apps/myapp/... */
23 #define PND_DOTDESKTOP_KEY "dotfiles.dotdesktoppath"
24 #define PND_DOTDESKTOP_DEFAULT "/usr/share/applications"
27 #define PND_DEFAULT_WORKDIR "./"
29 /* pnd_apps_exec() is used to blindly launch an app, be it a .pnd file bundle or a plain executable
30 * (shell, bin, whatever.) pndrun specifies the full path to the pnd_run sh script, which should be
31 * found using searchpaths and locates.. see locatetest.c for a sample
32 * NOTE: Use pnd_locate function to locate the pnd_run, for example
33 * NOTE: clock speed will be set prior to invoking the script, and set back on exit
34 * NOTE: No values can be except clockspeed; a 0 clockspeed means 'leave alone'. Set startdoir to "." instead of NULL.
35 * fork() is implied; calling this function does not kill this process :)
36 * NOTE: PAss in the full path to the awesomeapp.pnd or to the directory containing PXML.xml (not the PXML.xml itself.)
38 unsigned char pnd_apps_exec ( char *pndrun, char *fullpath, char *unique_id, char *rel_exec, char *rel_startdir, unsigned int clockspeed );