Extracted the data generation for services to a helper class.

This commit is contained in:
Luis Ángel San Martín
2016-08-22 23:04:43 +02:00
parent b0b13de52d
commit de4540367f
2 changed files with 45 additions and 0 deletions

View File

@ -0,0 +1,19 @@
#ifndef YACREADERSERVERDATAHELPER_H
#define YACREADERSERVERDATAHELPER_H
#include <QtCore>
#include "folder.h"
#include "comic_db.h"
class YACReaderServerDataHelper
{
public:
static QString folderToYSFormat(const qulonglong libraryId, const Folder & folder);
static QString comicToYSFormat(const qulonglong libraryId, const ComicDB & comic);
private:
YACReaderServerDataHelper();
};
#endif // YACREADERSERVERDATAHELPER_H