17#include <zypp/base/NonCopyable.h>
18#include <zypp/base/PtrTypes.h>
22#include <zypp/ManagedFile.h>
28#include <zypp/Resolver.h>
64 typedef ::boost::shared_ptr<ZYpp>
Ptr;
65 typedef ::boost::shared_ptr<const ZYpp>
constPtr;
156 friend void ::boost::checked_delete<ZYpp>(
ZYpp*) BOOST_NOEXCEPT;
Provides API related macros.
std::set< MountPoint > MountPointSet
ResPool::instance().proxy();.
Options and policies for ZYpp::commit.
Result returned from ZYpp::commit.
ZYpp factory class (Singleton)
Pathname homePath() const
Get the path where zypp related plugins store persistent data and caches
KeyRing_Ptr keyRing() const
ZYppCommitResult CommitResult
ZYppCommitResult commit(const ZYppCommitPolicy &policy_r)
Commit changes and transactions.
Resolver_Ptr resolver() const
shared_ptr< Impl > Impl_Ptr
zypp_detail::ZYppImpl Impl
RW_pointer< Impl > _pimpl
Pointer to implementation.
DiskUsageCounter::MountPointSet diskUsage()
void setPartitions(const DiskUsageCounter::MountPointSet &mp)
Pathname tmpPath() const
Get the path where zypp related plugins store temp data
DiskUsageCounter::MountPointSet getPartitions() const
void setHomePath(const Pathname &path)
set the home, if you need to change it
ResPool pool() const
Access to the global resolvable pool.
void installSrcPackage(const SrcPackage_constPtr &srcPackage_r)
Install a source package on the Target.
::boost::shared_ptr< const ZYpp > constPtr
Target_Ptr target() const
Target_Ptr getTarget() const
Same as target but returns NULL if target is not initialized, instead of throwing.
ResPoolProxy poolProxy() const
Pool of ui::Selectable.
ManagedFile provideSrcPackage(const SrcPackage_constPtr &srcPackage_r)
Provides a source package on the Target.
::boost::shared_ptr< ZYpp > Ptr
void initializeTarget(const Pathname &root, bool doRebuild_r=false)
friend std::ostream & operator<<(std::ostream &str, const ZYpp &obj)
String related utilities and Regular expression matching.
boost::noncopyable NonCopyable
Ensure derived classes cannot be copied.
Easy-to use interface to the ZYPP dependency resolver.
Wrapper for const correct access via Smart pointer types.