libzypp  10.5.0
RpmFlags.h
Go to the documentation of this file.
00001 /*---------------------------------------------------------------------\
00002 |                          ____ _   __ __ ___                          |
00003 |                         |__  / \ / / . \ . \                         |
00004 |                           / / \ V /|  _/  _/                         |
00005 |                          / /__ | | | | | |                           |
00006 |                         /_____||_| |_| |_|                           |
00007 |                                                                      |
00008 \---------------------------------------------------------------------*/
00012 #ifndef ZYPP_TARGET_RPM_RPMFLAGS_H
00013 #define ZYPP_TARGET_RPM_RPMFLAGS_H
00014 
00015 #include <iosfwd>
00016 
00017 #include "zypp/base/Flags.h"
00018 
00020 namespace zypp
00021 { 
00022 
00023   namespace target
00024   { 
00025 
00026     namespace rpm
00027     { 
00028 
00037       enum RpmInstFlag
00038       {
00039         RPMINST_NONE       = 0x0000,
00040         RPMINST_EXCLUDEDOCS= 0x0001,
00041         RPMINST_NOSCRIPTS  = 0x0002,
00042         RPMINST_FORCE      = 0x0004,
00043         RPMINST_NODEPS     = 0x0008,
00044         RPMINST_IGNORESIZE = 0x0010,
00045         RPMINST_JUSTDB     = 0x0020,
00046         RPMINST_NODIGEST   = 0x0040,
00047         RPMINST_NOSIGNATURE= 0x0080,
00048         RPMINST_NOUPGRADE  = 0x0100,
00049         RPMINST_TEST       = 0x0200
00050       };
00051 
00053       ZYPP_DECLARE_FLAGS_AND_OPERATORS( RpmInstFlags, RpmInstFlag );
00054 
00056     } // namespace rpm
00059   } // namespace target
00062 } // namespace zypp
00064 #endif // ZYPP_TARGET_RPM_RPMFLAGS_H