libzypp  15.28.6
SrcPackageProvider.h
Go to the documentation of this file.
1 /*---------------------------------------------------------------------\
2 | ____ _ __ __ ___ |
3 | |__ / \ / / . \ . \ |
4 | / / \ V /| _/ _/ |
5 | / /__ | | | | | | |
6 | /_____||_| |_| |_| |
7 | |
8 \---------------------------------------------------------------------*/
12 #ifndef ZYPP_REPO_SRCPACKAGEPROVIDER_H
13 #define ZYPP_REPO_SRCPACKAGEPROVIDER_H
14 
15 #include <iosfwd>
16 
17 #include "zypp/base/NonCopyable.h"
18 #include "zypp/base/PtrTypes.h"
19 
21 #include "zypp/ManagedFile.h"
22 #include "zypp/ResTraits.h"
23 
25 namespace zypp
26 {
27  namespace repo
29  {
30 
31  class RepoMediaAccess;
32 
34  //
35  // CLASS NAME : SrcPackageProvider
36  //
39  {
40  public:
45 
46  public:
48  ManagedFile provideSrcPackage( const SrcPackage_constPtr & srcPackage_r ) const;
49 
50  private:
52  };
54 
56  } // namespace repo
59 } // namespace zypp
61 #endif // ZYPP_REPO_SRCPACKAGEPROVIDER_H
ManagedFile provideSrcPackage(const SrcPackage_constPtr &srcPackage_r) const
Provide SrcPackage in a local file.
SrcPackageProvider(repo::RepoMediaAccess &access_r)
Ctor.
boost::noncopyable NonCopyable
Ensure derived classes cannot be copied.
Definition: NonCopyable.h:26
Provides files from different repos.
Reference counted access to a Tp object calling a custom Dispose function when the last AutoDispose h...
Definition: AutoDispose.h:92