libzypp  17.25.1
VendorSupportOptions.cc
Go to the documentation of this file.
1 
3 #include <zypp/base/Gettext.h>
4 
5 namespace zypp
6 {
7 
8 std::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;
28  case VendorSupportACC:
29  return _("Additional Customer Contract Necessary");
30  }
31  return _("invalid");
32 }
33 
35 {
36  switch (opt)
37  {
39  return _("The level of support is unspecified");
40  break;
42  return _("The vendor does not provide support.");
43  break;
45  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.");
46  break;
48  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.");
49  break;
51  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.");
52  break;
53  case VendorSupportACC:
54  return _("An additional customer contract is necessary for getting support.");
55  }
56  return _("Unknown support option. Description not available");
57 }
58 
59 }
60 
61 
VendorSupportOptions.h
zypp::VendorSupportLevel2
Problem isolation, which means technical support designed to duplicate customer problems,...
Definition: VendorSupportOptions.h:52
zypp::asUserString
std::string asUserString(const Tp &val_r)
Request a human readable (translated) string representation of Tp [Tp.asUserString()] Classes may imp...
Definition: String.h:40
zypp::VendorSupportACC
Additional Customer Contract necessary.
Definition: VendorSupportOptions.h:34
zypp::VendorSupportUnknown
The support for this package is unknown.
Definition: VendorSupportOptions.h:26
zypp::asUserStringDescription
std::string asUserStringDescription(VendorSupportOption opt)
converts the support option to a description intended to be printed to the user.
Definition: VendorSupportOptions.cc:34
_
#define _(MSG)
Definition: Gettext.h:37
zypp
Easy-to use interface to the ZYPP dependency resolver.
Definition: CodePitfalls.doc:1
zypp::VendorSupportLevel3
Problem resolution, which means technical support designed to resolve complex problems by engaging en...
Definition: VendorSupportOptions.h:60
zypp::VendorSupportUnsupported
The package is known to be unsupported by the vendor.
Definition: VendorSupportOptions.h:30
zypp::VendorSupportLevel1
Problem determination, which means technical support designed to provide compatibility information,...
Definition: VendorSupportOptions.h:44
Gettext.h
zypp::VendorSupportOption
VendorSupportOption
Definition: VendorSupportOptions.h:21