16#include <zypp/base/NonCopyable.h>
17#include <zypp/base/PtrTypes.h>
21#include <zypp/ManagedFile.h>
27#include <zypp/Resolver.h>
63 using Ptr = ::boost::shared_ptr<ZYpp>;
64 using constPtr = ::boost::shared_ptr<const ZYpp>;
Provides API related macros.
Reference counted access to a Tp object calling a custom Dispose function when the last AutoDispose h...
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 commit(const ZYppCommitPolicy &policy_r)
Commit changes and transactions.
Resolver_Ptr resolver() const
RW_pointer< Impl > _pimpl
Pointer to implementation.
::boost::shared_ptr< const ZYpp > constPtr
DiskUsageCounter::MountPointSet diskUsage()
static void clearShutdownSignal()
To be called from zypper code.
void setPartitions(const DiskUsageCounter::MountPointSet &mp)
shared_ptr< Impl > Impl_Ptr
Pathname tmpPath() const
Get the path where zypp related plugins store temp data
DiskUsageCounter::MountPointSet getPartitions() const
::boost::shared_ptr< ZYpp > Ptr
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.
ZYpp(const Impl_Ptr &impl_r)
Factory ctor.
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.
void initializeTarget(const Pathname &root, bool doRebuild_r=false)
friend std::ostream & operator<<(std::ostream &str, const ZYpp &obj)
static void setShutdownSignal()
To be called from zyppers signal handlers.
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.