upgradeoperation.h 803 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
/* This file is part of the Chakra project

   Copyright (C) 2011 Lukas Appelhans

   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 UPGRADEOPERATION_H
#define UPGRADEOPERATION_H

#include <QtCore/QObject>
#include "apm.h"
#include <akabeierror.h>

class UpgradeOperation : public QObject
{
Lisa's avatar
Lisa committed
20
Q_OBJECT
21 22 23
public:
    UpgradeOperation(QObject * parent = 0);
    virtual ~UpgradeOperation();
Lisa's avatar
Lisa committed
24
    
25
    void start(QList<APM::OperationName> operations, QHash<APM::OptionName, QStringList> options, QStringList args);
26
        
Luca Giambonini's avatar
Luca Giambonini committed
27
Q_SIGNALS:
28 29
    void upgradeFinished();

30 31 32
};

#endif // UPGRADEOPERATION_H