last changes from gta5sync

This commit is contained in:
Syping 2017-02-25 06:30:37 +01:00
parent 4fc5959f71
commit 88f43b55d3
3 changed files with 56 additions and 40 deletions

View file

@ -96,6 +96,9 @@ public:
// PREDEFINED PROPERTIES
QSize getSnapmaticResolution();
// VERIFY CONTENT
static bool verifyTitle(const QString &title);
private:
QString getSnapmaticHeaderString(const QByteArray &snapmaticHeader);
QString getSnapmaticJSONString(const QByteArray &jsonBytes);
@ -116,23 +119,7 @@ private:
bool isCustomFormat;
int jpegRawContentSize;
// PARSE INT
int snapmaticHeaderLength;
int snapmaticUsefulLength;
int snapmaticFileMaxSize;
int jpegHeaderLineDifStr;
int jpegPreHeaderLength;
int jpegPicStreamLength;
int jsonStreamLength;
int tideStreamLength;
// PARSE EDITOR
int jpegStreamEditorBegin;
int jsonStreamEditorBegin;
int jsonStreamEditorLength;
int titlStreamEditorBegin;
int titlStreamEditorLength;
int titlStreamCharacterMax;
// PICTURE STREAM
QByteArray rawPicContent;
// PREDEFINED PROPERTIES
@ -144,6 +131,9 @@ private:
QString jsonStr;
SnapmaticProperties localSpJson;
// VERIFY CONTENT
static bool verifyTitleChar(const QChar &titleChar);
signals:
public slots: