mirror of
https://github.com/YACReader/yacreader
synced 2025-07-14 02:54:46 -04:00
Extracted the data generation for services to a helper class.
This commit is contained in:
19
YACReaderLibrary/server/yacreader_server_data_helper.h
Normal file
19
YACReaderLibrary/server/yacreader_server_data_helper.h
Normal 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
|
Reference in New Issue
Block a user