libzypp  17.24.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 
Architecture.
Definition: Arch.h:36
std::string unameR() const
String related utilities and Regular expression matching.
RW_pointer< Impl > _pimpl
Definition: PurgeKernels.h:66
void setUnameR(const std::string &val)
void setKernelArch(const zypp::Arch &arch)
std::string keepSpec() const
void setKeepSpec(const std::string &val)
Arch kernelArch() const
Easy-to use interface to the ZYPP dependency resolver.
Definition: CodePitfalls.doc:1