Added Utility and Type namespaces
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
#ifndef IMAGEFILE_H_
|
||||
#define IMAGEFILE_H_
|
||||
|
||||
#include <iostream>
|
||||
|
||||
#include <attachedpictureframe.h>
|
||||
@@ -10,15 +13,20 @@
|
||||
#include <tpropertymap.h>
|
||||
#include <id3v2tag.h>
|
||||
|
||||
class imageFile : public TagLib::File
|
||||
namespace Utility
|
||||
{
|
||||
public:
|
||||
imageFile(const char *file);
|
||||
class imageFile : public TagLib::File
|
||||
{
|
||||
public:
|
||||
imageFile(const char *file);
|
||||
|
||||
TagLib::ByteVector data();
|
||||
TagLib::ByteVector data();
|
||||
|
||||
private:
|
||||
virtual TagLib::Tag *tag() const { return 0; }
|
||||
virtual TagLib::AudioProperties *audioProperties() const { return 0; }
|
||||
virtual bool save() { return false; }
|
||||
};
|
||||
private:
|
||||
virtual TagLib::Tag *tag() const { return 0; }
|
||||
virtual TagLib::AudioProperties *audioProperties() const { return 0; }
|
||||
virtual bool save() { return false; }
|
||||
};
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -6,14 +6,17 @@
|
||||
|
||||
#include "models/models.h"
|
||||
|
||||
class metadata_retriever
|
||||
namespace Utility
|
||||
{
|
||||
public:
|
||||
Model::Song retrieve_metadata(std::string&);
|
||||
Model::Cover update_cover_art(const Model::Song&, Model::Cover& cov, const std::string&);
|
||||
class metadata_retriever
|
||||
{
|
||||
public:
|
||||
Model::Song retrieve_metadata(std::string&);
|
||||
Model::Cover update_cover_art(const Model::Song&, Model::Cover& cov, const std::string&);
|
||||
|
||||
void update_metadata(Model::Song updated_song, const Model::Song old_song);
|
||||
private:
|
||||
};
|
||||
void update_metadata(Model::Song updated_song, const Model::Song old_song);
|
||||
private:
|
||||
};
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user