diff options
author | Jacek Antonelli | 2008-12-01 17:39:58 -0600 |
---|---|---|
committer | Jacek Antonelli | 2008-12-01 17:40:06 -0600 |
commit | 7abecb48babe6a6f09bf6692ba55076546cfced9 (patch) | |
tree | 8d18a88513fb97adf32c10aae78f4be1984942db /linden/indra/newview/llappviewerlinux_api.h | |
parent | Second Life viewer sources 1.21.6 (diff) | |
download | meta-impy-7abecb48babe6a6f09bf6692ba55076546cfced9.zip meta-impy-7abecb48babe6a6f09bf6692ba55076546cfced9.tar.gz meta-impy-7abecb48babe6a6f09bf6692ba55076546cfced9.tar.bz2 meta-impy-7abecb48babe6a6f09bf6692ba55076546cfced9.tar.xz |
Second Life viewer sources 1.22.0-RC
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llappviewerlinux_api.h | 148 |
1 files changed, 148 insertions, 0 deletions
diff --git a/linden/indra/newview/llappviewerlinux_api.h b/linden/indra/newview/llappviewerlinux_api.h new file mode 100644 index 0000000..bd17599 --- /dev/null +++ b/linden/indra/newview/llappviewerlinux_api.h | |||
@@ -0,0 +1,148 @@ | |||
1 | /* Generated by dbus-binding-tool; do not edit! */ | ||
2 | /** | ||
3 | * $LicenseInfo:firstyear=2008&license=viewergpl$ | ||
4 | * | ||
5 | * Copyright (c) 2008, Linden Research, Inc. | ||
6 | * | ||
7 | * Second Life Viewer Source Code | ||
8 | * The source code in this file ("Source Code") is provided by Linden Lab | ||
9 | * to you under the terms of the GNU General Public License, version 2.0 | ||
10 | * ("GPL"), unless you have obtained a separate licensing agreement | ||
11 | * ("Other License"), formally executed by you and Linden Lab. Terms of | ||
12 | * the GPL can be found in doc/GPL-license.txt in this distribution, or | ||
13 | * online at http://secondlifegrid.net/programs/open_source/licensing/gplv2 | ||
14 | * | ||
15 | * There are special exceptions to the terms and conditions of the GPL as | ||
16 | * it is applied to this Source Code. View the full text of the exception | ||
17 | * in the file doc/FLOSS-exception.txt in this software distribution, or | ||
18 | * online at http://secondlifegrid.net/programs/open_source/licensing/flossexception | ||
19 | * | ||
20 | * By copying, modifying or distributing this software, you acknowledge | ||
21 | * that you have read and understood your obligations described above, | ||
22 | * and agree to abide by those obligations. | ||
23 | * | ||
24 | * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO | ||
25 | * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, | ||
26 | * COMPLETENESS OR PERFORMANCE. | ||
27 | * $/LicenseInfo$ | ||
28 | */ | ||
29 | |||
30 | #ifndef __dbus_glib_marshal_viewerapp_MARSHAL_H__ | ||
31 | #define __dbus_glib_marshal_viewerapp_MARSHAL_H__ | ||
32 | |||
33 | #include <glib-object.h> | ||
34 | |||
35 | G_BEGIN_DECLS | ||
36 | |||
37 | #ifdef G_ENABLE_DEBUG | ||
38 | #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) | ||
39 | #define g_marshal_value_peek_char(v) g_value_get_char (v) | ||
40 | #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) | ||
41 | #define g_marshal_value_peek_int(v) g_value_get_int (v) | ||
42 | #define g_marshal_value_peek_uint(v) g_value_get_uint (v) | ||
43 | #define g_marshal_value_peek_long(v) g_value_get_long (v) | ||
44 | #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) | ||
45 | #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) | ||
46 | #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) | ||
47 | #define g_marshal_value_peek_enum(v) g_value_get_enum (v) | ||
48 | #define g_marshal_value_peek_flags(v) g_value_get_flags (v) | ||
49 | #define g_marshal_value_peek_float(v) g_value_get_float (v) | ||
50 | #define g_marshal_value_peek_double(v) g_value_get_double (v) | ||
51 | #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) | ||
52 | #define g_marshal_value_peek_param(v) g_value_get_param (v) | ||
53 | #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) | ||
54 | #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) | ||
55 | #define g_marshal_value_peek_object(v) g_value_get_object (v) | ||
56 | #else /* !G_ENABLE_DEBUG */ | ||
57 | /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. | ||
58 | * Do not access GValues directly in your code. Instead, use the | ||
59 | * g_value_get_*() functions | ||
60 | */ | ||
61 | #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int | ||
62 | #define g_marshal_value_peek_char(v) (v)->data[0].v_int | ||
63 | #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint | ||
64 | #define g_marshal_value_peek_int(v) (v)->data[0].v_int | ||
65 | #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint | ||
66 | #define g_marshal_value_peek_long(v) (v)->data[0].v_long | ||
67 | #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong | ||
68 | #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 | ||
69 | #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 | ||
70 | #define g_marshal_value_peek_enum(v) (v)->data[0].v_long | ||
71 | #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong | ||
72 | #define g_marshal_value_peek_float(v) (v)->data[0].v_float | ||
73 | #define g_marshal_value_peek_double(v) (v)->data[0].v_double | ||
74 | #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer | ||
75 | #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer | ||
76 | #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer | ||
77 | #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer | ||
78 | #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer | ||
79 | #endif /* !G_ENABLE_DEBUG */ | ||
80 | |||
81 | |||
82 | /* BOOLEAN:STRING,POINTER,POINTER (/tmp/dbus-binding-tool-c-marshallers.5XXD8T:1) */ | ||
83 | extern void dbus_glib_marshal_viewerapp_BOOLEAN__STRING_POINTER_POINTER (GClosure *closure, | ||
84 | GValue *return_value, | ||
85 | guint n_param_values, | ||
86 | const GValue *param_values, | ||
87 | gpointer invocation_hint, | ||
88 | gpointer marshal_data); | ||
89 | void | ||
90 | dbus_glib_marshal_viewerapp_BOOLEAN__STRING_POINTER_POINTER (GClosure *closure, | ||
91 | GValue *return_value, | ||
92 | guint n_param_values, | ||
93 | const GValue *param_values, | ||
94 | gpointer invocation_hint, | ||
95 | gpointer marshal_data) | ||
96 | { | ||
97 | typedef gboolean (*GMarshalFunc_BOOLEAN__STRING_POINTER_POINTER) (gpointer data1, | ||
98 | gpointer arg_1, | ||
99 | gpointer arg_2, | ||
100 | gpointer arg_3, | ||
101 | gpointer data2); | ||
102 | register GMarshalFunc_BOOLEAN__STRING_POINTER_POINTER callback; | ||
103 | register GCClosure *cc = (GCClosure*) closure; | ||
104 | register gpointer data1, data2; | ||
105 | gboolean v_return; | ||
106 | |||
107 | g_return_if_fail (return_value != NULL); | ||
108 | g_return_if_fail (n_param_values == 4); | ||
109 | |||
110 | if (G_CCLOSURE_SWAP_DATA (closure)) | ||
111 | { | ||
112 | data1 = closure->data; | ||
113 | data2 = g_value_peek_pointer (param_values + 0); | ||
114 | } | ||
115 | else | ||
116 | { | ||
117 | data1 = g_value_peek_pointer (param_values + 0); | ||
118 | data2 = closure->data; | ||
119 | } | ||
120 | callback = (GMarshalFunc_BOOLEAN__STRING_POINTER_POINTER) (marshal_data ? marshal_data : cc->callback); | ||
121 | |||
122 | v_return = callback (data1, | ||
123 | g_marshal_value_peek_string (param_values + 1), | ||
124 | g_marshal_value_peek_pointer (param_values + 2), | ||
125 | g_marshal_value_peek_pointer (param_values + 3), | ||
126 | data2); | ||
127 | |||
128 | g_value_set_boolean (return_value, v_return); | ||
129 | } | ||
130 | |||
131 | G_END_DECLS | ||
132 | |||
133 | #endif /* __dbus_glib_marshal_viewerapp_MARSHAL_H__ */ | ||
134 | |||
135 | #include <dbus/dbus-glib.h> | ||
136 | static const DBusGMethodInfo dbus_glib_viewerapp_methods[] = { | ||
137 | { (GCallback) viewer_app_api_GoSLURL, dbus_glib_marshal_viewerapp_BOOLEAN__STRING_POINTER_POINTER, 0 }, | ||
138 | }; | ||
139 | |||
140 | const DBusGObjectInfo dbus_glib_viewerapp_object_info = { | ||
141 | 0, | ||
142 | dbus_glib_viewerapp_methods, | ||
143 | 1, | ||
144 | "com.secondlife.ViewerAppAPI\0GoSLURL\0S\0slurl\0I\0s\0success_ret\0O\0F\0N\0b\0\0\0", | ||
145 | "\0", | ||
146 | "\0" | ||
147 | }; | ||
148 | |||