"Fossies" - the Fresh Open Source Software Archive 
Member "evolution-mapi-3.46.1/src/libexchangemapi/e-mapi-defs.h" (2 Dec 2022, 4158 Bytes) of package /linux/misc/evolution-mapi-3.46.1.tar.xz:
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style:
standard) with prefixed line numbers and
code folding option.
Alternatively you can here
view or
download the uninterpreted source code file.
For more information about "e-mapi-defs.h" see the
Fossies "Dox" file reference documentation.
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 /*
3 * This program is free software; you can redistribute it and/or
4 * modify it under the terms of the GNU Lesser General Public
5 * License as published by the Free Software Foundation; either
6 * version 2 of the License, or (at your option) version 3.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 * Lesser General Public License for more details.
12 *
13 * You should have received a copy of the GNU Lesser General Public
14 * License along with the program; if not, see <http://www.gnu.org/licenses/>
15 *
16 *
17 * Authors:
18 * Suman Manjunath <msuman@novell.com>
19 *
20 * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
21 *
22 */
23
24 /* Someday, all these definitions should be pushed in libmapi/mapidefs.h */
25 /* NOTE: Some of the enumerations are commented out since they conflict
26 * with libmapi/mapidefs.h */
27
28 #ifndef E_MAPI_DEFS_H
29 #define E_MAPI_DEFS_H
30
31 #include <glib.h>
32
33 G_BEGIN_DECLS
34
35 /* GENERAL */
36 typedef enum {
37 olSunday = 1,
38 olMonday = 2,
39 olTuesday = 4,
40 olWednesday = 8,
41 olThursday = 16,
42 olFriday = 32,
43 olSaturday = 64
44 } OlDaysOfWeek;
45
46 typedef enum {
47 olNormal = 0,
48 olPersonal = 1,
49 olPrivate = 2,
50 olConfidential = 3
51 } OlSensitivity;
52
53 typedef enum {
54 olImportanceLow = 0,
55 olImportanceNormal = 1,
56 olImportanceHigh = 2
57 } OlImportance;
58
59 typedef enum {
60 olOriginator = 0,
61 olTo = 1,
62 olCC = 2,
63 olBCC = 3
64 } OlMailRecipientType;
65
66 typedef enum {
67 SingleAppt = 0x0400 ,
68 RecurAppt = 0x0401 ,
69 SingleMeet = 0x0402 ,
70 RecurMeet = 0x0403 ,
71 MeetReq = 0x0404 ,
72 RespAccept = 0x0405 ,
73 RespDecline = 0x0406 ,
74 RespTentAccept = 0x0407 ,
75 MeetCancel = 0x0408 ,
76 MeetInfoUpdate = 0x0409
77 } IconIndex;
78
79 /* APPOINTMENTS */
80 typedef enum {
81 olOrganizer = 0,
82 olRequired = 1,
83 olOptional = 2,
84 olResource = 3
85 } OlMeetingRecipientType;
86
87 typedef enum {
88 olMeetingTentative = 2,
89 olMeetingAccepted = 3,
90 olMeetingDeclined = 4
91 } OlMeetingResponse;
92
93 typedef enum {
94 olResponseNone = 0,
95 olResponseOrganized = 1,
96 olResponseTentative = 2,
97 olResponseAccepted = 3,
98 olResponseDeclined = 4,
99 olResponseNotResponded = 5
100 } OlResponseStatus;
101
102 typedef enum {
103 mtgEmpty = 0x00000000,
104 mtgRequest = 0x00000001,
105 mtgFull = 0x00010000,
106 mtgInfo = 0x00020000,
107 mtgOutOfDate = 0x00080000,
108 mtgDelegatorCopy = 0x00100000
109 } MeetingType;
110
111 typedef enum {
112 olNonMeeting = 0,
113 olMeeting = 1,
114 olMeetingReceived = 3,
115 olMeetingCanceled = 5
116 } OlMeetingStatus;
117
118 typedef enum {
119 asfNone = 0,
120 asfMeeting = 1,
121 asfReceived = 2,
122 asfCanceled = 4
123 } AppointmentStateFlags;
124
125 typedef enum {
126 olNetMeeting = 0,
127 olNetShow = 1,
128 olChat = 2
129 } OlNetMeetingType;
130
131 /* TASKS */
132 typedef enum {
133 olTaskNotDelegated = 0,
134 olTaskDelegationUnknown = 1,
135 olTaskDelegationAccepted = 2,
136 olTaskDelegationDeclined = 3
137 } OlTaskDelegationState;
138
139 typedef enum {
140 olUpdate = 2,
141 olFinalStatus = 3
142 } OlTaskRecipientType;
143
144 typedef enum {
145 olTaskSimple = 0,
146 olTaskAssign = 1,
147 olTaskAccept = 2,
148 olTaskDecline = 3
149 } OlTaskResponse;
150
151 typedef enum {
152 olApptNotRecurring = 0,
153 olApptMaster = 1,
154 olApptOccurrence = 2,
155 olApptException = 3
156 } OlRecurrenceState;
157
158 #define IPM_CONTACT "IPM.Contact"
159 #define IPM_DISTLIST "IPM.DistList"
160 #define IPM_APPOINTMENT "IPM.Appointment"
161 #define IPM_SCHEDULE_MEETING_PREFIX "IPM.Schedule.Meeting."
162 #define IPM_SCHEDULE_MEETING_REQUEST "IPM.Schedule.Meeting.Request"
163 #define IPM_SCHEDULE_MEETING_CANCELED "IPM.Schedule.Meeting.Canceled"
164 #define IPM_SCHEDULE_MEETING_RESP_PREFIX "IPM.Schedule.Meeting.Resp."
165 #define IPM_SCHEDULE_MEETING_RESP_POS "IPM.Schedule.Meeting.Resp.Pos"
166 #define IPM_SCHEDULE_MEETING_RESP_TENT "IPM.Schedule.Meeting.Resp.Tent"
167 #define IPM_SCHEDULE_MEETING_RESP_NEG "IPM.Schedule.Meeting.Resp.Neg"
168 #define IPM_TASK "IPM.Task"
169 #define IPM_STICKYNOTE "IPM.StickyNote"
170
171 G_END_DECLS
172
173 #endif