Back to index

lightning-sunbird  0.9+nobinonly
nsImapStringBundle.h
Go to the documentation of this file.
00001 /* ***** BEGIN LICENSE BLOCK *****
00002  * Version: MPL 1.1/GPL 2.0/LGPL 2.1
00003  *
00004  * The contents of this file are subject to the Mozilla Public License Version
00005  * 1.1 (the "License"); you may not use this file except in compliance with
00006  * the License. You may obtain a copy of the License at
00007  * http://www.mozilla.org/MPL/
00008  *
00009  * Software distributed under the License is distributed on an "AS IS" basis,
00010  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
00011  * for the specific language governing rights and limitations under the
00012  * License.
00013  *
00014  * The Original Code is mozilla.org code.
00015  *
00016  * The Initial Developer of the Original Code is
00017  * Netscape Communications Corporation.
00018  * Portions created by the Initial Developer are Copyright (C) 1998
00019  * the Initial Developer. All Rights Reserved.
00020  *
00021  * Contributor(s):
00022  *   Lorenzo Colitti <lorenzo@colitti.com>
00023  *
00024  * Alternatively, the contents of this file may be used under the terms of
00025  * either of the GNU General Public License Version 2 or later (the "GPL"),
00026  * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
00027  * in which case the provisions of the GPL or the LGPL are applicable instead
00028  * of those above. If you wish to allow use of your version of this file only
00029  * under the terms of either the GPL or the LGPL, and not to allow others to
00030  * use your version of this file under the terms of the MPL, indicate your
00031  * decision by deleting the provisions above and replace them with the notice
00032  * and other provisions required by the GPL or the LGPL. If you do not delete
00033  * the provisions above, a recipient may use your version of this file under
00034  * the terms of any one of the MPL, the GPL or the LGPL.
00035  *
00036  * ***** END LICENSE BLOCK ***** */
00037 
00038 #ifndef _nsImapStringBundle_H__
00039 #define _nsImapStringBundle_H__
00040 
00041 #include "nsIStringBundle.h"
00042 
00043 PR_BEGIN_EXTERN_C
00044 
00045 nsresult      IMAPGetStringByID(PRInt32 stringID, PRUnichar **aString);
00046 nsresult      IMAPGetStringBundle(nsIStringBundle **aBundle);
00047 
00048 PR_END_EXTERN_C
00049 
00050 
00051 
00052 #define       IMAP_STATUS_SELECTING_MAILBOX                                  5000
00053 #define       IMAP_STATUS_CREATING_MAILBOX                                  5001
00054 #define       IMAP_STATUS_DELETING_MAILBOX                                  5002
00055 #define       IMAP_STATUS_RENAMING_MAILBOX                                  5003
00056 #define       IMAP_STATUS_LOOKING_FOR_MAILBOX                                  5004
00057 #define       IMAP_STATUS_SUBSCRIBE_TO_MAILBOX                                  5005
00058 #define       IMAP_STATUS_UNSUBSCRIBE_MAILBOX                                  5006
00059 #define       IMAP_STATUS_SEARCH_MAILBOX                                  5007
00060 #define       IMAP_STATUS_MSG_INFO                                  5008
00061 #define       IMAP_STATUS_CLOSE_MAILBOX                                  5009
00062 #define       IMAP_STATUS_EXPUNGING_MAILBOX                                  5010
00063 #define       IMAP_STATUS_LOGGING_OUT                                  5011
00064 #define       IMAP_STATUS_CHECK_COMPAT                                  5012
00065 #define       IMAP_STATUS_SENDING_LOGIN                                  5013
00066 #define       IMAP_STATUS_SENDING_AUTH_LOGIN                                  5014
00067 #define       IMAP_DOWNLOADING_MESSAGE                                  5015
00068 #define       IMAP_STATUS_GETTING_NAMESPACE                                  5020
00069 #define       IMAP_UPGRADE_NO_PERSONAL_NAMESPACE                                  5021
00070 #define       IMAP_UPGRADE_PROMPT_USER_2                                  5024
00071 #define       IMAP_UPGRADE_CUSTOM                                  5026
00072 #define       IMAP_UPGRADE_SUCCESSFUL                                  5028
00073 #define       IMAP_GETTING_ACL_FOR_FOLDER                                  5029
00074 #define       IMAP_GETTING_SERVER_INFO                                  5030
00075 #define       IMAP_GETTING_MAILBOX_INFO                                  5031
00076 #define       IMAP_EMPTY_MIME_PART                                  5032
00077 #define       IMAP_UNABLE_TO_SAVE_MESSAGE                                  5033
00078 #define       IMAP_NO_ONLINE_FOLDER                                  5034
00079 #define       IMAP_LOGIN_FAILED                                  5035
00080 #define       IMAP_RECEIVING_MESSAGE_HEADERS_OF                                  5036
00081 #define       IMAP_RECEIVING_MESSAGE_FLAGS_OF                                  5037
00082 #define       IMAP_DELETING_MESSAGES                                  5038
00083 #define       IMAP_DELETING_MESSAGE                   5039
00084 #define       IMAP_MOVING_MESSAGES_TO                 5040
00085 #define       IMAP_MOVING_MESSAGE_TO                  5041
00086 #define       IMAP_COPYING_MESSAGES_TO                5042
00087 #define       IMAP_COPYING_MESSAGE_TO                 5043
00088 #define       IMAP_SELECTING_MAILBOX                  5044
00089 #define IMAP_FOLDER_RECEIVING_MESSAGE_OF  5045
00090 #define IMAP_DISCOVERING_MAILBOX          5046
00091 #define IMAP_ENTER_PASSWORD_PROMPT        5047
00092 #define IMAP_SERVER_NOT_IMAP4                    5048
00093 #define IMAP_SERVER_SAID                  5049
00094 #define IMAP_DONE                         5050
00095 #define IMAP_ENTER_PASSWORD_PROMPT_TITLE  5051
00096 #define IMAP_UNKNOWN_HOST_ERROR                  5052
00097 #define IMAP_CONNECTION_REFUSED_ERROR               5053
00098 #define IMAP_NET_TIMEOUT_ERROR                      5054
00099 #define IMAP_MOVE_FOLDER_TO_TRASH                   5055
00100 #define IMAP_NO_NEW_MESSAGES                        5056
00101 #define IMAP_DEFAULT_ACCOUNT_NAME                   5057
00102 #define IMAP_DELETE_NO_TRASH                        5058
00103 #define IMAP_HTML_NO_CACHED_BODY_TITLE              5059
00104 #define IMAP_HTML_NO_CACHED_BODY_BODY               5060
00105 #define IMAP_EMPTY_TRASH_CONFIRM                    5061
00106 #define IMAP_PERSONAL_FILING_CABINET                5062
00107 #define IMAP_PFC_READ_MAIL                          5063
00108 #define IMAP_PFC_SENT_MAIL                          5064
00109 #define IMAP_SPECIAL_CHAR                           5065
00110 #define IMAP_PERSONAL_SHARED_FOLDER_TYPE_NAME       5066
00111 #define IMAP_PUBLIC_FOLDER_TYPE_NAME                5067
00112 #define IMAP_OTHER_USERS_FOLDER_TYPE_NAME           5068
00113 #define IMAP_PERSONAL_FOLDER_TYPE_DESCRIPTION       5069
00114 #define IMAP_PERSONAL_SHARED_FOLDER_TYPE_DESCRIPTION 5070
00115 #define IMAP_PUBLIC_FOLDER_TYPE_DESCRIPTION         5071
00116 #define IMAP_OTHER_USERS_FOLDER_TYPE_DESCRIPTION    5072
00117 #define IMAP_ACL_FULL_RIGHTS                        5073
00118 #define IMAP_ACL_LOOKUP_RIGHT                       5074
00119 #define IMAP_ACL_READ_RIGHT                         5075
00120 #define IMAP_ACL_SEEN_RIGHT                         5076
00121 #define IMAP_ACL_WRITE_RIGHT                        5077
00122 #define IMAP_ACL_INSERT_RIGHT                       5078
00123 #define IMAP_ACL_POST_RIGHT                         5079
00124 #define IMAP_ACL_CREATE_RIGHT                       5080
00125 #define IMAP_ACL_DELETE_RIGHT                       5081
00126 #define IMAP_ACL_ADMINISTER_RIGHT                   5082
00127 #define IMAP_UNKNOWN_USER                           5083
00128 #define IMAP_SERVER_DOESNT_SUPPORT_ACL              5084
00129 #define IMAP_SERVER_DISCONNECTED                    5090
00130 #define IMAP_REDIRECT_LOGIN_FAILED                  5091
00131 #define IMAP_SUBSCRIBE_PROMPT                       5092
00132 #define IMAP_SERVER_DROPPED_CONNECTION              5093
00133 #define IMAP_QUOTA_STATUS_FOLDERNOTOPEN             5095
00134 #define IMAP_QUOTA_STATUS_NOTSUPPORTED              5096
00135 #define IMAP_QUOTA_STATUS_NOQUOTA                   5097
00136 #define       IMAP_OUT_OF_MEMORY                          5100
00137 #define IMAP_AUTH_SECURE_NOTSUPPORTED               5102
00138 #define IMAP_COPYING_MESSAGE_OF                     5103
00139 #define IMAP_LOGIN_DISABLED                         5104
00140 #endif /* _nsImapStringBundle_H__ */