1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167
|
(define-object Channel
(in-module "Tf")
(parent "GObject")
(c-name "TfChannel")
(gtype-id "TF_TYPE_CHANNEL")
)
(define-object Content
(in-module "Tf")
(parent "GObject")
(c-name "TfContent")
(gtype-id "TF_TYPE_CONTENT")
)
(define-function tf_channel_new_async
(c-name "tf_channel_new_async")
(return-type "none")
(parameters
'("const-gchar*" "connection_busname")
'("const-gchar*" "connection_path")
'("const-gchar*" "channel_path")
'("GAsyncReadyCallback" "callback")
)
)
;; -*- scheme -*-
; object definitions ...
;; Enumerations and flags ...
;; From telepathy-farstream.h
;; -*- scheme -*-
; object definitions ...
;; Enumerations and flags ...
;; From channel.h
(define-function tf_channel_get_type
(c-name "tf_channel_get_type")
(return-type "GType")
)
(define-method bus_message
(of-object "TfChannel")
(c-name "tf_channel_bus_message")
(return-type "gboolean")
(parameters
'("GstMessage*" "message")
)
)
;; -*- scheme -*-
; object definitions ...
;; Enumerations and flags ...
;; From content.h
(define-function tf_content_get_type
(c-name "tf_content_get_type")
(return-type "GType")
)
(define-method error_literal
(of-object "TfContent")
(c-name "tf_content_error_literal")
(return-type "none")
(parameters
'("const-gchar*" "message")
)
)
(define-method error
(of-object "TfContent")
(c-name "tf_content_error")
(return-type "none")
(parameters
'("const-gchar*" "message_format")
)
(varargs #t)
)
(define-method sending_failed_literal
(of-object "TfContent")
(c-name "tf_content_sending_failed_literal")
(return-type "none")
(parameters
'("const-gchar*" "message")
)
)
(define-method sending_failed
(of-object "TfContent")
(c-name "tf_content_sending_failed")
(return-type "none")
(parameters
'("const-gchar*" "message_format")
)
(varargs #t)
)
(define-method receiving_failed_literal
(of-object "TfContent")
(c-name "tf_content_receiving_failed_literal")
(return-type "none")
(parameters
'("guint*" "handles")
'("guint" "handle_count")
'("const-gchar*" "message")
)
)
(define-method receiving_failed
(of-object "TfContent")
(c-name "tf_content_receiving_failed")
(return-type "none")
(parameters
'("guint*" "handles")
'("guint" "handle_count")
'("const-gchar*" "message_format")
)
(varargs #t)
)
(define-method iterate_src_pads
(of-object "TfContent")
(c-name "tf_content_iterate_src_pads")
(return-type "GstIterator*")
(parameters
'("guint*" "handles")
'("guint" "handle_count")
)
)
;; -*- scheme -*-
; object definitions ...
;; Enumerations and flags ...
;; From stream.h
(define-function tf_stream_get_type
(c-name "tf_stream_get_type")
(return-type "GType")
)
(define-method get_id
(of-object "TfStream")
(c-name "tf_stream_get_id")
(return-type "guint")
)
(define-method error
(of-object "TfStream")
(c-name "tf_stream_error")
(return-type "none")
(parameters
'("TpMediaStreamError" "error")
'("const-gchar*" "message")
)
)
|