libzypp 17.37.17
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
18#include <zypp/base/PtrTypes.h>
19
21#include <zypp/ManagedFile.h>
22#include <zypp/ResTraits.h>
23
25namespace zypp
26{
28 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 };
53
54
56 } // namespace repo
59} // namespace zypp
61#endif // ZYPP_REPO_SRCPACKAGEPROVIDER_H
Provides files from different repos.
SrcPackageProvider(repo::RepoMediaAccess &access_r)
Ctor.
ManagedFile provideSrcPackage(const SrcPackage_constPtr &srcPackage_r) const
Provide SrcPackage in a local file.
boost::noncopyable NonCopyable
Ensure derived classes cannot be copied.
Definition NonCopyable.h:26
Easy-to use interface to the ZYPP dependency resolver.
AutoDispose< const Pathname > ManagedFile
A Pathname plus associated cleanup code to be executed when path is no longer needed.
Definition ManagedFile.h:27
const Arch Arch_armv7hnl Arch_armv7nhl ZYPP_API
Definition Arch.h:247