16 #include <zypp/base/NonCopyable.h> 17 #include <zypp/base/PtrTypes.h> 21 #include <zypp/ManagedFile.h> 27 #include <zypp/Resolver.h> 63 typedef ::boost::shared_ptr<ZYpp>
Ptr;
64 typedef ::boost::shared_ptr<const ZYpp>
constPtr;
166 friend void ::boost::checked_delete<ZYpp>(
ZYpp*) BOOST_NOEXCEPT;
177 #endif // ZYPP_ZYPP_H Result returned from ZYpp::commit.
ManagedFile provideSrcPackage(const SrcPackage_constPtr &srcPackage_r)
Provides a source package on the Target.
ZYppCommitResult CommitResult
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.
shared_ptr< Impl > Impl_Ptr
ResPoolProxy poolProxy() const
Pool of ui::Selectable.
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
zypp_detail::ZYppImpl Impl
Target_Ptr target() const
std::set< MountPoint > MountPointSet
void setPartitions(const DiskUsageCounter::MountPointSet &mp)
void setHomePath(const Pathname &path)
set the home, if you need to change it
boost::noncopyable NonCopyable
Ensure derived classes cannot be copied.
Resolver_Ptr resolver() const
Options and policies for ZYpp::commit.
Provides API related macros.
::boost::shared_ptr< ZYpp > Ptr
ZYppCommitResult commit(const ZYppCommitPolicy &policy_r)
Commit changes and transactions.
KeyRing_Ptr keyRing() const
static void clearShutdownSignal()
To be called from zypper code.
::boost::shared_ptr< const ZYpp > constPtr
ZYpp factory class (Singleton)
ResPool pool() const
Access to the global resolvable pool.
static void setShutdownSignal()
To be called from zyppers signal handlers.
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.
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()