00001
00014 #ifndef __ERRORSDESCRIPTIONS_HPP__
00015 #define __ERRORSDESCRIPTIONS_HPP__
00016
00017 #ifdef __GNUC__
00018 NSString* errorsDescriptions[] = {
00019 @"Operation successfully completed.",
00020 @"Cannot establish connection to the server.",
00021 @"Server didn't send conformation greeting to the client after connection was established.",
00022 @"",
00023 @"",
00024 @"Connection was interrupted by user.",
00025 @"A network error occured.",
00026 @"Server rejected the command.",
00027 @"Server doesn't support the command.",
00028 @"Unexpected internal error.",
00029 @"",
00030 @"",
00031 @"",
00032 @"",
00033 @"",
00034 @"",
00035 @"",
00036 @"",
00037 @"",
00038 @"",
00039 @"",
00040 @"",
00041 @"",
00042 @"",
00043 @"",
00044 @"",
00045 @"",
00046 @"",
00047 @"Cannot switch into secured mode.",
00048 @"",
00049 @"Function parameter is invalid.",
00050 @"Invalid registration data.",
00051 @"The session is already connected to server.",
00052 @"The session is not connected to server.",
00053 @"",
00054 @"The field doesn't exist in message header.",
00055 @"",
00056 @"Connection is timed out.",
00057 @"",
00058 @"",
00059 @"Server address is invalid.",
00060 @"",
00061 @"The specified file cannot be found.",
00062 @"An error occured while reading or writing the specified file.",
00063 @"",
00064 @"",
00065 @"EmaiPop3MessageInfoListEvaluateSubList function should be called before trying to work with the sublist.",
00066 @"",
00067 @"",
00068 @"",
00069 @"Function which sends command on server was called from session callback.",
00070 @"Unknown or unsupported charset is used in message."
00071 };
00072 #else
00073 CString errorsDescriptions[] = {
00074 _T("Operation successfully completed."),
00075 _T("Cannot establish connection to the server."),
00076 _T("Server didn't send conformation greeting to the client after connection was established."),
00077 _T(""),
00078 _T(""),
00079 _T("Connection was interrupted by user."),
00080 _T("A network error occured."),
00081 _T("Server rejected the command."),
00082 _T("Server doesn't support the command."),
00083 _T("Unexpected internal error."),
00084 _T(""),
00085 _T(""),
00086 _T(""),
00087 _T(""),
00088 _T(""),
00089 _T(""),
00090 _T(""),
00091 _T(""),
00092 _T(""),
00093 _T(""),
00094 _T(""),
00095 _T(""),
00096 _T(""),
00097 _T(""),
00098 _T(""),
00099 _T(""),
00100 _T(""),
00101 _T(""),
00102 _T("Cannot switch into secured mode."),
00103 _T(""),
00104 _T("Function parameter is invalid."),
00105 _T("Invalid registration data."),
00106 _T("The session is already connected to server."),
00107 _T("The session is not connected to server."),
00108 _T(""),
00109 _T("The field doesn't exist in message header."),
00110 _T(""),
00111 _T("Connection is timed out."),
00112 _T(""),
00113 _T(""),
00114 _T("Server address is invalid."),
00115 _T(""),
00116 _T("The specified file cannot be found."),
00117 _T("An error occured while reading or writing the specified file."),
00118 _T(""),
00119 _T(""),
00120 _T("EmaiPop3MessageInfoListEvaluateSubList function should be called before trying to work with the sublist."),
00121 _T(""),
00122 _T(""),
00123 _T(""),
00124 _T("Function which sends command on server was called from session callback."),
00125 _T("Unknown or unsupported charset is used in message.")
00126 };
00127 #endif
00128
00129
00130 #endif