Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
da0a2988
Commit
da0a2988
authored
Nov 06, 2010
by
Rémi Denis-Courmont
Browse files
Remove __LIBVLC__ checks from src/
parent
acfecaea
Changes
32
Hide whitespace changes
Inline
Side-by-side
src/audio_output/aout_internal.h
View file @
da0a2988
...
...
@@ -21,12 +21,8 @@
* 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_AOUT_INTERNAL_H
# define __LIBVLC_AOUT_INTERNAL_H 1
#ifndef LIBVLC_AOUT_INTERNAL_H
# define LIBVLC_AOUT_INTERNAL_H 1
aout_buffer_t
*
aout_BufferAlloc
(
aout_alloc_t
*
allocation
,
mtime_t
microseconds
,
aout_buffer_t
*
old_buffer
);
...
...
@@ -267,4 +263,4 @@ static inline void AoutInputsMarkToRestart( aout_instance_t *p_aout )
aout_unlock_mixer
(
p_aout
);
}
#endif
/* !
__
LIBVLC_AOUT_INTERNAL_H */
#endif
/* !LIBVLC_AOUT_INTERNAL_H */
src/config/configuration.h
View file @
da0a2988
...
...
@@ -18,10 +18,6 @@
* 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_CONFIGURATION_H
# define LIBVLC_CONFIGURATION_H 1
...
...
src/input/access.h
View file @
da0a2988
...
...
@@ -22,12 +22,8 @@
* 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 _INPUT_ACCESS_H
#define _INPUT_ACCESS_H 1
#ifndef LIBVLC_INPUT_ACCESS_H
#define LIBVLC_INPUT_ACCESS_H 1
#include <vlc_common.h>
#include <vlc_access.h>
...
...
src/input/clock.h
View file @
da0a2988
...
...
@@ -22,12 +22,8 @@
* 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 _INPUT_CLOCK_H
#define _INPUT_CLOCK_H 1
#ifndef LIBVLC_INPUT_CLOCK_H
#define LIBVLC_INPUT_CLOCK_H 1
#include <vlc_common.h>
#include <vlc_input.h>
/* FIXME Needed for input_clock_t */
...
...
@@ -139,4 +135,3 @@ void input_clock_SetJitter( input_clock_t *,
mtime_t
input_clock_GetJitter
(
input_clock_t
*
);
#endif
src/input/decoder.h
View file @
da0a2988
...
...
@@ -22,12 +22,8 @@
* 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 _INPUT_DECODER_H
#define _INPUT_DECODER_H 1
#ifndef LIBVLC_INPUT_DECODER_H
#define LIBVLC_INPUT_DECODER_H 1
#include <vlc_common.h>
#include <vlc_codec.h>
...
...
src/input/demux.h
View file @
da0a2988
...
...
@@ -22,12 +22,8 @@
* 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 _INPUT_DEMUX_H
#define _INPUT_DEMUX_H 1
#ifndef LIBVLC_INPUT_DEMUX_H
#define LIBVLC_INPUT_DEMUX_H 1
#include <vlc_common.h>
#include <vlc_demux.h>
...
...
@@ -63,4 +59,3 @@ static inline int demux_Control( demux_t *p_demux, int i_query, ... )
}
#endif
src/input/es_out.h
View file @
da0a2988
...
...
@@ -22,12 +22,8 @@
* 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 _INPUT_ES_OUT_H
#define _INPUT_ES_OUT_H 1
#ifndef LIBVLC_INPUT_ES_OUT_H
#define LIBVLC_INPUT_ES_OUT_H 1
#include <vlc_common.h>
...
...
src/input/es_out_timeshift.h
View file @
da0a2988
...
...
@@ -21,12 +21,8 @@
* 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 _INPUT_ES_OUT_TIMESHIFT_H
#define _INPUT_ES_OUT_TIMESHIFT_H 1
#ifndef LIBVLC_INPUT_ES_OUT_TIMESHIFT_H
#define LIBVLC_INPUT_ES_OUT_TIMESHIFT_H 1
#include <vlc_common.h>
...
...
src/input/event.h
View file @
da0a2988
...
...
@@ -21,12 +21,8 @@
* 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 _INPUT_EVENT_H
#define _INPUT_EVENT_H 1
#ifndef LIBVLC_INPUT_EVENT_H
#define LIBVLC_INPUT_EVENT_H 1
#include <vlc_common.h>
...
...
@@ -83,6 +79,4 @@ void input_SendEventAout( input_thread_t *p_input );
*****************************************************************************/
void
input_SendEventBookmark
(
input_thread_t
*
p_input
);
#endif
src/input/info.h
View file @
da0a2988
...
...
@@ -21,12 +21,8 @@
* 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 _INPUT_INFO_H
#define _INPUT_INFO_H 1
#ifndef LIBVLC_INPUT_INFO_H
#define LIBVLC_INPUT_INFO_H 1
#include "vlc_input_item.h"
...
...
src/input/input_interface.h
View file @
da0a2988
...
...
@@ -21,12 +21,8 @@
* 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 _INPUT_INTERFACE_H
#define _INPUT_INTERFACE_H 1
#ifndef LIBVLC_INPUT_INTERFACE_H
#define LIBVLC_INPUT_INTERFACE_H 1
#include <vlc_input.h>
#include <libvlc.h>
...
...
src/input/input_internal.h
View file @
da0a2988
...
...
@@ -21,12 +21,8 @@
* 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 _INPUT_INTERNAL_H
#define _INPUT_INTERNAL_H 1
#ifndef LIBVLC_INPUT_INTERNAL_H
#define LIBVLC_INPUT_INTERNAL_H 1
#include <vlc_access.h>
#include <vlc_demux.h>
...
...
src/input/item.h
View file @
da0a2988
...
...
@@ -21,12 +21,8 @@
* 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 _INPUT_ITEM_H
#define _INPUT_ITEM_H 1
#ifndef LIBVLC_INPUT_ITEM_H
#define LIBVLC_INPUT_ITEM_H 1
#include "input_interface.h"
...
...
src/input/resource.h
View file @
da0a2988
...
...
@@ -21,12 +21,8 @@
* 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 _INPUT_RESOURCE_H
#define _INPUT_RESOURCE_H 1
#ifndef LIBVLC_INPUT_RESOURCE_H
#define LIBVLC_INPUT_RESOURCE_H 1
#include <vlc_common.h>
...
...
@@ -82,4 +78,3 @@ void input_resource_Terminate( input_resource_t * );
input_resource_t
*
input_resource_Hold
(
input_resource_t
*
);
#endif
src/input/stream.h
View file @
da0a2988
...
...
@@ -22,12 +22,8 @@
* 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 _INPUT_STREAM_H
#define _INPUT_STREAM_H 1
#ifndef LIBVLC_INPUT_STREAM_H
#define LIBVLC_INPUT_STREAM_H 1
#include <vlc_common.h>
#include <vlc_stream.h>
...
...
@@ -78,4 +74,3 @@ stream_t *stream_FilterChainNew( stream_t *p_source,
const
char
*
psz_chain
,
bool
b_record
);
#endif
src/input/vlm_event.h
View file @
da0a2988
...
...
@@ -21,12 +21,8 @@
* 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 _VLM_EVENT_H
#define _VLM_EVENT_H 1
#ifndef LIBVLC_VLM_EVENT_H
#define LIBVLC_VLM_EVENT_H 1
#include <vlc_common.h>
...
...
@@ -42,4 +38,3 @@ void vlm_SendEventMediaInstanceStopped( vlm_t *, int64_t id, const char *psz_nam
void
vlm_SendEventMediaInstanceState
(
vlm_t
*
,
int64_t
id
,
const
char
*
psz_name
,
const
char
*
psz_instance_name
,
input_state_e
state
);
#endif
src/input/vlm_internal.h
View file @
da0a2988
...
...
@@ -21,12 +21,8 @@
* 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 _VLM_INTERNAL_H
#define _VLM_INTERNAL_H 1
#ifndef LIBVLC_VLM_INTERNAL_H
#define LIBVLC_VLM_INTERNAL_H 1
#include <vlc_vlm.h>
#include "input_interface.h"
...
...
src/misc/media_library.c
View file @
da0a2988
...
...
@@ -21,10 +21,6 @@
* 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
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
...
...
src/misc/sql.c
View file @
da0a2988
...
...
@@ -21,10 +21,6 @@
* 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
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
...
...
src/misc/variables.h
View file @
da0a2988
...
...
@@ -21,10 +21,6 @@
* 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_VARIABLES_H
# define LIBVLC_VARIABLES_H 1
...
...
Prev
1
2
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment