Commit 5a3de8e2 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

Remove unused interfaces

parent c0913ec3
#ifndef IAUDIOTRACKINFORMATION_H
#define IAUDIOTRACKINFORMATION_H
#include "ITrackInformation.h"
class IAudioTrackInformation : public ITrackInformation
{
public:
virtual ~IAudioTrackInformation() {}
virtual unsigned int bitrate() const = 0;
virtual unsigned int nbChannel() const = 0;
};
#endif // IAUDIOTRACKINFORMATION_H
......@@ -5,7 +5,6 @@
#include <memory>
#include "IMediaLibrary.h"
#include "ITrackInformation.h"
class IAlbumTrack;
class IShowEpisode;
......
#ifndef ITRACKINFORMATION_H
#define ITRACKINFORMATION_H
class ITrackInformation
{
virtual ~ITrackInformation() {}
virtual std::string codec() const = 0;
};
#endif // ITRACKINFORMATION_H
#ifndef IVIDEOTRACKINFORMATION_H
#define IVIDEOTRACKINFORMATION_H
#include "ITrackInformation.h"
class IVideoTrackInformation : public ITrackInformation
{
public:
virtual ~IVideoTrackInformation() {}
virtual unsigned int width() const = 0;
virtual unsigned int height() const = 0;
};
#endif // IVIDEOTRACKINFORMATION_H
......@@ -7,9 +7,6 @@ EnableCpp11()
add_definitions("-Wall -Wextra -pedantic -O0")
list(APPEND HEADERS_LIST
${CMAKE_SOURCE_DIR}/include/IAudioTrackInformation.h
${CMAKE_SOURCE_DIR}/include/ITrackInformation.h
${CMAKE_SOURCE_DIR}/include/IVideoTrackInformation.h
${CMAKE_SOURCE_DIR}/include/IShow.h
${CMAKE_SOURCE_DIR}/include/IShowEpisode.h
${CMAKE_SOURCE_DIR}/include/IAlbum.h
......@@ -17,6 +14,9 @@ list(APPEND HEADERS_LIST
${CMAKE_SOURCE_DIR}/include/IFile.h
${CMAKE_SOURCE_DIR}/include/IMediaLibrary.h
${CMAKE_SOURCE_DIR}/include/ILabel.h
${CMAKE_SOURCE_DIR}/include/IAudioTrack.h
${CMAKE_SOURCE_DIR}/include/IVideoTrack.h
${CMAKE_SOURCE_DIR}/include/IMovie.h
)
include_directories("${CMAKE_SOURCE_DIR}/include")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment