1 /* 2 * Copyright 2011, Haiku, Inc. 3 * Distributed under the terms of the MIT License. 4 */ 5 #ifndef _PACKAGE__DROP_REPOSITORY_REQUEST_H_ 6 #define _PACKAGE__DROP_REPOSITORY_REQUEST_H_ 7 8 9 #include <String.h> 10 11 #include <package/Context.h> 12 #include <package/Request.h> 13 14 15 namespace BPackageKit { 16 17 18 class DropRepositoryRequest : public BRequest { 19 typedef BRequest inherited; 20 21 public: 22 DropRepositoryRequest(const BContext& context, 23 const BString& repositoryName); 24 virtual ~DropRepositoryRequest(); 25 26 virtual status_t CreateInitialJobs(); 27 28 private: 29 BString fRepositoryName; 30 }; 31 32 33 } // namespace BPackageKit 34 35 36 #endif // _PACKAGE__ADD_REPOSITORY_REQUEST_H_ 37