]> git.sesse.net Git - vlc/commitdiff
Did I loose the count ?
authorClément Stenac <zorglub@videolan.org>
Sun, 26 Nov 2006 15:36:01 +0000 (15:36 +0000)
committerClément Stenac <zorglub@videolan.org>
Sun, 26 Nov 2006 15:36:01 +0000 (15:36 +0000)
include/vlc_configuration.h
include/vlc_symbols.h
modules/access/vcdx/access.c
modules/access/vcdx/demux.c
modules/access/vcdx/intf.h
modules/misc/notify/xosd.c
src/misc/configuration.h

index ec8ec4a80dbc68322a8337ce72cf10356a7ab0f8..bdbb11026492436f7f7297e096a8c62f8e899b68 100644 (file)
@@ -229,6 +229,8 @@ VLC_EXPORT( module_t *, config_FindModule,( vlc_object_t *, const char * ) );
 
 VLC_EXPORT( int, config_Duplicate,( module_t *, const module_config_t *, size_t ));
 
+VLC_EXPORT(const char *, config_GetDataDir, ( const vlc_object_t * ));
+
 #define config_GetType(a,b) __config_GetType(VLC_OBJECT(a),b)
 #define config_GetInt(a,b) __config_GetInt(VLC_OBJECT(a),b)
 #define config_PutInt(a,b,c) __config_PutInt(VLC_OBJECT(a),b,c)
index 4cc2ac22e8bc8a432df54c3deeec177ca7d3d696..5248c0bb1ea7268434a11503337983018538d3e7 100644 (file)
@@ -452,6 +452,7 @@ struct module_symbols_t
     int (*vout_Snapshot_inner) (vout_thread_t *p_vout, picture_t *p_pic);
     void (*streaming_GuiDescToChain_inner) (vlc_object_t*, sout_chain_t*, sout_gui_descr_t*);
     input_item_t* (*input_GetItem_inner) (input_thread_t*);
+    const char * (*config_GetDataDir_inner) (const vlc_object_t *);
 };
 # if defined (__PLUGIN__)
 #  define aout_OutputNextBuffer (p_symbols)->aout_OutputNextBuffer_inner
@@ -887,6 +888,7 @@ struct module_symbols_t
 #  define vout_Snapshot (p_symbols)->vout_Snapshot_inner
 #  define streaming_GuiDescToChain (p_symbols)->streaming_GuiDescToChain_inner
 #  define input_GetItem (p_symbols)->input_GetItem_inner
+#  define config_GetDataDir (p_symbols)->config_GetDataDir_inner
 # elif defined (HAVE_DYNAMIC_PLUGINS) && !defined (__BUILTIN__)
 /******************************************************************
  * STORE_SYMBOLS: store VLC APIs into p_symbols for plugin access.
@@ -1325,6 +1327,7 @@ struct module_symbols_t
     ((p_symbols)->vout_Snapshot_inner) = vout_Snapshot; \
     ((p_symbols)->streaming_GuiDescToChain_inner) = streaming_GuiDescToChain; \
     ((p_symbols)->input_GetItem_inner) = input_GetItem; \
+    ((p_symbols)->config_GetDataDir_inner) = config_GetDataDir; \
 
 # endif /* __PLUGIN__ */
 #endif /* __VLC_SYMBOLS_H */
index 6f05a3c90b8170565d47574e361be5a7dd1d6292..c8cb59126ff23cece632e2d2d8b5119ae6af0628 100644 (file)
@@ -31,7 +31,8 @@
 
 #include <vlc/vlc.h>
 #include <vlc_interface.h>
-#include <<vlc_input.h>>
+#include <vlc_input.h>
+#include <vlc_access.h>
 #include "vlc_keys.h"
 
 #include <cdio/cdio.h>
index 55d1c6af4257d818c175bd50fa62ae8601dd711b..919abcaa310a5a612795368a60c86be867862fa0 100644 (file)
@@ -29,7 +29,8 @@
 #include <string.h>
 
 #include <vlc/vlc.h>
-#include <<vlc_input.h>>
+#include <vlc_input.h>
+#include <vlc_access.h>
 #include <vlc_interface.h>
 
 #ifdef HAVE_UNISTD_H
index d8196f7529624dc8cd11fa3aded907d592467024..de177c191fddf7f20f6ddad524ad770a11e3426e 100644 (file)
@@ -21,6 +21,9 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
+#include <vlc/vlc.h>
+#include <vlc_input.h>
+
 /*****************************************************************************
  * intf_sys_t: description and status of interface
  *****************************************************************************/
index cd4621dd105536401d8a5804733b1a1ff72db7c4..9ad7c0555117e66f8847713557decf58c5f8f28c 100644 (file)
@@ -28,7 +28,9 @@
 #include <string.h>
 
 #include <xosd.h>
-
+#include <vlc/vlc.h>
+#include <vlc_playlist.h>
+#include <vlc_item.h>
 #include <vlc_interface.h>
 
 #ifdef HAVE_UNISTD_H
index 349f97a1540598ac516503565c289bb257bb6a02..e8f26a9aeb268fffdb5d2ea2687e3dabc91bd4fb 100644 (file)
@@ -14,5 +14,4 @@ void config_UnsetCallbacks ( module_config_t *, size_t );
 int   __config_LoadCmdLine  ( vlc_object_t *, int *, char *[], vlc_bool_t );
 char *   config_GetHomeDir     ( void );
 char *   config_GetUserDir     ( void );
-const char * config_GetDataDir ( const vlc_object_t * );
 int    __config_LoadConfigFile ( vlc_object_t *, const char * );