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 14 namespace BPackageKit { 15 16 namespace BPrivate { 17 18 19 class RemoveRepositoryJob : public BJob { 20 typedef BJob inherited; 21 22 public: 23 RemoveRepositoryJob( 24 const BContext& context, 25 const BString& title, 26 const BString& repositoryName); 27 virtual ~RemoveRepositoryJob(); 28 29 protected: 30 virtual status_t Execute(); 31 32 private: 33 BString fRepositoryName; 34 }; 35 36 37 } // namespace BPrivate 38 39 } // namespace BPackageKit 40 41 42 #endif // _PACKAGE__PRIVATE__REMOVE_REPOSITORY_JOB_H_ 43