1 /* |
|
2 * gabble-media-session-enumtypes.c - Source for Gabble service discovery |
|
3 * |
|
4 * Copyright (C) 2006 Collabora Ltd. |
|
5 * |
|
6 * |
|
7 * This library is free software; you can redistribute it and/or |
|
8 * modify it under the terms of the GNU Lesser General Public |
|
9 * License as published by the Free Software Foundation; either |
|
10 * version 2.1 of the License, or (at your option) any later version. |
|
11 * |
|
12 * This library is distributed in the hope that it will be useful, |
|
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
15 * Lesser General Public License for more details. |
|
16 * |
|
17 * You should have received a copy of the GNU Lesser General Public |
|
18 * License along with this library; if not, write to the Free Software |
|
19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
|
20 * |
|
21 * |
|
22 */ |
|
23 /* Generated data (by glib-mkenums) */ |
|
24 //vinod: changed system path to local |
|
25 #include "gabble-media-session.h" |
|
26 |
|
27 #ifdef EMULATOR |
|
28 #include "libgabble_wsd_solution.h" |
|
29 |
|
30 GET_STATIC_VAR_FROM_TLS(etype,gabble_media_session_enum_types,GType) |
|
31 #define etype (*GET_WSD_VAR_NAME(etype,gabble_media_session_enum_types,s)()) |
|
32 |
|
33 GET_STATIC_VAR_FROM_TLS(etype1,gabble_media_session_enum_types,GType) |
|
34 #define etype1 (*GET_WSD_VAR_NAME(etype1,gabble_media_session_enum_types,s)()) |
|
35 |
|
36 GET_STATIC_VAR_FROM_TLS(etype2,gabble_media_session_enum_types,GType) |
|
37 #define etype2 (*GET_WSD_VAR_NAME(etype2,gabble_media_session_enum_types,s)()) |
|
38 |
|
39 #endif |
|
40 |
|
41 |
|
42 /* enumerations from "gabble-media-session.h" */ |
|
43 GType |
|
44 gabble_media_session_mode_get_type (void) |
|
45 { |
|
46 #ifndef EMULATOR |
|
47 static GType etype = 0; |
|
48 #endif |
|
49 |
|
50 if (etype == 0) { |
|
51 static const GEnumValue values[] = { |
|
52 { MODE_GOOGLE, "MODE_GOOGLE", "MODE_GOOGLE" }, |
|
53 { MODE_JINGLE, "MODE_JINGLE", "MODE_JINGLE" }, |
|
54 { 0, NULL, NULL } |
|
55 }; |
|
56 etype = g_enum_register_static ("GabbleMediaSessionMode", values); |
|
57 } |
|
58 return etype; |
|
59 } |
|
60 GType |
|
61 jingle_session_state_get_type (void) |
|
62 { |
|
63 #ifndef EMULATOR |
|
64 static GType etype1 = 0; |
|
65 #endif |
|
66 |
|
67 if (etype1 == 0) { |
|
68 static const GEnumValue values[] = { |
|
69 { JS_STATE_INVALID, "JS_STATE_INVALID", "JS_STATE_INVALID" }, |
|
70 { JS_STATE_PENDING_CREATED, "JS_STATE_PENDING_CREATED", "JS_STATE_PENDING_CREATED" }, |
|
71 { JS_STATE_PENDING_INITIATE_SENT, "JS_STATE_PENDING_INITIATE_SENT", "JS_STATE_PENDING_INITIATE_SENT" }, |
|
72 { JS_STATE_PENDING_INITIATED, "JS_STATE_PENDING_INITIATED", "JS_STATE_PENDING_INITIATED" }, |
|
73 { JS_STATE_PENDING_ACCEPT_SENT, "JS_STATE_PENDING_ACCEPT_SENT", "JS_STATE_PENDING_ACCEPT_SENT" }, |
|
74 { JS_STATE_ACTIVE, "JS_STATE_ACTIVE", "JS_STATE_ACTIVE" }, |
|
75 { JS_STATE_ENDED, "JS_STATE_ENDED", "JS_STATE_ENDED" }, |
|
76 { 0, NULL, NULL } |
|
77 }; |
|
78 etype1 = g_enum_register_static ("JingleSessionState", values); |
|
79 } |
|
80 return etype1; |
|
81 } |
|
82 GType |
|
83 debug_message_type_get_type (void) |
|
84 { |
|
85 #ifndef EMULATOR |
|
86 static GType etype2 = 0; |
|
87 #endif |
|
88 |
|
89 if (etype2 == 0) { |
|
90 static const GEnumValue values[] = { |
|
91 { DEBUG_MSG_INFO, "DEBUG_MSG_INFO", "DEBUG_MSG_INFO" }, |
|
92 { DEBUG_MSG_DUMP, "DEBUG_MSG_DUMP", "DEBUG_MSG_DUMP" }, |
|
93 { DEBUG_MSG_WARNING, "DEBUG_MSG_WARNING", "DEBUG_MSG_WARNING" }, |
|
94 { DEBUG_MSG_ERROR, "DEBUG_MSG_ERROR", "DEBUG_MSG_ERROR" }, |
|
95 { DEBUG_MSG_EVENT, "DEBUG_MSG_EVENT", "DEBUG_MSG_EVENT" }, |
|
96 { 0, NULL, NULL } |
|
97 }; |
|
98 etype2 = g_enum_register_static ("DebugMessageType", values); |
|
99 } |
|
100 return etype2; |
|
101 } |
|
102 |
|
103 /* Generated data ends here */ |
|
104 |
|