2 * Copyright 2013, Haiku, Inc. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
5 #ifndef _PACKAGE__DOWNLOAD_FILE_REQUEST_H_
6 #define _PACKAGE__DOWNLOAD_FILE_REQUEST_H_
12 #include <package/Context.h>
13 #include <package/Request.h>
16 namespace BPackageKit
{
19 class DownloadFileRequest
: public BRequest
{
20 typedef BRequest inherited
;
23 DownloadFileRequest(const BContext
& context
,
24 const BString
& fileURL
,
25 const BEntry
& targetEntry
,
26 const BString
& checksum
= BString());
27 virtual ~DownloadFileRequest();
29 virtual status_t
CreateInitialJobs();
38 } // namespace BPackageKit
41 #endif // _PACKAGE__DOWNLOAD_FILE_REQUEST_H_