akabeidelta_p.h 1.03 KB
Newer Older
Dario Freddi's avatar
Dario Freddi committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
/*
   This file is part of the Chakra project

   Copyright (C) 2010 Dario Freddi <drf@chakra-project.org>

   This program is free software; you can redistribute it and/or
   modify it under the terms of the GNU General Public
   License as published by the Free Software Foundation; either
   version 2 of the License, or (at your option) any later version.
*/

#ifndef AKABEI_AKABEIDELTA_P_H
#define AKABEI_AKABEIDELTA_P_H

#include "akabeidelta.h"

namespace Akabei {

class DeltaPrivate {
    public:
21
        DeltaPrivate(const QString &n, const QByteArray &v1, const QByteArray &v2)
Dario Freddi's avatar
Dario Freddi committed
22 23 24
            : name(n)
            , vFrom(v1)
            , vTo(v2)
25 26
            , _p_md5checked(false)
            , _p_validated(false)
Dario Freddi's avatar
Dario Freddi committed
27 28 29 30 31 32
        {}

        ~DeltaPrivate() {}

        QString name;
        QByteArray md5sum;
33 34
        QByteArray vFrom;
        QByteArray vTo;
Dario Freddi's avatar
Dario Freddi committed
35 36 37 38 39 40 41 42

        QString filename;

        QString pathToDelta;
        QString pathToOldFile;
        QString xdeltaApply;

        bool _p_md5checked;
43
        bool _p_validated;
Dario Freddi's avatar
Dario Freddi committed
44 45 46 47 48
};

}

#endif