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