32 lines
664 B
C
32 lines
664 B
C
|
#ifndef PACKAGEMANAGEMENT_MINGWBUNDLE_H
|
||
|
#define PACKAGEMANAGEMENT_MINGWBUNDLE_H
|
||
|
|
||
|
#include "package.h"
|
||
|
#include "database.h"
|
||
|
|
||
|
#include <c++utilities/application/argumentparser.h>
|
||
|
|
||
|
#include <QList>
|
||
|
|
||
|
namespace PackageManagement {
|
||
|
|
||
|
class Manager;
|
||
|
|
||
|
class MingwBundle
|
||
|
{
|
||
|
public:
|
||
|
MingwBundle(const Manager &manager, const ApplicationUtilities::StringVector &packages);
|
||
|
|
||
|
void createBundle(const std::string &path) const;
|
||
|
|
||
|
private:
|
||
|
void addDependencies(const AlpmPackage &pkg);
|
||
|
|
||
|
const Manager &m_manager;
|
||
|
std::list<std::pair<const AlpmDataBase &, AlpmPackage> > m_packages;
|
||
|
};
|
||
|
|
||
|
} // namespace PackageManagement
|
||
|
|
||
|
#endif // PACKAGEMANAGEMENT_MINGWBUNDLE_H
|