1/*
2 * Copyright 2011, Oliver Tappe <zooey@hirschkaefer.de>
3 * Distributed under the terms of the MIT License.
4 */
5#ifndef _PACKAGE__PRIVATE__ACTIVATE_REPOSITORY_CACHE_JOB_H_
6#define _PACKAGE__PRIVATE__ACTIVATE_REPOSITORY_CACHE_JOB_H_
7
8
9#include <Directory.h>
10#include <Entry.h>
11#include <String.h>
12
13#include <package/Job.h>
14
15
16namespace BPackageKit {
17
18namespace BPrivate {
19
20
21class ActivateRepositoryCacheJob : public BJob {
22	typedef	BJob				inherited;
23
24public:
25								ActivateRepositoryCacheJob(
26									const BContext& context,
27									const BString& title,
28									const BEntry& fetchedRepoCacheEntry,
29									const BString& repositoryName,
30									const BDirectory& targetDirectory);
31	virtual						~ActivateRepositoryCacheJob();
32
33protected:
34	virtual	status_t			Execute();
35
36private:
37			BEntry				fFetchedRepoCacheEntry;
38			BString				fRepositoryName;
39			BDirectory			fTargetDirectory;
40};
41
42
43}	// namespace BPrivate
44
45}	// namespace BPackageKit
46
47
48#endif // _PACKAGE__PRIVATE__ACTIVATE_REPOSITORY_CACHE_JOB_H_
49