1*733c783dSOliver Tappe /* 2*733c783dSOliver Tappe * Copyright 2011, Oliver Tappe <zooey@hirschkaefer.de> 3*733c783dSOliver Tappe * Distributed under the terms of the MIT License. 4*733c783dSOliver Tappe */ 5*733c783dSOliver Tappe #ifndef _PACKAGE__PRIVATE__REMOVE_REPOSITORY_JOB_H_ 6*733c783dSOliver Tappe #define _PACKAGE__PRIVATE__REMOVE_REPOSITORY_JOB_H_ 7*733c783dSOliver Tappe 8*733c783dSOliver Tappe 9*733c783dSOliver Tappe #include <String.h> 10*733c783dSOliver Tappe 11*733c783dSOliver Tappe #include <package/Job.h> 12*733c783dSOliver Tappe 13*733c783dSOliver Tappe 14*733c783dSOliver Tappe namespace BPackageKit { 15*733c783dSOliver Tappe 16*733c783dSOliver Tappe namespace BPrivate { 17*733c783dSOliver Tappe 18*733c783dSOliver Tappe 19*733c783dSOliver Tappe class RemoveRepositoryJob : public BJob { 20*733c783dSOliver Tappe typedef BJob inherited; 21*733c783dSOliver Tappe 22*733c783dSOliver Tappe public: 23*733c783dSOliver Tappe RemoveRepositoryJob( 24*733c783dSOliver Tappe const BContext& context, 25*733c783dSOliver Tappe const BString& title, 26*733c783dSOliver Tappe const BString& repositoryName); 27*733c783dSOliver Tappe virtual ~RemoveRepositoryJob(); 28*733c783dSOliver Tappe 29*733c783dSOliver Tappe protected: 30*733c783dSOliver Tappe virtual status_t Execute(); 31*733c783dSOliver Tappe 32*733c783dSOliver Tappe private: 33*733c783dSOliver Tappe BString fRepositoryName; 34*733c783dSOliver Tappe }; 35*733c783dSOliver Tappe 36*733c783dSOliver Tappe 37*733c783dSOliver Tappe } // namespace BPrivate 38*733c783dSOliver Tappe 39*733c783dSOliver Tappe } // namespace BPackageKit 40*733c783dSOliver Tappe 41*733c783dSOliver Tappe 42*733c783dSOliver Tappe #endif // _PACKAGE__PRIVATE__REMOVE_REPOSITORY_JOB_H_ 43