Quick change so back to single .desktop/info, no assoc .desktops, and no alternative...
[pandora-libraries.git] / include / pnd_desktop.h
index d9c52e9..3de5627 100644 (file)
@@ -15,6 +15,9 @@ extern "C" {
 #define PND_DOTDESKTOP_SOURCE "X-Pandora-Source=libpnd"
 unsigned char pnd_emit_dotdesktop ( char *targetpath, char *pndrun, pnd_disco_t *p );
 
+#define PND_DOTDESKTOP_LIBPND_ONLY 1 /* convenience flag; caller can do this himself as well */
+pnd_disco_t *pnd_parse_dotdesktop ( char *ddpath, unsigned int flags ); // sets object_flag PND_DISCO_LIBPND_DD for libpnd-origin
+
 // emit_dotinfo() will spit out a .desktop 'info entry', similar to the way emit_dotdesktop does its thing
 // - rather than slide this into emit_dotdesktop(), we wish to allow apps to do this or not by calling this
 //   function, and also let them specify an alternate path to emit to.. without adding all these