Restore the "GPL licensing not permitted" in GLUT license headers.
[haiku.git] / headers / os / package / DownloadFileRequest.h
blobcf42d53f28f7b606672a9ef79d55051b0f85f129
1 /*
2 * Copyright 2013, Haiku, Inc. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef _PACKAGE__DOWNLOAD_FILE_REQUEST_H_
6 #define _PACKAGE__DOWNLOAD_FILE_REQUEST_H_
9 #include <Entry.h>
10 #include <String.h>
12 #include <package/Context.h>
13 #include <package/Request.h>
16 namespace BPackageKit {
19 class DownloadFileRequest : public BRequest {
20 typedef BRequest inherited;
22 public:
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();
31 private:
32 BString fFileURL;
33 BEntry fTargetEntry;
34 BString fChecksum;
38 } // namespace BPackageKit
41 #endif // _PACKAGE__DOWNLOAD_FILE_REQUEST_H_