diff dvdnav.h @ 8:66708b4a1b5e src

Stop C++ bitching about some things and extend the menus example
author richwareham
date Sun, 07 Apr 2002 14:10:11 +0000
parents c1b55dc1bfed
children a68c6da98b73
line wrap: on
line diff
--- a/dvdnav.h	Sat Apr 06 18:42:05 2002 +0000
+++ b/dvdnav.h	Sun Apr 07 14:10:11 2002 +0000
@@ -61,7 +61,7 @@
  *   dest     -- Pointer to a dvdnav_t pointer to fill in.
  *   path     -- Any libdvdread acceptable path
  */
-dvdnav_status_t dvdnav_open(dvdnav_t** dest, char *path); 
+dvdnav_status_t dvdnav_open(dvdnav_t** dest, const char *path); 
 
 /**
  * Closes a dvdnav_t previously opened with dvdnav_open(), freeing any 
@@ -286,7 +286,15 @@
  * part and the length (in blocks) of said part.
  */
 dvdnav_status_t dvdnav_get_position(dvdnav_t *self, unsigned int* pos,
-				   unsigned int *len);
+				    unsigned int *len);
+
+/**
+ * Return the current position (in blocks) within the current
+ * title and the length (in blocks) of said title.
+ */
+dvdnav_status_t dvdnav_get_position_in_title(dvdnav_t *self,
+					     unsigned int* pos,
+					     unsigned int *len);
 
 /** Highlights **/