mirror of
https://github.com/taglib/taglib.git
synced 2025-05-25 12:10:26 -04:00
Inspection: Possibly unused #include directive
This commit is contained in:
parent
5fc3e5c192
commit
580b0b0c82
1
.gitignore
vendored
1
.gitignore
vendored
@ -22,7 +22,6 @@ CMakeLists.txt.user*
|
||||
/tests/test_runner
|
||||
/tests/Testing
|
||||
/taglib/libtag.a
|
||||
/taglib_config.h
|
||||
/taglib-config
|
||||
/bindings/c/libtag_c.a
|
||||
/bindings/c/taglib_c.pc
|
||||
|
@ -148,8 +148,6 @@ if(TRACE_IN_RELEASE)
|
||||
set(TRACE_IN_RELEASE TRUE)
|
||||
endif()
|
||||
|
||||
configure_file(taglib/taglib_config.h.cmake "${CMAKE_CURRENT_BINARY_DIR}/taglib_config.h")
|
||||
|
||||
find_package(utf8cpp QUIET)
|
||||
if(NOT utf8cpp_FOUND)
|
||||
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/utfcpp/CMakeLists.txt)
|
||||
|
@ -30,7 +30,6 @@
|
||||
# include "config.h"
|
||||
#endif
|
||||
#include "tstringlist.h"
|
||||
#include "tbytevectorlist.h"
|
||||
#include "tbytevectorstream.h"
|
||||
#include "tiostream.h"
|
||||
#include "tfile.h"
|
||||
|
@ -33,7 +33,6 @@ set(tag_HDRS
|
||||
fileref.h
|
||||
audioproperties.h
|
||||
taglib_export.h
|
||||
${CMAKE_CURRENT_BINARY_DIR}/../taglib_config.h
|
||||
toolkit/taglib.h
|
||||
toolkit/tstring.h
|
||||
toolkit/tlist.h
|
||||
|
@ -30,7 +30,6 @@
|
||||
#include "tbytevector.h"
|
||||
#include "tpicturetype.h"
|
||||
#include "taglib_export.h"
|
||||
#include "attachedpictureframe.h"
|
||||
|
||||
namespace TagLib
|
||||
{
|
||||
|
@ -26,7 +26,6 @@
|
||||
#include "dsdiffproperties.h"
|
||||
|
||||
#include "tstring.h"
|
||||
#include "tdebug.h"
|
||||
|
||||
using namespace TagLib;
|
||||
|
||||
|
@ -26,7 +26,6 @@
|
||||
#ifndef TAGLIB_FLACMETADATABLOCK_H
|
||||
#define TAGLIB_FLACMETADATABLOCK_H
|
||||
|
||||
#include "tlist.h"
|
||||
#include "tbytevector.h"
|
||||
#include "taglib_export.h"
|
||||
|
||||
|
@ -28,8 +28,6 @@
|
||||
#include "tstring.h"
|
||||
#include "tdebug.h"
|
||||
|
||||
#include "flacfile.h"
|
||||
|
||||
using namespace TagLib;
|
||||
|
||||
class FLAC::Properties::PropertiesPrivate
|
||||
|
@ -27,7 +27,6 @@
|
||||
|
||||
#include "tstringlist.h"
|
||||
#include "tdebug.h"
|
||||
#include "tpropertymap.h"
|
||||
#include "modfileprivate.h"
|
||||
|
||||
using namespace TagLib;
|
||||
|
@ -26,7 +26,6 @@
|
||||
#ifndef TAGLIB_ITPROPERTIES_H
|
||||
#define TAGLIB_ITPROPERTIES_H
|
||||
|
||||
#include "taglib.h"
|
||||
#include "audioproperties.h"
|
||||
|
||||
namespace TagLib {
|
||||
|
@ -28,12 +28,9 @@
|
||||
|
||||
#include "taglib.h"
|
||||
#include "tfile.h"
|
||||
#include "tstring.h"
|
||||
#include "tlist.h"
|
||||
#include "taglib_export.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
namespace TagLib {
|
||||
namespace Mod {
|
||||
//! Base class for module files
|
||||
|
@ -26,7 +26,6 @@
|
||||
#ifndef TAGLIB_MODPROPERTIES_H
|
||||
#define TAGLIB_MODPROPERTIES_H
|
||||
|
||||
#include "taglib.h"
|
||||
#include "audioproperties.h"
|
||||
|
||||
namespace TagLib {
|
||||
|
@ -25,6 +25,7 @@
|
||||
|
||||
#include "mp4atom.h"
|
||||
|
||||
#include <array>
|
||||
#include <climits>
|
||||
#include <utility>
|
||||
|
||||
|
@ -28,8 +28,6 @@
|
||||
#ifndef TAGLIB_MP4ATOM_H
|
||||
#define TAGLIB_MP4ATOM_H
|
||||
|
||||
#include <array>
|
||||
|
||||
#include "tfile.h"
|
||||
#include "tlist.h"
|
||||
|
||||
|
@ -25,7 +25,6 @@
|
||||
|
||||
#include "mp4tag.h"
|
||||
|
||||
#include <array>
|
||||
#include <utility>
|
||||
|
||||
#include "tdebug.h"
|
||||
|
@ -26,7 +26,6 @@
|
||||
#ifndef TAGLIB_MP4TAG_H
|
||||
#define TAGLIB_MP4TAG_H
|
||||
|
||||
#include "tbytevectorlist.h"
|
||||
#include "tfile.h"
|
||||
#include "tmap.h"
|
||||
#include "tstringlist.h"
|
||||
|
@ -27,7 +27,6 @@
|
||||
#define TAGLIB_MPCFILE_H
|
||||
|
||||
#include "tfile.h"
|
||||
#include "tlist.h"
|
||||
#include "taglib_export.h"
|
||||
#include "tag.h"
|
||||
#include "mpcproperties.h"
|
||||
|
@ -29,7 +29,6 @@
|
||||
#include "taglib_export.h"
|
||||
#include "tpicturetype.h"
|
||||
#include "id3v2frame.h"
|
||||
#include "id3v2header.h"
|
||||
|
||||
namespace TagLib {
|
||||
|
||||
|
@ -29,7 +29,6 @@
|
||||
|
||||
#include "tbytevectorlist.h"
|
||||
#include "tdebug.h"
|
||||
#include "tpropertymap.h"
|
||||
#include "id3v2tag.h"
|
||||
|
||||
using namespace TagLib;
|
||||
|
@ -31,7 +31,6 @@
|
||||
|
||||
#include "taglib_export.h"
|
||||
#include "id3v2frame.h"
|
||||
#include "id3v2header.h"
|
||||
|
||||
namespace TagLib {
|
||||
|
||||
|
@ -28,7 +28,6 @@
|
||||
|
||||
#include "tbytevector.h"
|
||||
#include "taglib_export.h"
|
||||
#include "taglib.h"
|
||||
|
||||
namespace TagLib {
|
||||
|
||||
|
@ -35,12 +35,7 @@
|
||||
#include "id3v2tag.h"
|
||||
#include "id3v2synchdata.h"
|
||||
#include "frames/textidentificationframe.h"
|
||||
#include "frames/urllinkframe.h"
|
||||
#include "frames/unsynchronizedlyricsframe.h"
|
||||
#include "frames/commentsframe.h"
|
||||
#include "frames/uniquefileidentifierframe.h"
|
||||
#include "frames/unknownframe.h"
|
||||
#include "frames/podcastframe.h"
|
||||
|
||||
using namespace TagLib;
|
||||
using namespace ID3v2;
|
||||
|
@ -28,7 +28,6 @@
|
||||
|
||||
#include "tbytevector.h"
|
||||
#include "taglib_export.h"
|
||||
#include "id3v2.h"
|
||||
|
||||
namespace TagLib {
|
||||
|
||||
|
@ -25,8 +25,6 @@
|
||||
|
||||
#include "id3v2synchdata.h"
|
||||
|
||||
#include <iostream>
|
||||
|
||||
using namespace TagLib;
|
||||
using namespace ID3v2;
|
||||
|
||||
|
@ -27,7 +27,6 @@
|
||||
#define TAGLIB_ID3V2SYNCHDATA_H
|
||||
|
||||
#include "tbytevector.h"
|
||||
#include "taglib.h"
|
||||
|
||||
namespace TagLib {
|
||||
|
||||
|
@ -29,7 +29,6 @@
|
||||
#include "mpegfile.h"
|
||||
#include "xingheader.h"
|
||||
#include "apetag.h"
|
||||
#include "apefooter.h"
|
||||
|
||||
using namespace TagLib;
|
||||
|
||||
|
@ -28,7 +28,6 @@
|
||||
|
||||
#include "tmap.h"
|
||||
#include "tstring.h"
|
||||
#include "tstringlist.h"
|
||||
#include "tbytevector.h"
|
||||
#include "taglib_export.h"
|
||||
#include "tag.h"
|
||||
|
@ -26,7 +26,6 @@
|
||||
#ifndef TAGLIB_WAVPROPERTIES_H
|
||||
#define TAGLIB_WAVPROPERTIES_H
|
||||
|
||||
#include "taglib.h"
|
||||
#include "audioproperties.h"
|
||||
|
||||
namespace TagLib {
|
||||
|
@ -26,7 +26,6 @@
|
||||
#ifndef TAGLIB_S3MPROPERTIES_H
|
||||
#define TAGLIB_S3MPROPERTIES_H
|
||||
|
||||
#include "taglib.h"
|
||||
#include "audioproperties.h"
|
||||
|
||||
namespace TagLib {
|
||||
|
@ -1,11 +0,0 @@
|
||||
/* taglib_config.h. Generated by cmake from taglib_config.h.cmake */
|
||||
|
||||
#ifndef TAGLIB_TAGLIB_CONFIG_H
|
||||
#define TAGLIB_TAGLIB_CONFIG_H
|
||||
|
||||
/* These values are no longer used. This file is present only for compatibility reasons. */
|
||||
|
||||
#define TAGLIB_WITH_ASF 1
|
||||
#define TAGLIB_WITH_MP4 1
|
||||
|
||||
#endif
|
@ -26,8 +26,6 @@
|
||||
#ifndef TAGLIB_H
|
||||
#define TAGLIB_H
|
||||
|
||||
#include "taglib_config.h"
|
||||
|
||||
#define TAGLIB_MAJOR_VERSION 2
|
||||
#define TAGLIB_MINOR_VERSION 0
|
||||
#define TAGLIB_PATCH_VERSION 0
|
||||
|
@ -26,7 +26,6 @@
|
||||
#ifndef TAGLIB_BYTEVECTOR_H
|
||||
#define TAGLIB_BYTEVECTOR_H
|
||||
|
||||
#include <iostream>
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
|
@ -26,6 +26,10 @@
|
||||
#ifndef TAGLIB_DEBUG_H
|
||||
#define TAGLIB_DEBUG_H
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
namespace TagLib {
|
||||
|
||||
class String;
|
||||
|
@ -43,8 +43,6 @@
|
||||
# define W_OK 2
|
||||
#endif
|
||||
|
||||
#include "wavpackfile.h"
|
||||
|
||||
using namespace TagLib;
|
||||
|
||||
class File::FilePrivate
|
||||
|
@ -30,8 +30,6 @@
|
||||
#include <initializer_list>
|
||||
#include <memory>
|
||||
|
||||
#include "taglib.h"
|
||||
|
||||
namespace TagLib {
|
||||
|
||||
//! A generic, implicitly shared list.
|
||||
|
@ -31,8 +31,6 @@
|
||||
#include <initializer_list>
|
||||
#include <utility>
|
||||
|
||||
#include "taglib.h"
|
||||
|
||||
namespace TagLib {
|
||||
|
||||
//! A generic, implicitly shared map.
|
||||
|
@ -26,7 +26,6 @@
|
||||
#ifndef TAGLIB_STRING_H
|
||||
#define TAGLIB_STRING_H
|
||||
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
|
||||
#include "tbytevector.h"
|
||||
|
@ -26,9 +26,6 @@
|
||||
#ifndef TAGLIB_VARIANT_H
|
||||
#define TAGLIB_VARIANT_H
|
||||
|
||||
#include <memory.h>
|
||||
#include <iostream>
|
||||
|
||||
#include "tlist.h"
|
||||
#include "tmap.h"
|
||||
#include "taglib_export.h"
|
||||
|
@ -30,7 +30,6 @@
|
||||
#ifndef TAGLIB_WVPROPERTIES_H
|
||||
#define TAGLIB_WVPROPERTIES_H
|
||||
|
||||
#include "tbytevector.h"
|
||||
#include "taglib_export.h"
|
||||
#include "audioproperties.h"
|
||||
|
||||
|
@ -27,7 +27,6 @@
|
||||
#define TAGLIB_XMPROPERTIES_H
|
||||
|
||||
#include "tstring.h"
|
||||
#include "taglib.h"
|
||||
#include "audioproperties.h"
|
||||
|
||||
namespace TagLib {
|
||||
|
@ -27,9 +27,7 @@
|
||||
#include <cstdio>
|
||||
|
||||
#include "tstringlist.h"
|
||||
#include "tbytevectorlist.h"
|
||||
#include "tpropertymap.h"
|
||||
#include "tdebug.h"
|
||||
#include "tag.h"
|
||||
#include "apefile.h"
|
||||
#include "apetag.h"
|
||||
|
@ -27,7 +27,6 @@
|
||||
#include <cstdio>
|
||||
|
||||
#include "tstringlist.h"
|
||||
#include "tbytevectorlist.h"
|
||||
#include "tpropertymap.h"
|
||||
#include "tag.h"
|
||||
#include "flacfile.h"
|
||||
|
@ -30,7 +30,6 @@
|
||||
#include "tbytevectorlist.h"
|
||||
#include "tag.h"
|
||||
#include "flacfile.h"
|
||||
#include "flacmetadatablock.h"
|
||||
#include <cppunit/extensions/HelperMacros.h>
|
||||
#include "utils.h"
|
||||
|
||||
|
@ -27,7 +27,6 @@
|
||||
#include <cstdio>
|
||||
|
||||
#include "tstringlist.h"
|
||||
#include "tbytevectorlist.h"
|
||||
#include "tag.h"
|
||||
#include "flacunknownmetadatablock.h"
|
||||
#include <cppunit/extensions/HelperMacros.h>
|
||||
|
@ -27,7 +27,6 @@
|
||||
#include <utility>
|
||||
#include <cassert>
|
||||
|
||||
#include "tdebug.h"
|
||||
#include "tpropertymap.h"
|
||||
#include "tzlib.h"
|
||||
#include "id3v2tag.h"
|
||||
|
@ -28,7 +28,6 @@
|
||||
|
||||
#include "tag.h"
|
||||
#include "tstringlist.h"
|
||||
#include "tbytevectorlist.h"
|
||||
#include "tpropertymap.h"
|
||||
#include "oggfile.h"
|
||||
#include "vorbisfile.h"
|
||||
|
@ -27,7 +27,6 @@
|
||||
#include <cstdio>
|
||||
|
||||
#include "tstringlist.h"
|
||||
#include "tbytevectorlist.h"
|
||||
#include "tag.h"
|
||||
#include "oggfile.h"
|
||||
#include "oggflacfile.h"
|
||||
|
@ -53,15 +53,12 @@
|
||||
#include "flacpicture.h"
|
||||
#include "flacproperties.h"
|
||||
#include "generalencapsulatedobjectframe.h"
|
||||
#include "id3v1genres.h"
|
||||
#include "id3v1tag.h"
|
||||
#include "id3v2.h"
|
||||
#include "id3v2extendedheader.h"
|
||||
#include "id3v2footer.h"
|
||||
#include "id3v2frame.h"
|
||||
#include "id3v2framefactory.h"
|
||||
#include "id3v2header.h"
|
||||
#include "id3v2synchdata.h"
|
||||
#include "id3v2tag.h"
|
||||
#include "infotag.h"
|
||||
#include "itfile.h"
|
||||
@ -70,7 +67,6 @@
|
||||
#include "modfilebase.h"
|
||||
#include "modproperties.h"
|
||||
#include "modtag.h"
|
||||
#include "mp4atom.h"
|
||||
#include "mp4coverart.h"
|
||||
#include "mp4file.h"
|
||||
#include "mp4item.h"
|
||||
|
@ -27,7 +27,6 @@
|
||||
#include <cstdio>
|
||||
|
||||
#include "tpropertymap.h"
|
||||
#include "tdebug.h"
|
||||
#include "xiphcomment.h"
|
||||
#include "vorbisfile.h"
|
||||
#include <cppunit/extensions/HelperMacros.h>
|
||||
|
Loading…
Reference in New Issue
Block a user