Add .gitattributes rules for text and binary handling

This commit is contained in:
Felix Kauselmann
2018-07-01 21:29:59 +02:00
parent 4f6618c096
commit d5a11fb16b
377 changed files with 54049 additions and 53970 deletions

View File

@ -1,27 +1,27 @@
#ifndef YACREADERSERVERDATAHELPER_H
#define YACREADERSERVERDATAHELPER_H
#include <QtCore>
#include "folder.h"
#include "comic_db.h"
#include "reading_list.h"
class YACReaderServerDataHelper
{
public:
static QString folderToYSFormat(const qulonglong libraryId, const Folder & folder);
static QString comicToYSFormat(const qulonglong libraryId, const ComicDB & comic);
static QJsonObject folderToJSON(const qulonglong libraryId, const Folder & folder);
static QJsonObject comicToJSON(const qulonglong libraryId, const ComicDB & comic);
static QJsonObject fullComicToJSON(const qulonglong libraryId, const ComicDB & comic);
static QJsonObject readingListToJSON(const qulonglong libraryId, const ReadingList & readingList);
static QJsonObject labelToJSON(const qulonglong libraryId, const Label & label);
private:
YACReaderServerDataHelper();
};
#endif // YACREADERSERVERDATAHELPER_H
#ifndef YACREADERSERVERDATAHELPER_H
#define YACREADERSERVERDATAHELPER_H
#include <QtCore>
#include "folder.h"
#include "comic_db.h"
#include "reading_list.h"
class YACReaderServerDataHelper
{
public:
static QString folderToYSFormat(const qulonglong libraryId, const Folder & folder);
static QString comicToYSFormat(const qulonglong libraryId, const ComicDB & comic);
static QJsonObject folderToJSON(const qulonglong libraryId, const Folder & folder);
static QJsonObject comicToJSON(const qulonglong libraryId, const ComicDB & comic);
static QJsonObject fullComicToJSON(const qulonglong libraryId, const ComicDB & comic);
static QJsonObject readingListToJSON(const qulonglong libraryId, const ReadingList & readingList);
static QJsonObject labelToJSON(const qulonglong libraryId, const Label & label);
private:
YACReaderServerDataHelper();
};
#endif // YACREADERSERVERDATAHELPER_H