libzypp  17.36.7
PurgeKernels.h
Go to the documentation of this file.
1 /*---------------------------------------------------------------------\
2 | ____ _ __ __ ___ |
3 | |__ / \ / / . \ . \ |
4 | / / \ V /| _/ _/ |
5 | / /__ | | | | | | |
6 | /_____||_| |_| |_| |
7 | |
8 \---------------------------------------------------------------------*/
13 #include <zypp/Globals.h>
14 #include <zypp/PoolItem.h>
15 #include <zypp/base/PtrTypes.h>
16 
17 namespace zypp {
18 
19  namespace str {
20  class regex;
21  }
22 
28  {
29  public:
30  PurgeKernels();
31 
32 
37  void markObsoleteKernels();
38 
43  void setUnameR( const std::string &val );
44  std::string unameR() const;
45 
46 
51  void setKernelArch( const zypp::Arch &arch );
52  Arch kernelArch() const;
53 
64  void setKeepSpec( const std::string &val );
65  std::string keepSpec () const;
66 
67  struct Impl;
68  private:
70  };
71 
72 }
73 
Regular expression.
Definition: Regex.h:94
Architecture.
Definition: Arch.h:36
String related utilities and Regular expression matching.
RW_pointer< Impl > _pimpl
Definition: PurgeKernels.h:67
const Arch Arch_armv7hnl Arch_armv7nhl ZYPP_API
Definition: ResTraits.h:93
Easy-to use interface to the ZYPP dependency resolver.
Definition: Application.cc:19