Back to index

lightning-sunbird  0.9+nobinonly
calIWcapErrors.idl
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 Sun Microsystems code.
00015  *
00016  * The Initial Developer of the Original Code is
00017  *   Sun Microsystems, Inc.
00018  * Portions created by the Initial Developer are Copyright (C) 2007
00019  * the Initial Developer. All Rights Reserved.
00020  *
00021  * Contributor(s):
00022  *   Daniel Boelzle <daniel.boelzle@sun.com>
00023  *
00024  * Alternatively, the contents of this file may be used under the terms of
00025  * either the GNU General Public License Version 2 or later (the "GPL"), or
00026  * 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 #include "calIErrors.idl"
00039 
00042 [scriptable, uuid(2ADC008C-A7A6-4f9a-91C8-A99742B68F3D)]
00043 interface calIWcapErrors : calIErrors
00044 {
00045     const unsigned long WCAP_NO_ERRNO = WCAP_ERROR_BASE + 0;
00046 
00047     /* errno: */
00048     /*  1 */ const unsigned long WCAP_LOGIN_FAILED =
00049                  WCAP_ERROR_BASE + 1;
00050     /*  2 */ const unsigned long WCAP_LOGIN_OK_DEFAULT_CALENDAR_NOT_FOUND =
00051                  WCAP_ERROR_BASE + 2;
00052     /*  6 */ const unsigned long WCAP_DELETE_EVENTS_BY_ID_FAILED =
00053                  WCAP_ERROR_BASE + 6;
00054     /*  8 */ const unsigned long WCAP_SETCALPROPS_FAILED =
00055                  WCAP_ERROR_BASE + 8;
00056     /*  9 */ const unsigned long WCAP_FETCH_EVENTS_BY_ID_FAILED =
00057                  WCAP_ERROR_BASE + 9;
00058     /* 10 */ const unsigned long WCAP_CREATECALENDAR_FAILED =
00059                  WCAP_ERROR_BASE + 10;
00060     /* 11 */ const unsigned long WCAP_DELETECALENDAR_FAILED =
00061                  WCAP_ERROR_BASE + 11;
00062     /* 12 */ const unsigned long WCAP_ADDLINK_FAILED =
00063                  WCAP_ERROR_BASE + 12;
00064     /* 13 */ const unsigned long WCAP_FETCHBYDATERANGE_FAILED =
00065                  WCAP_ERROR_BASE + 13;
00066     /* 14 */ const unsigned long WCAP_STOREEVENTS_FAILED =
00067                  WCAP_ERROR_BASE + 14;
00068     /* 15 */ const unsigned long WCAP_STORETODOS_FAILED =
00069                  WCAP_ERROR_BASE + 15;
00070     /* 16 */ const unsigned long WCAP_DELETE_TODOS_BY_ID_FAILED =
00071                  WCAP_ERROR_BASE + 16;
00072     /* 17 */ const unsigned long WCAP_FETCH_TODOS_BY_ID_FAILED =
00073                  WCAP_ERROR_BASE + 17;
00074     /* 18 */ const unsigned long WCAP_FETCHCOMPONENTS_FAILED_BAD_TZID =
00075                  WCAP_ERROR_BASE + 18;
00076     /* 19 */ const unsigned long WCAP_SEARCH_CALPROPS_FAILED =
00077                  WCAP_ERROR_BASE + 19;
00078     /* 20 */ const unsigned long WCAP_GET_CALPROPS_FAILED =
00079                  WCAP_ERROR_BASE + 20;
00080     /* 21 */ const unsigned long WCAP_DELETECOMPONENTS_BY_RANGE_FAILED =
00081                  WCAP_ERROR_BASE + 21;
00082     /* 22 */ const unsigned long WCAP_DELETEEVENTS_BY_RANGE_FAILED =
00083                  WCAP_ERROR_BASE + 22;
00084     /* 23 */ const unsigned long WCAP_DELETETODOS_BY_RANGE_FAILED =
00085                  WCAP_ERROR_BASE + 23;
00086     /* 24 */ const unsigned long WCAP_GET_ALL_TIMEZONES_FAILED =
00087                  WCAP_ERROR_BASE + 24;
00088     /* 25 */ const unsigned long WCAP_CREATECALENDAR_ALREADY_EXISTS_FAILED =
00089                  WCAP_ERROR_BASE + 25;
00090     /* 26 */ const unsigned long WCAP_SET_USERPREFS_FAILED =
00091                  WCAP_ERROR_BASE + 26;
00092     /* 27 */ const unsigned long WCAP_CHANGE_PASSWORD_FAILED =
00093                  WCAP_ERROR_BASE + 27;
00094     /* 28 */ const unsigned long WCAP_ACCESS_DENIED_TO_CALENDAR =
00095                  WCAP_ERROR_BASE + 28;
00096     /* 29 */ const unsigned long WCAP_CALENDAR_DOES_NOT_EXIST =
00097                  WCAP_ERROR_BASE + 29;
00098     /* 30 */ const unsigned long WCAP_ILLEGAL_CALID_NAME =
00099                  WCAP_ERROR_BASE + 30;
00100     /* 31 */ const unsigned long WCAP_CANNOT_MODIFY_LINKED_EVENTS =
00101                  WCAP_ERROR_BASE + 31;
00102     /* 32 */ const unsigned long WCAP_CANNOT_MODIFY_LINKED_TODOS =
00103                  WCAP_ERROR_BASE + 32;
00104     /* 33 */ const unsigned long WCAP_CANNOT_SENT_EMAIL =
00105                  WCAP_ERROR_BASE + 33;
00106     /* 34 */ const unsigned long WCAP_CALENDAR_DISABLED =
00107                  WCAP_ERROR_BASE + 34;
00108     /* 35 */ const unsigned long WCAP_WRITE_IMPORT_FAILED =
00109                  WCAP_ERROR_BASE + 35;
00110     /* 36 */ const unsigned long WCAP_FETCH_BY_LAST_MODIFIED_FAILED =
00111                  WCAP_ERROR_BASE + 36;
00112     /* 37 */ const unsigned long WCAP_CAPI_NOT_SUPPORTED =
00113                  WCAP_ERROR_BASE + 37;
00114     /* 38 */ const unsigned long WCAP_CALID_NOT_SPECIFIED =
00115                  WCAP_ERROR_BASE + 38;
00116     /* 39 */ const unsigned long WCAP_GET_FREEBUSY_FAILED =
00117                  WCAP_ERROR_BASE + 39;
00118     /* 40 */ const unsigned long WCAP_STORE_FAILED_DOUBLE_BOOKED =
00119                  WCAP_ERROR_BASE + 40;
00120     /* 41 */ const unsigned long WCAP_FETCH_BY_ALARM_RANGE_FAILED =
00121                  WCAP_ERROR_BASE + 41;
00122     /* 42 */ const unsigned long WCAP_FETCH_BY_ATTENDEE_ERROR_FAILED =
00123                  WCAP_ERROR_BASE + 42;
00124     /* 43 */ const unsigned long WCAP_ATTENDEE_GROUP_EXPANSION_CLIPPED =
00125                  WCAP_ERROR_BASE + 43;
00126     /* 44 */ const unsigned long WCAP_USERPREFS_ACCESS_DENIED =
00127                  WCAP_ERROR_BASE + 44;
00128     /* 45 */ const unsigned long WCAP_NOT_ALLOWED_TO_REQUEST_PUBLISH =
00129                  WCAP_ERROR_BASE + 45;
00130     /* 46 */ const unsigned long WCAP_INSUFFICIENT_PARAMETERS =
00131                  WCAP_ERROR_BASE + 46;
00132     /* 47 */ const unsigned long WCAP_MUSTBEOWNER_OPERATION =
00133                  WCAP_ERROR_BASE + 47;
00134     /* 48 */ const unsigned long WCAP_DWP_CONNECTION_FAILED =
00135                  WCAP_ERROR_BASE + 48;
00136     /* 49 */ const unsigned long WCAP_DWP_MAX_CONNECTION_REACHED =
00137                  WCAP_ERROR_BASE + 49;
00138     /* 50 */ const unsigned long WCAP_DWP_CANNOT_RESOLVE_CALENDAR =
00139                  WCAP_ERROR_BASE + 50;
00140     /* 51 */ const unsigned long WCAP_DWP_BAD_DATA =
00141                  WCAP_ERROR_BASE + 51;
00142     /* 52 */ const unsigned long WCAP_BAD_COMMAND =
00143                  WCAP_ERROR_BASE + 52;
00144     /* 53 */ const unsigned long WCAP_NOT_FOUND =
00145                  WCAP_ERROR_BASE + 53;
00146     /* 54 */ const unsigned long WCAP_WRITE_IMPORT_CANT_EXPAND_CALID =
00147                  WCAP_ERROR_BASE + 54;
00148     /* 55 */ const unsigned long WCAP_GETTIME_FAILED =
00149                  WCAP_ERROR_BASE + 55;
00150     /* 56 */ const unsigned long WCAP_FETCH_DELETEDCOMPONENTS_FAILED =
00151                  WCAP_ERROR_BASE + 56;
00152     /* 57 */ const unsigned long WCAP_FETCH_DELETEDCOMPONENTS_PARTIAL_RESULT =
00153                  WCAP_ERROR_BASE + 57;
00154     /* 58 */ const unsigned long WCAP_WCAP_NO_SUCH_FORMAT =
00155                  WCAP_ERROR_BASE + 58;
00156     /* 59 */ const unsigned long WCAP_COMPONENT_NOT_FOUND =
00157                  WCAP_ERROR_BASE + 59;
00158     /* 60 */ const unsigned long WCAP_BAD_ARGUMENTS =
00159                  WCAP_ERROR_BASE + 60;
00160     /* 61 */ const unsigned long WCAP_GET_USERPREFS_FAILED =
00161                  WCAP_ERROR_BASE + 61;
00162     /* 62 */ const unsigned long WCAP_WCAP_MODIFY_NO_EVENT =
00163                  WCAP_ERROR_BASE + 62;
00164     /* 63 */ const unsigned long WCAP_WCAP_CREATE_EXISTS =
00165                  WCAP_ERROR_BASE + 63;
00166     /* 64 */ const unsigned long WCAP_WCAP_MODIFY_CANT_MAKE_COPY =
00167                  WCAP_ERROR_BASE + 64;
00168     /* 65 */ const unsigned long WCAP_STORE_FAILED_RECUR_SKIP =
00169                  WCAP_ERROR_BASE + 65;
00170     /* 66 */ const unsigned long WCAP_STORE_FAILED_RECUR_SAMEDAY =
00171                  WCAP_ERROR_BASE + 66;
00172     /* 67 */ const unsigned long WCAP_BAD_ORG_ARGUMENTS =
00173                  WCAP_ERROR_BASE + 67;
00174     /* 68 */ const unsigned long WCAP_STORE_FAILED_RECUR_PRIVACY =
00175                  WCAP_ERROR_BASE + 68;
00176     /* 69 */ const unsigned long WCAP_LDAP_ERROR =
00177                  WCAP_ERROR_BASE + 69;
00178     /* 70 */ const unsigned long WCAP_GET_INVITE_COUNT_FAILED =
00179                  WCAP_ERROR_BASE + 70;
00180     /* 71 */ const unsigned long WCAP_LIST_FAILED =
00181                  WCAP_ERROR_BASE + 71;
00182     /* 72 */ const unsigned long WCAP_LIST_SUBSCRIBED_FAILED =
00183                  WCAP_ERROR_BASE + 72;
00184     /* 73 */ const unsigned long WCAP_SUBSCRIBE_FAILED =
00185                  WCAP_ERROR_BASE + 73;
00186     /* 74 */ const unsigned long WCAP_UNSUBSCRIBE_FAILED =
00187                  WCAP_ERROR_BASE + 74;
00188     /* 75 */ const unsigned long WCAP_ANONYMOUS_NOT_ALLOWED =
00189                  WCAP_ERROR_BASE + 75;
00190     /* 76 */ const unsigned long WCAP_ACCESS_DENIED =
00191                  WCAP_ERROR_BASE + 76;
00192     /* 77 */ const unsigned long WCAP_BAD_IMPORT_ARGUMENTS =
00193                  WCAP_ERROR_BASE + 77;
00194     /* 78 */ const unsigned long WCAP_READONLY_DATABASE =
00195                  WCAP_ERROR_BASE + 78;
00196     /* 79 */ const unsigned long WCAP_ATTENDEE_NOT_ALLOWED_TO_REQUEST_ON_MODIFY=
00197                  WCAP_ERROR_BASE + 79;
00198     /* 80 */ const unsigned long WCAP_TRANSP_RESOURCE_NOT_ALLOWED =
00199                  WCAP_ERROR_BASE + 80;
00200     /* 81 */ const unsigned long WCAP_RECURRING_COMPONENT_NOT_FOUND =
00201                  WCAP_ERROR_BASE + 81;
00202 
00203     /* new by WCAP 4.0: */
00204     /* 82 */ const unsigned long WCAP_BAD_MIME_TYPE =
00205                  WCAP_ERROR_BASE + 82;
00206     /* 83 */ const unsigned long WCAP_MISSING_BOUNDARY =
00207                  WCAP_ERROR_BASE + 83;
00208     /* 84 */ const unsigned long WCAP_INVALID_ATTACHMENT =
00209                  WCAP_ERROR_BASE + 84;
00210     /* 85 */ const unsigned long WCAP_ATTACH_DELETE_SUCCESS =
00211                  WCAP_ERROR_BASE + 85;
00212     /* 86 */ const unsigned long WCAP_ATTACH_DELETE_PARTIAL =
00213                  WCAP_ERROR_BASE + 86;
00214     /* 87 */ const unsigned long WCAP_ATTACHMENT_NOT_FOUND =
00215                  WCAP_ERROR_BASE + 87;
00216     /* / new by WCAP 4.0 */
00217 
00218     /* 11000 */ const unsigned long WCAP_CDWP_ERR_MAX_CONNECTION_REACHED =
00219                     WCAP_ERROR_BASE + 100;
00220     /* 11001 */ const unsigned long WCAP_CDWP_ERR_CANNOT_CONNECT =
00221                     WCAP_ERROR_BASE + 101;
00222     /* 11002 */ const unsigned long WCAP_CDWP_ERR_CANNOT_RESOLVE_CALENDAR =
00223                     WCAP_ERROR_BASE + 102;
00224     /* 11003 */ const unsigned long WCAP_CDWP_ERR_BAD_DATA =
00225                     WCAP_ERROR_BASE + 103;
00226     /* 11004 */ const unsigned long WCAP_CDWP_ERR_DWPHOST_CTX_DOES_NOT_EXIST =
00227                     WCAP_ERROR_BASE + 104;
00228     /* 11005 */ const unsigned long WCAP_CDWP_ERR_HOSTNAME_NOT_RESOLVABLE =
00229                     WCAP_ERROR_BASE + 105;
00230     /* 11006 */ const unsigned long WCAP_CDWP_ERR_NO_DATA =
00231                     WCAP_ERROR_BASE + 106;
00232     /* 11007 */ const unsigned long WCAP_CDWP_ERR_AUTH_FAILED =
00233                     WCAP_ERROR_BASE + 107;
00234     /* 11008 */ const unsigned long WCAP_CDWP_ERR_CHECKVERSION_FAILED =
00235                     WCAP_ERROR_BASE + 108;
00236 };
00237