helix-errors.cpp

来自「Amarok是一款在LINUX或其他类UNIX操作系统中运行的音频播放器软件。 」· C++ 代码 · 共 458 行 · 第 1/2 页

CPP
458
字号
   {0x0004026a, i18n("End Of Stream")},   {0x0004026b, i18n("Jobfile Incomplete")},   {0x0004026c, i18n("Nothing To Serialize")},   {0x8004026d, i18n("Sizenotset")},   {0x8004026e, i18n("Already Committed")},   {0x8004026f, i18n("Buffers Outstanding")},   {0x80040270, i18n("Not Committed")},   {0x80040271, i18n("Sample Time Not Set")},   {0x80040272, i18n("Timeout")},   {0x80040273, i18n("Wrongstate")},   {0x800403c1, i18n("Remote Usage Error")},   {0x800403c2, i18n("Remote Invalid Endtime")},   {0x800403c3, i18n("Remote Missing Input File")},   {0x800403c4, i18n("Remote Missing Output File")},   {0x800403c5, i18n("Remote Input Equals Output File")},   {0x800403c6, i18n("Remote Unsupported Audio Version")},   {0x800403c7, i18n("Remote Different Audio")},   {0x800403c8, i18n("Remote Different Video")},   {0x800403c9, i18n("Remote Paste Missing Stream")},   {0x800403ca, i18n("Remote End Of Stream")},   {0x800403cb, i18n("Remote Image Map Parse Error")},   {0x800403cc, i18n("Remote Invalid Imagemap File")},   {0x800403cd, i18n("Remote Event Parse Error")},   {0x800403ce, i18n("Remote Invalid Event File")},   {0x800403cf, i18n("Remote Invalid Output File")},   {0x800403d0, i18n("Remote Invalid Duration")},   {0x800403d1, i18n("Remote No Dump Files")},   {0x800403d2, i18n("Remote No Event Dump File")},   {0x800403d3, i18n("Remote No Imap Dump File")},   {0x800403d4, i18n("Remote No Data")},   {0x800403d5, i18n("Remote Empty Stream")},   {0x800403d6, i18n("Remote Read Only File")},   {0x800403d7, i18n("Remote Paste Missing Audio Stream")},   {0x800403d8, i18n("Remote Paste Missing Video Stream")},   {0x800403d9, i18n("Remote Encrypted Content")},   {0x80040281, i18n("Property Not Found")},   {0x80040282, i18n("Property Not Composite")},   {0x80040283, i18n("Property Duplicate")},   {0x80040284, i18n("Property Type Mismatch")},   {0x80040285, i18n("Property Active")},   {0x80040286, i18n("Property Inactive")},   {0x80040287, i18n("Property Value Underflow")},   {0x80040288, i18n("Property Value Overflow")},   {0x80040289, i18n("Property Value less than Lower bound")},   {0x8004028a, i18n("Property Value greater than Upper bound")},   {0x0004028b, i18n("Property Delete Pending")},   {0x800401c1, i18n("Could not initialize core")},   {0x800401c2, i18n("Perfectplay Not Supported")},   {0x800401c3, i18n("No Live Perfectplay")},   {0x800401c4, i18n("Perfectplay Not Allowed")},   {0x800401c5, i18n("No Codecs")},   {0x800401c6, i18n("Slow Machine")},   {0x800401c7, i18n("Force Perfectplay")},   {0x800401c8, i18n("Invalid Http Proxy Host")},   {0x800401c9, i18n("Invalid Metafile")},   {0x800401ca, i18n("Browser Launch")},   {0x800401cb, i18n("View Source Noclip")},   {0x800401cc, i18n("View Source Disabled")},   {0x800401ce, i18n("Timeline Suspended")},   {0x800401cf, i18n("Buffer Not Available")},   {0x800401d0, i18n("Could Not Display")},   {0x800401d1, i18n("Vsrc Disabled")},   {0x800401d2, i18n("Vsrc Noclip")},   {0x80040301, i18n("Resource Not Cached")},   {0x80040302, i18n("Resource Not Found")},   {0x80040303, i18n("Resource Close File First")},   {0x80040304, i18n("Resource Nodata")},   {0x80040305, i18n("Resource Badfile")},   {0x80040306, i18n("Resource Partialcopy")},   {0x800402c0, i18n("PayPerView No User")},   {0x800402c1, i18n("PayPerView Guid Read Only")},   {0x800402c2, i18n("PayPerView Guid Collision")},   {0x800402c3, i18n("Register Guid Exists")},   {0x800402c4, i18n("PayPerView Authorization Failed")},   {0x800402c5, i18n("PayPerView Old Player")},   {0x800402c6, i18n("PayPerView Account Locked")},   {0x800402c8, i18n("Xr PayPerView Protocol Ignores")},   {0x800402c9, i18n("PayPerView User Already Exists")},   {0x80040340, i18n("Upg Auth Failed")},   {0x80040341, i18n("Upg Cert Auth Failed")},   {0x80040342, i18n("Upg Cert Expired")},   {0x80040343, i18n("Upg Cert Revoked")},   {0x80040344, i18n("Upg Rup Bad")},   {0x80040345, i18n("Upg System Busy")},   {0x80041800, i18n("Autocfg Success")},   {0x80041901, i18n("No Error")},   {0x80041902, i18n("Invalid Version")},   {0x80041903, i18n("Invalid Format")},   {0x80041904, i18n("Invalid Bandwidth")},   {0x80041905, i18n("Invalid Path")},   {0x80041906, i18n("Unknown Path")},   {0x80041907, i18n("Invalid Protocol")},   {0x80041908, i18n("Invalid Player Addr")},   {0x80041909, i18n("Local Streams Prohibited")},   {0x8004190a, i18n("Server Full")},   {0x8004190b, i18n("Remote Streams Prohibited")},   {0x8004190c, i18n("Event Streams Prohibited")},   {0x8004190d, i18n("Invalid Host")},   {0x8004190e, i18n("No Codec")},   {0x8004190f, i18n("Livefile Invalid Bwn")},   {0x80041910, i18n("Unable To Fulfill")},   {0x80041911, i18n("Multicast Delivery Only")},   {0x80041912, i18n("License Exceeded")},   {0x80041913, i18n("License Unavailable")},   {0x80041914, i18n("Invalid Loss Correction")},   {0x80041915, i18n("Protocol Failure")},   {0x80041916, i18n("Realvideo Streams Prohibited")},   {0x80041917, i18n("Realaudio Streams Prohibited")},   {0x80041918, i18n("Datatype Unsupported")},   {0x80041919, i18n("Datatype Unlicensed")},   {0x8004191a, i18n("Restricted Player")},   {0x8004191b, i18n("Stream Initializing")},   {0x8004191c, i18n("Invalid Player")},   {0x8004191d, i18n("Player Plus Only")},   {0x8004191e, i18n("No Embedded Players")},   {0x8004191f, i18n("Pna Prohibited")},   {0x80041920, i18n("Authentication Unsupported")},   {0x80041921, i18n("Max Failed Authentications")},   {0x80041922, i18n("Authentication Access Denied")},   {0x80041923, i18n("Authentication Uuid Read Only")},   {0x80041924, i18n("Authentication Uuid Not Unique")},   {0x80041925, i18n("Authentication No Such User")},   {0x80041926, i18n("Authentication Registration Succeeded")},   {0x80041927, i18n("Authentication Registration Failed")},   {0x80041928, i18n("Authentication Registration Guid Required")},   {0x80041929, i18n("Authentication Unregistered Player")},   {0x8004192a, i18n("Authentication Time Expired")},   {0x8004192b, i18n("Authentication No Time Left")},   {0x8004192c, i18n("Authentication Account Locked")},   {0x8004192d, i18n("Authentication Invalid Server Cfg")},   {0x8004192e, i18n("No Mobile Download")},   {0x8004192f, i18n("No More Multi Addr")},   {0x80041930, i18n("Proxy Max Connections")},   {0x80041931, i18n("Proxy Max Gw Bandwidth")},   {0x80041932, i18n("Proxy Max Bandwidth")},   {0x80041933, i18n("Bad Loadtest Password")},   {0x80041934, i18n("Pna Not Supported")},   {0x80041935, i18n("Proxy Origin Disconnected")},   {0x80041936, i18n("Internal Error")},   {0x80041937, i18n("Max Value")},   {0x80040600, i18n("Socket Intr")},   {0x80040601, i18n("Socket Badf")},   {0x80040602, i18n("Socket Acces")},   {0x80040603, i18n("Socket Fault")},   {0x80040604, i18n("Socket Inval")},   {0x80040605, i18n("Socket Mfile")},   {0x80040606, i18n("Socket Wouldblock")},   {0x80040607, i18n("Socket Inprogress")},   {0x80040608, i18n("Socket Already")},   {0x80040609, i18n("Socket Notsock")},   {0x8004060a, i18n("Socket Destaddrreq")},   {0x8004060b, i18n("Socket Msgsize")},   {0x8004060c, i18n("Socket Prototype")},   {0x8004060d, i18n("Socket Noprotoopt")},   {0x8004060e, i18n("Socket Protonosupport")},   {0x8004060f, i18n("Socket Socktnosupport")},   {0x80040610, i18n("Socket Opnotsupp")},   {0x80040611, i18n("Socket Pfnosupport")},   {0x80040612, i18n("Socket Afnosupport")},   {0x80040613, i18n("Socket Addrinuse")},   {0x80040614, i18n("Socket Address Not Available")},   {0x80040615, i18n("Socket Net Down")},   {0x80040616, i18n("Socket Net Unreachable")},   {0x80040617, i18n("Socket Net Reset")},   {0x80040618, i18n("Socket Connection Aborted")},   {0x80040619, i18n("Socket Connection Reset")},   {0x8004061a, i18n("Socket No buffers")},   {0x8004061b, i18n("Socket Isconnected")},   {0x8004061c, i18n("Socket Notconn")},   {0x8004061d, i18n("Socket Shutdown")},   {0x8004061e, i18n("Socket Too Many References")},   {0x8004061f, i18n("Socket Timedout")},   {0x80040620, i18n("Socket Connection Refused")},   {0x80040621, i18n("Socket Loop")},   {0x80040622, i18n("Socket Name too long")},   {0x80040623, i18n("Socket Hostdown")},   {0x80040624, i18n("Socket Hostunreach")},   {0x80040625, i18n("Socket Pipe")},   {0x80040626, i18n("Socket Endstream")},   {0x00040627, i18n("Socket Buffered")},   {0x80040640, i18n("Resolve Noname")},   {0x80040641, i18n("Resolve Nodata")},   {0, 0}   };class HelixErrorsBase{public:   HelixErrorsBase();   ~HelixErrorsBase();   QString *errorText(unsigned long code);private:   std::map<unsigned long, QString *> m_errors;   int                                m_nerrors;};HelixErrorsBase *HelixErrors::m_base     = new HelixErrorsBase();QString *HelixErrors::errorText(unsigned long code){   return m_base->errorText(code);}HelixErrorsBase::HelixErrorsBase() : m_nerrors(0){   while (helixErrors[m_nerrors].code) m_nerrors++;   for (int i=0; i<m_nerrors; i++)      m_errors[helixErrors[i].code] = new QString(helixErrors[i].error_string);}HelixErrorsBase::~HelixErrorsBase(){   for (int i=0; i<m_nerrors; i++)      delete m_errors[helixErrors[i].code];}QString *HelixErrorsBase::errorText(unsigned long code){   if (m_errors.count(code))      return m_errors[code];   else      return 0;}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?