libzypp  17.25.1
PurgeKernels.h
Go to the documentation of this file.
1 /*---------------------------------------------------------------------\
2 | ____ _ __ __ ___ |
3 | |__ / \ / / . \ . \ |
4 | / / \ V /| _/ _/ |
5 | / /__ | | | | | | |
6 | /_____||_| |_| |_| |
7 | |
8 \---------------------------------------------------------------------*/
13 #include <zypp/PoolItem.h>
14 #include <zypp/base/PtrTypes.h>
15 
16 namespace zypp {
17 
18  namespace str {
19  class regex;
20  }
21 
27  {
28  public:
29  PurgeKernels();
30 
31 
36  void markObsoleteKernels();
37 
42  void setUnameR( const std::string &val );
43  std::string unameR() const;
44 
45 
50  void setKernelArch( const zypp::Arch &arch );
51  Arch kernelArch() const;
52 
63  void setKeepSpec( const std::string &val );
64  std::string keepSpec () const;
65 
66  struct Impl;
67  private:
69  };
70 
71 }
72 
zypp::PurgeKernels::keepSpec
std::string keepSpec() const
Definition: PurgeKernels.cc:629
zypp::PurgeKernels::unameR
std::string unameR() const
Definition: PurgeKernels.cc:609
zypp::PurgeKernels::markObsoleteKernels
void markObsoleteKernels()
Definition: PurgeKernels.cc:423
PtrTypes.h
zypp::Arch
Architecture.
Definition: Arch.h:36
zypp::PurgeKernels::setUnameR
void setUnameR(const std::string &val)
Definition: PurgeKernels.cc:604
zypp::RW_pointer< Impl >
zypp::PurgeKernels
Definition: PurgeKernels.h:26
zypp::PurgeKernels::kernelArch
Arch kernelArch() const
Definition: PurgeKernels.cc:619
zypp
Easy-to use interface to the ZYPP dependency resolver.
Definition: CodePitfalls.doc:1
zypp::PurgeKernels::PurgeKernels
PurgeKernels()
Definition: PurgeKernels.cc:417
zypp::PurgeKernels::_pimpl
RW_pointer< Impl > _pimpl
Definition: PurgeKernels.h:66
zypp::PurgeKernels::setKeepSpec
void setKeepSpec(const std::string &val)
Definition: PurgeKernels.cc:624
zypp::PurgeKernels::Impl
Definition: PurgeKernels.cc:58
PoolItem.h
zypp::PurgeKernels::setKernelArch
void setKernelArch(const zypp::Arch &arch)
Definition: PurgeKernels.cc:614
str
String related utilities and Regular expression matching.