(gtype-id "EMPATHY_TYPE_CHATROOM_MANAGER")
)
-(define-object Conf
- (in-module "Empathy")
- (parent "GObject")
- (c-name "EmpathyConf")
- (gtype-id "EMPATHY_TYPE_CONF")
-)
-
(define-object Contact
(in-module "Empathy")
(parent "GObject")
(gtype-id "EMPATHY_TYPE_MESSAGE")
)
-(define-object Presence
- (in-module "Empathy")
- (parent "GObject")
- (c-name "EmpathyPresence")
- (gtype-id "EMPATHY_TYPE_PRESENCE")
-)
-
(define-object TpCall
(in-module "Empathy")
(parent "GObject")
(c-name "EmpathyTpCallStatus")
(gtype-id "EMPATHY_TYPE_TP_CALL_STATUS")
(values
- '("preparing" "EMPATHY_TP_CALL_STATUS_PREPARING")
- '("ringing" "EMPATHY_TP_CALL_STATUS_RINGING")
- '("running" "EMPATHY_TP_CALL_STATUS_RUNNING")
+ '("readying" "EMPATHY_TP_CALL_STATUS_READYING")
+ '("pending" "EMPATHY_TP_CALL_STATUS_PENDING")
+ '("accepted" "EMPATHY_TP_CALL_STATUS_ACCEPTED")
+ '("closed" "EMPATHY_TP_CALL_STATUS_CLOSED")
)
)
-;; From empathy-chandler-glue.h
-
-(define-function dbus_glib_marshal_empathy_chandler_BOOLEAN__STRING_BOXED_STRING_BOXED_UINT_UINT_POINTER
- (c-name "dbus_glib_marshal_empathy_chandler_BOOLEAN__STRING_BOXED_STRING_BOXED_UINT_UINT_POINTER")
- (return-type "none")
- (parameters
- '("GClosure*" "closure")
- '("GValue*-return_value" "G_GNUC_UNUSED")
- '("guint" "n_param_values")
- '("const-GValue*" "param_values")
- '("gpointer-invocation_hint" "G_GNUC_UNUSED")
- '("gpointer" "marshal_data")
- )
-)
-
-
-
;; From empathy-chandler.h
(define-function empathy_chandler_get_type
-;; From empathy-conf.h
-
-(define-function empathy_conf_get_type
- (c-name "empathy_conf_get_type")
- (return-type "GType")
-)
-
-(define-function empathy_conf_get
- (c-name "empathy_conf_get")
- (return-type "EmpathyConf*")
-)
-
-(define-function empathy_conf_shutdown
- (c-name "empathy_conf_shutdown")
- (return-type "none")
-)
-
-(define-method notify_add
- (of-object "EmpathyConf")
- (c-name "empathy_conf_notify_add")
- (return-type "guint")
- (parameters
- '("const-gchar*" "key")
- '("EmpathyConfNotifyFunc" "func")
- '("gpointer" "data")
- )
-)
-
-(define-method notify_remove
- (of-object "EmpathyConf")
- (c-name "empathy_conf_notify_remove")
- (return-type "gboolean")
- (parameters
- '("guint" "id")
- )
-)
-
-(define-method set_int
- (of-object "EmpathyConf")
- (c-name "empathy_conf_set_int")
- (return-type "gboolean")
- (parameters
- '("const-gchar*" "key")
- '("gint" "value")
- )
-)
-
-(define-method get_int
- (of-object "EmpathyConf")
- (c-name "empathy_conf_get_int")
- (return-type "gboolean")
- (parameters
- '("const-gchar*" "key")
- '("gint*" "value")
- )
-)
-
-(define-method set_bool
- (of-object "EmpathyConf")
- (c-name "empathy_conf_set_bool")
- (return-type "gboolean")
- (parameters
- '("const-gchar*" "key")
- '("gboolean" "value")
- )
-)
-
-(define-method get_bool
- (of-object "EmpathyConf")
- (c-name "empathy_conf_get_bool")
- (return-type "gboolean")
- (parameters
- '("const-gchar*" "key")
- '("gboolean*" "value")
- )
-)
-
-(define-method set_string
- (of-object "EmpathyConf")
- (c-name "empathy_conf_set_string")
- (return-type "gboolean")
- (parameters
- '("const-gchar*" "key")
- '("const-gchar*" "value")
- )
-)
-
-(define-method get_string
- (of-object "EmpathyConf")
- (c-name "empathy_conf_get_string")
- (return-type "gboolean")
- (parameters
- '("const-gchar*" "key")
- '("gchar**" "value")
- )
-)
-
-(define-method set_string_list
- (of-object "EmpathyConf")
- (c-name "empathy_conf_set_string_list")
- (return-type "gboolean")
- (parameters
- '("const-gchar*" "key")
- '("GSList*" "value")
- )
-)
-
-(define-method get_string_list
- (of-object "EmpathyConf")
- (c-name "empathy_conf_get_string_list")
- (return-type "gboolean")
- (parameters
- '("const-gchar*" "key")
- '("GSList**" "value")
- )
-)
-
-
-
;; From empathy-contact-factory.h
(define-function empathy_contact_factory_get_type
(define-method get_presence
(of-object "EmpathyContact")
(c-name "empathy_contact_get_presence")
- (return-type "EmpathyPresence*")
+ (return-type "McPresence")
)
(define-method set_presence
(c-name "empathy_contact_set_presence")
(return-type "none")
(parameters
- '("EmpathyPresence*" "presence")
+ '("McPresence" "presence")
+ )
+)
+
+(define-method get_presence_message
+ (of-object "EmpathyContact")
+ (c-name "empathy_contact_get_presence_message")
+ (return-type "const-gchar*")
+)
+
+(define-method set_presence_message
+ (of-object "EmpathyContact")
+ (c-name "empathy_contact_set_presence_message")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "message")
)
)
-;; From empathy-enum-types.h
-
-(define-function empathy_reg_ex_type_get_type
- (c-name "empathy_reg_ex_type_get_type")
- (return-type "GType")
-)
-
-(define-function empathy_message_type_get_type
- (c-name "empathy_message_type_get_type")
- (return-type "GType")
-)
-
-(define-function empathy_capabilities_get_type
- (c-name "empathy_capabilities_get_type")
- (return-type "GType")
-)
-
-(define-function empathy_tp_call_status_get_type
- (c-name "empathy_tp_call_status_get_type")
- (return-type "GType")
-)
-
-
-
-;; From empathy-filter-glue.h
-
-(define-function dbus_glib_marshal_empathy_filter_BOOLEAN__STRING_BOXED_STRING_BOXED_UINT_UINT_UINT_POINTER
- (c-name "dbus_glib_marshal_empathy_filter_BOOLEAN__STRING_BOXED_STRING_BOXED_UINT_UINT_UINT_POINTER")
- (return-type "none")
- (parameters
- '("GClosure*" "closure")
- '("GValue*-return_value" "G_GNUC_UNUSED")
- '("guint" "n_param_values")
- '("const-GValue*" "param_values")
- '("gpointer-invocation_hint" "G_GNUC_UNUSED")
- '("gpointer" "marshal_data")
- )
-)
-
-
-
;; From empathy-filter.h
(define-function empathy_filter_get_type
-;; From empathy-marshal.h
-
-
-
;; From empathy-message.h
(define-function empathy_message_get_gtype
-;; From empathy-presence.h
-
-(define-function empathy_presence_get_type
- (c-name "empathy_presence_get_type")
- (return-type "GType")
-)
-
-(define-function empathy_presence_new
- (c-name "empathy_presence_new")
- (is-constructor-of "EmpathyPresence")
- (return-type "EmpathyPresence*")
-)
-
-(define-function empathy_presence_new_full
- (c-name "empathy_presence_new_full")
- (return-type "EmpathyPresence*")
- (parameters
- '("McPresence" "state")
- '("const-gchar*" "status")
- )
-)
-
-(define-method get_state
- (of-object "EmpathyPresence")
- (c-name "empathy_presence_get_state")
- (return-type "McPresence")
-)
-
-(define-method get_status
- (of-object "EmpathyPresence")
- (c-name "empathy_presence_get_status")
- (return-type "const-gchar*")
-)
-
-(define-method set_state
- (of-object "EmpathyPresence")
- (c-name "empathy_presence_set_state")
- (return-type "none")
- (parameters
- '("McPresence" "state")
- )
-)
-
-(define-method set_status
- (of-object "EmpathyPresence")
- (c-name "empathy_presence_set_status")
- (return-type "none")
- (parameters
- '("const-gchar*" "status")
- )
-)
-
-(define-function empathy_presence_sort_func
- (c-name "empathy_presence_sort_func")
- (return-type "gint")
- (parameters
- '("gconstpointer" "a")
- '("gconstpointer" "b")
- )
-)
-
-(define-function empathy_presence_state_get_default_status
- (c-name "empathy_presence_state_get_default_status")
- (return-type "const-gchar*")
- (parameters
- '("McPresence" "state")
- )
-)
-
-(define-function empathy_presence_state_to_str
- (c-name "empathy_presence_state_to_str")
- (return-type "const-gchar*")
- (parameters
- '("McPresence" "state")
- )
-)
-
-(define-function empathy_presence_state_from_str
- (c-name "empathy_presence_state_from_str")
- (return-type "McPresence")
- (parameters
- '("const-gchar*" "str")
- )
-)
-
-
-
;; From empathy-status-presets.h
(define-function empathy_status_presets_get_all
(is-constructor-of "EmpathyTpCall")
(return-type "EmpathyTpCall*")
(parameters
- '("McAccount*" "account")
- '("TpChan*" "tp_chan")
+ '("TpConn*" "connection")
+ '("TpChan*" "channel")
)
)
-(define-method is_incoming
+(define-method accept_incoming_call
(of-object "EmpathyTpCall")
- (c-name "empathy_tp_call_is_incoming")
- (return-type "gboolean")
-)
-
-(define-method get_status
- (of-object "EmpathyTpCall")
- (c-name "empathy_tp_call_get_status")
- (return-type "EmpathyTpCallStatus")
-)
-
-(define-method get_contact
- (of-object "EmpathyTpCall")
- (c-name "empathy_tp_call_get_contact")
- (return-type "EmpathyContact*")
-)
-
-(define-method accept
- (of-object "EmpathyTpCall")
- (c-name "empathy_tp_call_accept")
- (return-type "none")
-)
-
-(define-method invite
- (of-object "EmpathyTpCall")
- (c-name "empathy_tp_call_invite")
+ (c-name "empathy_tp_call_accept_incoming_call")
(return-type "none")
- (parameters
- '("EmpathyContact*" "contact")
- )
)
-(define-method request_streams
+(define-method close_channel
(of-object "EmpathyTpCall")
- (c-name "empathy_tp_call_request_streams")
+ (c-name "empathy_tp_call_close_channel")
(return-type "none")
- (parameters
- '("gboolean" "audio")
- '("gboolean" "video")
- )
)
-(define-method send_video
+(define-method request_video_stream_direction
(of-object "EmpathyTpCall")
- (c-name "empathy_tp_call_send_video")
+ (c-name "empathy_tp_call_request_video_stream_direction")
(return-type "none")
(parameters
- '("gboolean" "send")
+ '("gboolean" "is_sending")
)
)
-(define-method add_preview_window
- (of-object "EmpathyTpCall")
- (c-name "empathy_tp_call_add_preview_window")
+(define-function empathy_tp_call_add_preview_video
+ (c-name "empathy_tp_call_add_preview_video")
(return-type "none")
(parameters
- '("guint" "socket_id")
+ '("guint" "preview_video_socket_id")
)
)
-(define-method remove_preview_window
- (of-object "EmpathyTpCall")
- (c-name "empathy_tp_call_remove_preview_window")
+(define-function empathy_tp_call_remove_preview_video
+ (c-name "empathy_tp_call_remove_preview_video")
(return-type "none")
(parameters
- '("guint" "socket_id")
+ '("guint" "preview_video_socket_id")
)
)
-(define-method set_output_window
+(define-method add_output_video
(of-object "EmpathyTpCall")
- (c-name "empathy_tp_call_set_output_window")
+ (c-name "empathy_tp_call_add_output_video")
(return-type "none")
(parameters
- '("guint" "socket_id")
+ '("guint" "output_video_socket_id")
)
)
)
)
-(define-function empathy_call_contact
- (c-name "empathy_call_contact")
+(define-function empathy_call_with_contact
+ (c-name "empathy_call_with_contact")
(return-type "none")
(parameters
'("EmpathyContact*" "contact")
)
)
+(define-function empathy_call_with_contact_id
+ (c-name "empathy_call_with_contact_id")
+ (return-type "none")
+ (parameters
+ '("McAccount*" "account")
+ '("const-gchar*" "contact_id")
+ )
+)
+
(define-function empathy_chat_with_contact
(c-name "empathy_chat_with_contact")
(return-type "none")
)
)
-
-
-;; From stamp-empathy-enum-types.h
-
-
-
-;; From tp-stream-engine-gen.h
-
-(define-function dbus_g_proxy_begin_call
- (c-name "dbus_g_proxy_begin_call")
- (return-type "return")
- (parameters
- )
-)
-
-(define-function dbus_g_proxy_begin_call
- (c-name "dbus_g_proxy_begin_call")
- (return-type "return")
- (parameters
- )
-)
-
-(define-function dbus_g_proxy_begin_call
- (c-name "dbus_g_proxy_begin_call")
- (return-type "return")
- (parameters
- )
-)
-
-(define-function dbus_g_proxy_begin_call
- (c-name "dbus_g_proxy_begin_call")
- (return-type "return")
- (parameters
- )
-)
-
-(define-function dbus_g_proxy_begin_call
- (c-name "dbus_g_proxy_begin_call")
- (return-type "return")
- (parameters
- )
-)
-
-(define-function dbus_g_proxy_begin_call
- (c-name "dbus_g_proxy_begin_call")
- (return-type "return")
+(define-function empathy_presence_get_default_message
+ (c-name "empathy_presence_get_default_message")
+ (return-type "const-gchar*")
(parameters
+ '("McPresence" "presence")
)
)
-(define-function dbus_g_proxy_begin_call
- (c-name "dbus_g_proxy_begin_call")
- (return-type "return")
+(define-function empathy_presence_to_str
+ (c-name "empathy_presence_to_str")
+ (return-type "const-gchar*")
(parameters
+ '("McPresence" "presence")
)
)
-(define-function dbus_g_proxy_begin_call
- (c-name "dbus_g_proxy_begin_call")
- (return-type "return")
+(define-function empathy_presence_from_str
+ (c-name "empathy_presence_from_str")
+ (return-type "McPresence")
(parameters
+ '("const-gchar*" "str")
)
)