libzypp
10.5.0
|
00001 /*---------------------------------------------------------------------\ 00002 | ____ _ __ __ ___ | 00003 | |__ / \ / / . \ . \ | 00004 | / / \ V /| _/ _/ | 00005 | / /__ | | | | | | | 00006 | /_____||_| |_| |_| | 00007 | | 00008 \---------------------------------------------------------------------*/ 00012 #ifndef ZYPP_VendorSupportOptions_H 00013 #define ZYPP_VendorSupportOptions_H 00014 00015 #include <string> 00016 #include "zypp/base/Flags.h" 00017 00018 namespace zypp 00019 { 00020 00021 enum VendorSupportOption 00022 { 00026 VendorSupportUnknown = 0, 00030 VendorSupportUnsupported = (1<<0), 00034 VendorSupportACC = (1<<1), 00044 VendorSupportLevel1 = (1<<2), 00052 VendorSupportLevel2 = (1<<3), 00060 VendorSupportLevel3 = (1<<4) 00061 }; 00062 00063 // Make a flag set for this 00064 ZYPP_DECLARE_FLAGS(VendorSupportOptions,VendorSupportOption); 00065 ZYPP_DECLARE_OPERATORS_FOR_FLAGS(VendorSupportOptions) 00066 00067 00074 std::string asUserString( VendorSupportOption ); 00075 00083 std::string asUserStringDescription( VendorSupportOption ); 00084 00085 } 00086 00087 #endif