mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-12-16 05:42:04 +08:00
28 lines
540 B
C++
28 lines
540 B
C++
|
|
#pragma once
|
|
|
|
#include "spkpkgmgrbase.h"
|
|
|
|
class SpkPkgMgrApt : public SpkPkgMgrBase
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
SpkPkgMgrApt(QObject *parent = nullptr);
|
|
|
|
static bool DetectRequirements();
|
|
|
|
virtual PkgInstallResult ExecuteInstallation(QString pkgPath,
|
|
int entryId) override;
|
|
|
|
// APT backend specific
|
|
bool ChangeServerRepository(QString content);
|
|
|
|
private:
|
|
QAction *mActAptitudeTerm,
|
|
*mActAptTerm,
|
|
*mActGdebi,
|
|
*mActDeepinPkgInst;
|
|
|
|
};
|