2 * Copyright 2011, Oliver Tappe <zooey@hirschkaefer.de>
3 * Distributed under the terms of the MIT License.
5 #ifndef _PACKAGE__PRIVATE__ACTIVATE_REPOSITORY_CACHE_JOB_H_
6 #define _PACKAGE__PRIVATE__ACTIVATE_REPOSITORY_CACHE_JOB_H_
13 #include <package/Job.h>
16 namespace BPackageKit
{
21 class ActivateRepositoryCacheJob
: public BJob
{
22 typedef BJob inherited
;
25 ActivateRepositoryCacheJob(
26 const BContext
& context
,
28 const BEntry
& fetchedRepoCacheEntry
,
29 const BString
& repositoryName
,
30 const BDirectory
& targetDirectory
);
31 virtual ~ActivateRepositoryCacheJob();
34 virtual status_t
Execute();
37 BEntry fFetchedRepoCacheEntry
;
38 BString fRepositoryName
;
39 BDirectory fTargetDirectory
;
43 } // namespace BPrivate
45 } // namespace BPackageKit
48 #endif // _PACKAGE__PRIVATE__ACTIVATE_REPOSITORY_CACHE_JOB_H_