llappviewerlinux_api.h
上传用户:king477883
上传日期:2021-03-01
资源大小:9553k
文件大小:7k
源码类别:

游戏引擎

开发平台:

C++ Builder

  1. /* Generated by dbus-binding-tool; do not edit! */
  2. /**
  3.  * $LicenseInfo:firstyear=2008&license=viewergpl$
  4.  * 
  5.  * Copyright (c) 2008-2010, 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
  19.  * http://secondlifegrid.net/programs/open_source/licensing/flossexception
  20.  * 
  21.  * By copying, modifying or distributing this software, you acknowledge
  22.  * that you have read and understood your obligations described above,
  23.  * and agree to abide by those obligations.
  24.  * 
  25.  * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
  26.  * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
  27.  * COMPLETENESS OR PERFORMANCE.
  28.  * $/LicenseInfo$
  29.  */ 
  30. #ifndef __dbus_glib_marshal_viewerapp_MARSHAL_H__
  31. #define __dbus_glib_marshal_viewerapp_MARSHAL_H__
  32. #include <glib-object.h>
  33. G_BEGIN_DECLS
  34. #ifdef G_ENABLE_DEBUG
  35. #define g_marshal_value_peek_boolean(v)  g_value_get_boolean (v)
  36. #define g_marshal_value_peek_char(v)     g_value_get_char (v)
  37. #define g_marshal_value_peek_uchar(v)    g_value_get_uchar (v)
  38. #define g_marshal_value_peek_int(v)      g_value_get_int (v)
  39. #define g_marshal_value_peek_uint(v)     g_value_get_uint (v)
  40. #define g_marshal_value_peek_long(v)     g_value_get_long (v)
  41. #define g_marshal_value_peek_ulong(v)    g_value_get_ulong (v)
  42. #define g_marshal_value_peek_int64(v)    g_value_get_int64 (v)
  43. #define g_marshal_value_peek_uint64(v)   g_value_get_uint64 (v)
  44. #define g_marshal_value_peek_enum(v)     g_value_get_enum (v)
  45. #define g_marshal_value_peek_flags(v)    g_value_get_flags (v)
  46. #define g_marshal_value_peek_float(v)    g_value_get_float (v)
  47. #define g_marshal_value_peek_double(v)   g_value_get_double (v)
  48. #define g_marshal_value_peek_string(v)   (char*) g_value_get_string (v)
  49. #define g_marshal_value_peek_param(v)    g_value_get_param (v)
  50. #define g_marshal_value_peek_boxed(v)    g_value_get_boxed (v)
  51. #define g_marshal_value_peek_pointer(v)  g_value_get_pointer (v)
  52. #define g_marshal_value_peek_object(v)   g_value_get_object (v)
  53. #else /* !G_ENABLE_DEBUG */
  54. /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
  55.  *          Do not access GValues directly in your code. Instead, use the
  56.  *          g_value_get_*() functions
  57.  */
  58. #define g_marshal_value_peek_boolean(v)  (v)->data[0].v_int
  59. #define g_marshal_value_peek_char(v)     (v)->data[0].v_int
  60. #define g_marshal_value_peek_uchar(v)    (v)->data[0].v_uint
  61. #define g_marshal_value_peek_int(v)      (v)->data[0].v_int
  62. #define g_marshal_value_peek_uint(v)     (v)->data[0].v_uint
  63. #define g_marshal_value_peek_long(v)     (v)->data[0].v_long
  64. #define g_marshal_value_peek_ulong(v)    (v)->data[0].v_ulong
  65. #define g_marshal_value_peek_int64(v)    (v)->data[0].v_int64
  66. #define g_marshal_value_peek_uint64(v)   (v)->data[0].v_uint64
  67. #define g_marshal_value_peek_enum(v)     (v)->data[0].v_long
  68. #define g_marshal_value_peek_flags(v)    (v)->data[0].v_ulong
  69. #define g_marshal_value_peek_float(v)    (v)->data[0].v_float
  70. #define g_marshal_value_peek_double(v)   (v)->data[0].v_double
  71. #define g_marshal_value_peek_string(v)   (v)->data[0].v_pointer
  72. #define g_marshal_value_peek_param(v)    (v)->data[0].v_pointer
  73. #define g_marshal_value_peek_boxed(v)    (v)->data[0].v_pointer
  74. #define g_marshal_value_peek_pointer(v)  (v)->data[0].v_pointer
  75. #define g_marshal_value_peek_object(v)   (v)->data[0].v_pointer
  76. #endif /* !G_ENABLE_DEBUG */
  77. /* BOOLEAN:STRING,POINTER,POINTER (/tmp/dbus-binding-tool-c-marshallers.5XXD8T:1) */
  78. extern void dbus_glib_marshal_viewerapp_BOOLEAN__STRING_POINTER_POINTER (GClosure     *closure,
  79.                                                                          GValue       *return_value,
  80.                                                                          guint         n_param_values,
  81.                                                                          const GValue *param_values,
  82.                                                                          gpointer      invocation_hint,
  83.                                                                          gpointer      marshal_data);
  84. void
  85. dbus_glib_marshal_viewerapp_BOOLEAN__STRING_POINTER_POINTER (GClosure     *closure,
  86.                                                              GValue       *return_value,
  87.                                                              guint         n_param_values,
  88.                                                              const GValue *param_values,
  89.                                                              gpointer      invocation_hint,
  90.                                                              gpointer      marshal_data)
  91. {
  92.   typedef gboolean (*GMarshalFunc_BOOLEAN__STRING_POINTER_POINTER) (gpointer     data1,
  93.                                                                     gpointer     arg_1,
  94.                                                                     gpointer     arg_2,
  95.                                                                     gpointer     arg_3,
  96.                                                                     gpointer     data2);
  97.   register GMarshalFunc_BOOLEAN__STRING_POINTER_POINTER callback;
  98.   register GCClosure *cc = (GCClosure*) closure;
  99.   register gpointer data1, data2;
  100.   gboolean v_return;
  101.   g_return_if_fail (return_value != NULL);
  102.   g_return_if_fail (n_param_values == 4);
  103.   if (G_CCLOSURE_SWAP_DATA (closure))
  104.     {
  105.       data1 = closure->data;
  106.       data2 = g_value_peek_pointer (param_values + 0);
  107.     }
  108.   else
  109.     {
  110.       data1 = g_value_peek_pointer (param_values + 0);
  111.       data2 = closure->data;
  112.     }
  113.   callback = (GMarshalFunc_BOOLEAN__STRING_POINTER_POINTER) (marshal_data ? marshal_data : cc->callback);
  114.   v_return = callback (data1,
  115.                        g_marshal_value_peek_string (param_values + 1),
  116.                        g_marshal_value_peek_pointer (param_values + 2),
  117.                        g_marshal_value_peek_pointer (param_values + 3),
  118.                        data2);
  119.   g_value_set_boolean (return_value, v_return);
  120. }
  121. G_END_DECLS
  122. #endif /* __dbus_glib_marshal_viewerapp_MARSHAL_H__ */
  123. #include <dbus/dbus-glib.h>
  124. static const DBusGMethodInfo dbus_glib_viewerapp_methods[] = {
  125.   { (GCallback) viewer_app_api_GoSLURL, dbus_glib_marshal_viewerapp_BOOLEAN__STRING_POINTER_POINTER, 0 },
  126. };
  127. const DBusGObjectInfo dbus_glib_viewerapp_object_info = {
  128.   0,
  129.   dbus_glib_viewerapp_methods,
  130.   1,
  131. "com.secondlife.ViewerAppAPIGoSLURLSslurlIssuccess_retOFNb",
  132. "",
  133. ""
  134. };