Code cleanup
This commit is contained in:
@@ -13,10 +13,8 @@
|
||||
#include <tpropertymap.h>
|
||||
#include <id3v2tag.h>
|
||||
|
||||
namespace utility
|
||||
{
|
||||
class ImageFile : public TagLib::File
|
||||
{
|
||||
namespace utility {
|
||||
class ImageFile : public TagLib::File {
|
||||
public:
|
||||
ImageFile(const char *file);
|
||||
|
||||
|
||||
@@ -7,20 +7,19 @@
|
||||
#include "model/Models.h"
|
||||
|
||||
namespace utility {
|
||||
class MetadataRetriever
|
||||
{
|
||||
public:
|
||||
model::Song retrieveMetadata(model::Song&);
|
||||
class MetadataRetriever {
|
||||
public:
|
||||
model::Song retrieveMetadata(model::Song&);
|
||||
|
||||
model::Cover updateCoverArt(const model::Song&, model::Cover&, const std::string&);
|
||||
model::Cover applyStockCoverArt(const model::Song&, model::Cover&, const std::string&);
|
||||
model::Cover applyCoverArt(const model::Song&, model::Cover&);
|
||||
model::Cover updateCoverArt(const model::Song&, model::Cover&, const std::string&);
|
||||
model::Cover applyStockCoverArt(const model::Song&, model::Cover&, const std::string&);
|
||||
model::Cover applyCoverArt(const model::Song&, model::Cover&);
|
||||
|
||||
bool songContainsCoverArt(const model::Song&);
|
||||
bool songContainsCoverArt(const model::Song&);
|
||||
|
||||
void updateMetadata(model::Song&, const model::Song&);
|
||||
private:
|
||||
};
|
||||
void updateMetadata(model::Song&, const model::Song&);
|
||||
private:
|
||||
};
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -12,7 +12,7 @@ public:
|
||||
|
||||
bool isPasswordValid(const model::User&, const model::PassSec&);
|
||||
private:
|
||||
int saltSize();
|
||||
constexpr int saltSize() noexcept;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user