]> git.sesse.net Git - vlc/blobdiff - include/vlc_vlm.h
Added missing const qualifier to vod_MediaControl.
[vlc] / include / vlc_vlm.h
index c363ebd86aac9a0cc49275df399848b32b0f7ffb..0a2c3ab6851c73969e2bab8bcf0f1c75eac9d6f3 100644 (file)
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
+#if !defined( __LIBVLC__ )
+  #error You are not libvlc or one of its plugins. You cannot include this file
+#endif
+
 #ifndef _VLC_VLM_H
 #define _VLC_VLM_H 1
 
+#ifdef __cpluplus
+extern "C" {
+#endif
+
+#include <vlc_input.h>
+
 /* VLM specific - structures and functions */
 enum
 {
@@ -78,7 +88,6 @@ struct vlm_media_t
 
 };
 
-
 struct vlm_schedule_t
 {
     /* names "schedule" is reserved */
@@ -147,4 +156,11 @@ VLC_EXPORT( int, vlm_MediaVodControl, ( void *, vod_media_t *, const char *, int
 VLC_EXPORT( int, vlm_Save, ( vlm_t *, const char * ) );
 VLC_EXPORT( int, vlm_Load, ( vlm_t *, const char * ) );
 
+VLC_EXPORT( vlm_message_t *, vlm_MessageNew, ( const char *, const char *, ... ) );
+VLC_EXPORT( vlm_message_t *, vlm_MessageAdd, ( vlm_message_t *, vlm_message_t * ) );
+
+#ifdef __cpluplus
+}
+#endif
+
 #endif