18 #include <zypp/APIConfig.h> 63 using Ptr = ::boost::shared_ptr<ZYpp>;
64 using constPtr = ::boost::shared_ptr<const ZYpp>;
166 friend void ::boost::checked_delete<ZYpp>(
ZYpp*) BOOST_NOEXCEPT;
177 #endif // ZYPP_ZYPP_H
Result returned from ZYpp::commit.
std::set< MountPoint > MountPointSet
ManagedFile provideSrcPackage(const SrcPackage_constPtr &srcPackage_r)
Provides a source package on the Target.
void installSrcPackage(const SrcPackage_constPtr &srcPackage_r)
Install a source package on the Target.
String related utilities and Regular expression matching.
Pathname tmpPath() const
Get the path where zypp related plugins store temp data.
ResPoolProxy poolProxy() const
Pool of ui::Selectable.
::boost::shared_ptr< ZYpp > Ptr
ZYpp(const Impl_Ptr &impl_r)
Factory ctor.
ResPool::instance().proxy();.
Pathname homePath() const
Get the path where zypp related plugins store persistent data and caches.
DiskUsageCounter::MountPointSet getPartitions() const
Target_Ptr target() const
void setPartitions(const DiskUsageCounter::MountPointSet &mp)
void setHomePath(const Pathname &path)
set the home, if you need to change it
Resolver_Ptr resolver() const
Options and policies for ZYpp::commit.
ZYppCommitResult commit(const ZYppCommitPolicy &policy_r)
Commit changes and transactions.
KeyRing_Ptr keyRing() const
static void clearShutdownSignal()
To be called from zypper code.
ZYpp factory class (Singleton)
ResPool pool() const
Access to the global resolvable pool.
static void setShutdownSignal()
To be called from zyppers signal handlers.
shared_ptr< Impl > Impl_Ptr
friend std::ostream & operator<<(std::ostream &str, const ZYpp &obj)
void initializeTarget(const Pathname &root, bool doRebuild_r=false)
RW_pointer< Impl > _pimpl
Pointer to implementation.
::boost::shared_ptr< const ZYpp > constPtr
Target_Ptr getTarget() const
Same as target but returns NULL if target is not initialized, instead of throwing.
Easy-to use interface to the ZYPP dependency resolver.
DiskUsageCounter::MountPointSet diskUsage()
boost::noncopyable NonCopyable
Ensure derived classes cannot be copied.