upgradeoperation.h 747 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(APM::OperationName operation, QHash<APM::OptionName, AkabeiOption> options, QStringList args);
26 27 28
};

#endif // UPGRADEOPERATION_H