#ifndef LOCAL_PKG_DATA_LOAD_PROCESS__H
#define LOCAL_PKG_DATA_LOAD_PROCESS__H
#include <map>
#include "AbstractProcess.h"
#include "Model.h"
#include "PackageInfo.h"
#include <File.h>
#include <Path.h>
#include <String.h>
#include <Url.h>
#include <package/RepositoryCache.h>
class PkgDataLoadState;
class LocalPkgDataLoadProcess : public AbstractProcess {
public:
LocalPkgDataLoadProcess(Model *model, bool force = false);
virtual ~LocalPkgDataLoadProcess();
const char* Name() const;
const char* Description() const;
protected:
virtual status_t RunInternal();
private:
static void _NotifyError(const BString& messageText);
private:
Model* fModel;
bool fForce;
};
#endif