libzypp  17.28.0
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
zypp::repo::SrcPackageProvider::~SrcPackageProvider
~SrcPackageProvider()
Dtor.
Definition: SrcPackageProvider.cc:33
ResTraits.h
zypp::repo::SrcPackageProvider::_access
RepoMediaAccess & _access
Definition: SrcPackageProvider.h:51
zypp::base::NonCopyable
boost::noncopyable NonCopyable
Ensure derived classes cannot be copied.
Definition: NonCopyable.h:26
RepoProvideFile.h
zypp::repo::SrcPackageProvider
Definition: SrcPackageProvider.h:39
zypp
Easy-to use interface to the ZYPP dependency resolver.
Definition: CodePitfalls.doc:2
zypp::repo::SrcPackageProvider::provideSrcPackage
ManagedFile provideSrcPackage(const SrcPackage_constPtr &srcPackage_r) const
Provide SrcPackage in a local file.
Definition: SrcPackageProvider.cc:36
zypp::repo::RepoMediaAccess
Provides files from different repos.
Definition: RepoProvideFile.h:61
zypp::AutoDispose
Reference counted access to a Tp object calling a custom Dispose function when the last AutoDispose h...
Definition: AutoDispose.h:93
zypp::repo::SrcPackageProvider::SrcPackageProvider
SrcPackageProvider(repo::RepoMediaAccess &access_r)
Ctor.
Definition: SrcPackageProvider.cc:29