libzypp 17.37.17
VendorSupportOptions.cc
Go to the documentation of this file.
1
3#include <zypp/base/Gettext.h>
4
5namespace zypp
6{
7
8std::string
10{
11 switch (opt)
12 {
14 return _("unknown");
15 break;
17 return _("unsupported");
18 break;
20 return _("Level 1");
21 break;
23 return _("Level 2");
24 break;
26 return _("Level 3");
27 break;
29 return _("Additional Customer Contract Necessary");
31 return _("Discontinued and superseded by a different package");
32 }
33 return _("invalid");
34}
35
37{
38 switch (opt)
39 {
41 return _("The level of support is unspecified");
42 break;
44 return _("The vendor does not provide support.");
45 break;
47 return _("Problem determination, which means technical support designed to provide compatibility information, installation assistance, usage support, on-going maintenance and basic troubleshooting. Level 1 Support is not intended to correct product defect errors.");
48 break;
50 return _("Problem isolation, which means technical support designed to duplicate customer problems, isolate problem area and provide resolution for problems not resolved by Level 1 Support.");
51 break;
53 return _("Problem resolution, which means technical support designed to resolve complex problems by engaging engineering in resolution of product defects which have been identified by Level 2 Support.");
54 break;
56 return _("An additional customer contract is necessary for getting support.");
58 return _("The package was discontinued and has been superseded by a new package with a different name.");
59 }
60 return _("Unknown support option. Description not available");
61}
62
63}
64
65
Easy-to use interface to the ZYPP dependency resolver.
std::string asUserStringDescription(VendorSupportOption opt)
converts the support option to a description intended to be printed to the user.
std::string asUserString(VendorSupportOption opt)
converts the support option to a name intended to be printed to the user.
@ VendorSupportACC
Additional Customer Contract necessary.
@ VendorSupportLevel3
Problem resolution, which means technical support designed to resolve complex problems by engaging en...
@ VendorSupportUnknown
The support for this package is unknown.
@ VendorSupportLevel1
Problem determination, which means technical support designed to provide compatibility information,...
@ VendorSupportSuperseded
The package was discontinued and has been superseded by a new package with a different name.
@ VendorSupportUnsupported
The package is known to be unsupported by the vendor.
@ VendorSupportLevel2
Problem isolation, which means technical support designed to duplicate customer problems,...
#define _(MSG)
Definition Gettext.h:39
Interface to gettext.