removed useless destructors
This commit is contained in:
parent
3da8337c6c
commit
ee09a50915
|
@ -26,7 +26,6 @@ class FieldMapBasedTag : public Tag
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
FieldMapBasedTag();
|
FieldMapBasedTag();
|
||||||
virtual ~FieldMapBasedTag();
|
|
||||||
|
|
||||||
virtual const TagValue &value(KnownField field) const;
|
virtual const TagValue &value(KnownField field) const;
|
||||||
virtual const TagValue &value(const typename FieldType::identifierType &id) const;
|
virtual const TagValue &value(const typename FieldType::identifierType &id) const;
|
||||||
|
@ -73,13 +72,6 @@ template <class FieldType, class Compare>
|
||||||
FieldMapBasedTag<FieldType, Compare>::FieldMapBasedTag()
|
FieldMapBasedTag<FieldType, Compare>::FieldMapBasedTag()
|
||||||
{}
|
{}
|
||||||
|
|
||||||
/*!
|
|
||||||
* \brief Destroys the tag.
|
|
||||||
*/
|
|
||||||
template <class FieldType, class Compare>
|
|
||||||
FieldMapBasedTag<FieldType, Compare>::~FieldMapBasedTag()
|
|
||||||
{}
|
|
||||||
|
|
||||||
template <class FieldType, class Compare>
|
template <class FieldType, class Compare>
|
||||||
inline const TagValue &FieldMapBasedTag<FieldType, Compare>::value(KnownField field) const
|
inline const TagValue &FieldMapBasedTag<FieldType, Compare>::value(KnownField field) const
|
||||||
{
|
{
|
||||||
|
|
|
@ -23,12 +23,6 @@ namespace Media {
|
||||||
Id3v1Tag::Id3v1Tag()
|
Id3v1Tag::Id3v1Tag()
|
||||||
{}
|
{}
|
||||||
|
|
||||||
/*!
|
|
||||||
* \brief Destroys the tag.
|
|
||||||
*/
|
|
||||||
Id3v1Tag::~Id3v1Tag()
|
|
||||||
{}
|
|
||||||
|
|
||||||
TagType Id3v1Tag::type() const
|
TagType Id3v1Tag::type() const
|
||||||
{
|
{
|
||||||
return TagType::Id3v1Tag;
|
return TagType::Id3v1Tag;
|
||||||
|
|
|
@ -10,7 +10,6 @@ class LIB_EXPORT Id3v1Tag : public Tag
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
Id3v1Tag();
|
Id3v1Tag();
|
||||||
virtual ~Id3v1Tag();
|
|
||||||
|
|
||||||
virtual TagType type() const;
|
virtual TagType type() const;
|
||||||
virtual const char *typeName() const;
|
virtual const char *typeName() const;
|
||||||
|
|
|
@ -19,7 +19,6 @@ class LIB_EXPORT Id3v2Tag : public FieldMapBasedTag<Id3v2Frame, FrameComparer>
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
Id3v2Tag();
|
Id3v2Tag();
|
||||||
~Id3v2Tag();
|
|
||||||
|
|
||||||
TagType type() const;
|
TagType type() const;
|
||||||
const char *typeName() const;
|
const char *typeName() const;
|
||||||
|
@ -71,12 +70,6 @@ inline Id3v2Tag::Id3v2Tag() :
|
||||||
m_paddingSize(0)
|
m_paddingSize(0)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
/*!
|
|
||||||
* \brief Destroys the tag.
|
|
||||||
*/
|
|
||||||
inline Id3v2Tag::~Id3v2Tag()
|
|
||||||
{}
|
|
||||||
|
|
||||||
inline TagType Id3v2Tag::type() const
|
inline TagType Id3v2Tag::type() const
|
||||||
{
|
{
|
||||||
return TagType::Id3v2Tag;
|
return TagType::Id3v2Tag;
|
||||||
|
|
|
@ -50,14 +50,12 @@ class LIB_EXPORT MatroskaTag : public FieldMapBasedTag<MatroskaTagField>
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
MatroskaTag();
|
MatroskaTag();
|
||||||
~MatroskaTag();
|
|
||||||
|
|
||||||
TagType type() const;
|
TagType type() const;
|
||||||
const char *typeName() const;
|
const char *typeName() const;
|
||||||
TagTextEncoding proposedTextEncoding() const;
|
TagTextEncoding proposedTextEncoding() const;
|
||||||
bool canEncodingBeUsed(TagTextEncoding encoding) const;
|
bool canEncodingBeUsed(TagTextEncoding encoding) const;
|
||||||
bool supportsTarget() const;
|
bool supportsTarget() const;
|
||||||
// bool supportsNestedTags() const;
|
|
||||||
|
|
||||||
std::string fieldId(KnownField field) const;
|
std::string fieldId(KnownField field) const;
|
||||||
KnownField knownField(const std::string &id) const;
|
KnownField knownField(const std::string &id) const;
|
||||||
|
@ -75,23 +73,12 @@ inline bool MatroskaTag::supportsTarget() const
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
//inline bool MatroskaTag::supportsNestedTags() const
|
|
||||||
//{
|
|
||||||
// return true;
|
|
||||||
//}
|
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* \brief Constructs a new tag.
|
* \brief Constructs a new tag.
|
||||||
*/
|
*/
|
||||||
inline MatroskaTag::MatroskaTag()
|
inline MatroskaTag::MatroskaTag()
|
||||||
{}
|
{}
|
||||||
|
|
||||||
/*!
|
|
||||||
* \brief Destroys the tag.
|
|
||||||
*/
|
|
||||||
inline MatroskaTag::~MatroskaTag()
|
|
||||||
{}
|
|
||||||
|
|
||||||
inline TagType MatroskaTag::type() const
|
inline TagType MatroskaTag::type() const
|
||||||
{
|
{
|
||||||
return TagType::MatroskaTag;
|
return TagType::MatroskaTag;
|
||||||
|
|
|
@ -50,7 +50,6 @@ class LIB_EXPORT Mp4Tag : public FieldMapBasedTag<Mp4TagField>
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
Mp4Tag();
|
Mp4Tag();
|
||||||
~Mp4Tag();
|
|
||||||
|
|
||||||
TagType type() const;
|
TagType type() const;
|
||||||
const char *typeName() const;
|
const char *typeName() const;
|
||||||
|
@ -79,12 +78,6 @@ public:
|
||||||
inline Mp4Tag::Mp4Tag()
|
inline Mp4Tag::Mp4Tag()
|
||||||
{}
|
{}
|
||||||
|
|
||||||
/*!
|
|
||||||
* \brief Destroys the tag.
|
|
||||||
*/
|
|
||||||
inline Mp4Tag::~Mp4Tag()
|
|
||||||
{}
|
|
||||||
|
|
||||||
inline TagType Mp4Tag::type() const
|
inline TagType Mp4Tag::type() const
|
||||||
{
|
{
|
||||||
return TagType::Mp4Tag;
|
return TagType::Mp4Tag;
|
||||||
|
|
|
@ -14,7 +14,6 @@ class LIB_EXPORT VorbisComment : public FieldMapBasedTag<VorbisCommentField, Cas
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
VorbisComment();
|
VorbisComment();
|
||||||
~VorbisComment();
|
|
||||||
|
|
||||||
TagType type() const;
|
TagType type() const;
|
||||||
const char *typeName() const;
|
const char *typeName() const;
|
||||||
|
@ -42,12 +41,6 @@ private:
|
||||||
inline VorbisComment::VorbisComment()
|
inline VorbisComment::VorbisComment()
|
||||||
{}
|
{}
|
||||||
|
|
||||||
/*!
|
|
||||||
* \brief Destroys the Vorbis comment.
|
|
||||||
*/
|
|
||||||
inline VorbisComment::~VorbisComment()
|
|
||||||
{}
|
|
||||||
|
|
||||||
inline TagType VorbisComment::type() const
|
inline TagType VorbisComment::type() const
|
||||||
{
|
{
|
||||||
return TagType::VorbisComment;
|
return TagType::VorbisComment;
|
||||||
|
|
Loading…
Reference in New Issue