Snapmatic useful length is now 260

This commit is contained in:
Rafael 2016-03-23 01:09:27 +01:00
parent 07affc2840
commit 69494fc100
4 changed files with 28 additions and 3 deletions

6
SavegameData.cpp Executable file
View file

@ -0,0 +1,6 @@
#include "SavegameData.h"
SavegameData::SavegameData(QObject *parent) : QObject(parent)
{
}

17
SavegameData.h Executable file
View file

@ -0,0 +1,17 @@
#ifndef SAVEGAMEDATA_H
#define SAVEGAMEDATA_H
#include <QObject>
class SavegameData : public QObject
{
Q_OBJECT
public:
explicit SavegameData(QObject *parent = 0);
signals:
public slots:
};
#endif // SAVEGAMEDATA_H

View file

@ -30,7 +30,7 @@ SnapmaticPicture::SnapmaticPicture(QObject *parent, QString fileName) : QObject(
{ {
// PARSE INT INIT - DO NOT CHANGE THIS VALUES // PARSE INT INIT - DO NOT CHANGE THIS VALUES
snapmaticHeaderLength = 278; snapmaticHeaderLength = 278;
snapmaticUsefulLength = 256; snapmaticUsefulLength = 260;
jpegHeaderLineDifStr = 2; jpegHeaderLineDifStr = 2;
jpegPreHeaderLength = 14; jpegPreHeaderLength = 14;
jpegPicStreamLength = 524288; jpegPicStreamLength = 524288;

View file

@ -30,14 +30,16 @@ SOURCES += main.cpp\
PictureDialog.cpp \ PictureDialog.cpp \
ProfileDatabase.cpp \ ProfileDatabase.cpp \
DatabaseThread.cpp \ DatabaseThread.cpp \
CrewDatabase.cpp CrewDatabase.cpp \
SavegameData.cpp
HEADERS += \ HEADERS += \
SnapmaticPicture.h \ SnapmaticPicture.h \
PictureDialog.h \ PictureDialog.h \
ProfileDatabase.h \ ProfileDatabase.h \
DatabaseThread.h \ DatabaseThread.h \
CrewDatabase.h CrewDatabase.h \
SavegameData.h
FORMS += \ FORMS += \
PictureDialog.ui PictureDialog.ui