Browse Source

lib: remove deprecated.h

There is no more deprecated functions.

In case, we need to deprecate new functions in a future release, we can
just add LIBVLC_DEPRECATED, and leave the function in its original
header.
pull/162/head
Thomas Guillem 2 years ago
committed by Steve Lhomme
parent
commit
515ed469c8
  1. 1
      include/meson.build
  2. 35
      include/vlc/deprecated.h
  3. 1
      include/vlc/vlc.h
  4. 1
      lib/Makefile.am
  5. 1
      po/POTFILES.in
  6. 1
      src/test/headers.c

1
include/meson.build

@ -12,7 +12,6 @@ install_headers(
'vlc/libvlc_media_track.h',
'vlc/libvlc_picture.h',
'vlc/libvlc_renderer_discoverer.h',
'vlc/deprecated.h',
'vlc/libvlc_version.h',
'vlc/libvlc_video.h',
subdir: 'vlc')

35
include/vlc/deprecated.h

@ -1,35 +0,0 @@
/*****************************************************************************
* deprecated.h: libvlc deprecated API
*****************************************************************************
* Copyright (C) 1998-2008 VLC authors and VideoLAN
*
* Authors: Clément Stenac <zorglub@videolan.org>
* Jean-Paul Saman <jpsaman@videolan.org>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2.1 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#ifndef LIBVLC_DEPRECATED_H
#define LIBVLC_DEPRECATED_H 1
# ifdef __cplusplus
extern "C" {
# endif
# ifdef __cplusplus
}
# endif
#endif /* _LIBVLC_DEPRECATED_H */

1
include/vlc/vlc.h

@ -47,7 +47,6 @@ extern "C" {
#include "libvlc_events.h"
#include "libvlc_dialog.h"
#include "libvlc_version.h"
#include "deprecated.h"
# ifdef __cplusplus
}

1
lib/Makefile.am

@ -8,7 +8,6 @@ BUILT_SOURCES = $(nodist_pkginclude_HEADERS)
CLEANFILES = $(BUILT_SOURCES) $(pkgconfig_DATA)
pkginclude_HEADERS = \
../include/vlc/deprecated.h \
../include/vlc/libvlc.h \
../include/vlc/libvlc_dialog.h \
../include/vlc/libvlc_events.h \

1
po/POTFILES.in

@ -14,7 +14,6 @@ include/vlc_config.h
include/vlc_config_cat.h
include/vlc_configuration.h
include/vlc_demux.h
include/vlc/deprecated.h
include/vlc_epg.h
include/vlc_es.h
include/vlc_es_out.h

1
src/test/headers.c

@ -32,7 +32,6 @@
#endif
#include <vlc/vlc.h>
#include <vlc/deprecated.h>
#include <vlc/libvlc.h>
#include <vlc/libvlc_events.h>
#include <vlc/libvlc_media.h>

Loading…
Cancel
Save