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