]> git.sesse.net Git - vlc/blobdiff - src/interface/interface.h
Don't print a message a malloc failed.
[vlc] / src / interface / interface.h
index cbad578d046c816c01bedff471c4cd73d80b1566..6401ccdd7f7db99a1c64473f5f4c0544f14e2c38 100644 (file)
@@ -2,7 +2,7 @@
  * interface.h: Internal interface prototypes and structures
  *****************************************************************************
  * Copyright (C) 1998-2006 the VideoLAN team
- * $Id: interface.c 17743 2006-11-13 15:43:19Z courmisch $
+ * $Id$
  *
  * Authors: Vincent Seguin <seguin@via.ecp.fr>
  *          ClĂ©ment Stenac <zorglub@videolan.org>
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
+#if defined(__PLUGIN__) || defined(__BUILTIN__) || !defined(__LIBVLC__)
+# error This header file can only be included from LibVLC.
+#endif
+
+#ifndef __LIBVLC_INTERFACE_H
+# define __LIBVLC_INTERFACE_H 1
+
 /**********************************************************************
  * Interaction
  **********************************************************************/
 
-void intf_InteractionManage( playlist_t *);
-void intf_InteractionDestroy( interaction_t *);
+interaction_t * interaction_Init( libvlc_int_t *p_libvlc );
+void interaction_Destroy( interaction_t * );
+
+#endif