]> git.sesse.net Git - vlc/blobdiff - include/vlc/libvlc.h
libvlc_run_interface: start and wait for an interface
[vlc] / include / vlc / libvlc.h
index 87501a4842684c9bd737b5d85fcb39af514da58c..9d5a3db40b9155efb42852106f65bb8cd45f3900 100644 (file)
@@ -145,6 +145,18 @@ VLC_PUBLIC_API void libvlc_release( libvlc_instance_t * );
  */
 VLC_PUBLIC_API void libvlc_retain( libvlc_instance_t * );
 
+/**
+ * Try to start a user interface for the libvlc instance, and wait until the
+ * user exits.
+ *
+ * \param p_instance the instance
+ * \param name interface name, or NULL for default
+ * \param p_exception an initialized exception pointer
+ */
+VLC_PUBLIC_API
+void libvlc_run_interface( libvlc_instance_t *p_instance, const char *name,
+                           libvlc_exception_t *p_exception );
+
 /**
  * Retrieve libvlc version.
  *