(gtype-id "EMPATHY_TYPE_ACCOUNT_MANAGER")
)
+(define-object CallFactory
+ (in-module "Empathy")
+ (parent "GObject")
+ (c-name "EmpathyCallFactory")
+ (gtype-id "EMPATHY_TYPE_CALL_FACTORY")
+)
+
+(define-object CallHandler
+ (in-module "Empathy")
+ (parent "GObject")
+ (c-name "EmpathyCallHandler")
+ (gtype-id "EMPATHY_TYPE_CALL_HANDLER")
+)
+
(define-object Chatroom
(in-module "Empathy")
(parent "GObject")
(gtype-id "EMPATHY_TYPE_LOG_MANAGER")
)
+(define-object LogStoreEmpathy
+ (in-module "Empathy")
+ (parent "GObject")
+ (c-name "EmpathyLogStoreEmpathy")
+ (gtype-id "EMPATHY_TYPE_LOG_STORE_EMPATHY")
+)
+
(define-object Message
(in-module "Empathy")
(parent "GObject")
)
)
-(define-enum TubeType
- (in-module "Empathy")
- (c-name "EmpathyTubeType")
- (gtype-id "EMPATHY_TYPE_TUBE_TYPE")
- (values
- '("stream-tube" "EMPATHY_TYPE_STREAM_TUBE")
- '("dbus-tube" "EMPATHY_TYPE_DBUS_TUBE")
- )
-)
-
;; From empathy-account-manager.h
+;; From empathy-call-factory.h
+
+(define-function call_factory_get_type
+ (c-name "empathy_call_factory_get_type")
+ (return-type "GType")
+)
+
+(define-function call_factory_initialise
+ (c-name "empathy_call_factory_initialise")
+ (return-type "EmpathyCallFactory*")
+)
+
+(define-function call_factory_get
+ (c-name "empathy_call_factory_get")
+ (return-type "EmpathyCallFactory*")
+)
+
+(define-method new_call
+ (of-object "EmpathyCallFactory")
+ (c-name "empathy_call_factory_new_call")
+ (return-type "none")
+ (parameters
+ '("EmpathyContact*" "contact")
+ )
+)
+
+(define-method claim_channel
+ (of-object "EmpathyCallFactory")
+ (c-name "empathy_call_factory_claim_channel")
+ (return-type "none")
+ (parameters
+ '("EmpathyDispatchOperation*" "operation")
+ )
+)
+
+
+
+;; From empathy-call-handler.h
+
+(define-function call_handler_get_type
+ (c-name "empathy_call_handler_get_type")
+ (return-type "GType")
+)
+
+(define-function call_handler_new_for_contact
+ (c-name "empathy_call_handler_new_for_contact")
+ (return-type "EmpathyCallHandler*")
+ (parameters
+ '("EmpathyContact*" "contact")
+ )
+)
+
+(define-function call_handler_new_for_channel
+ (c-name "empathy_call_handler_new_for_channel")
+ (return-type "EmpathyCallHandler*")
+ (parameters
+ '("EmpathyTpCall*" "call")
+ )
+)
+
+(define-method start_call
+ (of-object "EmpathyCallHandler")
+ (c-name "empathy_call_handler_start_call")
+ (return-type "none")
+)
+
+(define-method bus_message
+ (of-object "EmpathyCallHandler")
+ (c-name "empathy_call_handler_bus_message")
+ (return-type "none")
+ (parameters
+ '("GstBus*" "bus")
+ '("GstMessage*" "message")
+ )
+)
+
+
+
;; From empathy-contact.h
(define-function contact_get_type
(define-method add_message
(of-object "EmpathyLogManager")
(c-name "empathy_log_manager_add_message")
- (return-type "none")
+ (return-type "gboolean")
(parameters
'("const-gchar*" "chat_id")
'("gboolean" "chatroom")
'("EmpathyMessage*" "message")
+ '("GError**" "error")
)
)
)
)
-(define-method get_messages_for_file
- (of-object "EmpathyLogManager")
- (c-name "empathy_log_manager_get_messages_for_file")
- (return-type "GList*")
- (parameters
- '("const-gchar*" "filename")
- )
-)
-
(define-method get_messages_for_date
(of-object "EmpathyLogManager")
(c-name "empathy_log_manager_get_messages_for_date")
)
)
-(define-method get_last_messages
+(define-method get_filtered_messages
(of-object "EmpathyLogManager")
- (c-name "empathy_log_manager_get_last_messages")
+ (c-name "empathy_log_manager_get_filtered_messages")
(return-type "GList*")
(parameters
'("McAccount*" "account")
'("const-gchar*" "chat_id")
'("gboolean" "chatroom")
- )
-)
-
-(define-method get_messages_for_file
- (of-object "EmpathyLogManager")
- (c-name "empathy_log_manager_get_messages_for_file")
- (return-type "GList*")
- (parameters
- '("const-gchar*" "filename")
+ '("guint" "num_messages")
+ '("EmpathyLogMessageFilter" "filter")
+ '("gpointer" "user_data")
)
)
)
)
+(define-function log_manager_search_hit_free
+ (c-name "empathy_log_manager_search_hit_free")
+ (return-type "none")
+ (parameters
+ '("EmpathyLogSearchHit*" "hit")
+ )
+)
+
+(define-method observe
+ (of-object "EmpathyLogManager")
+ (c-name "empathy_log_manager_observe")
+ (return-type "none")
+ (parameters
+ '("EmpathyDispatcher*" "dispatcher")
+ )
+)
+
+
+
+;; From empathy-log-store.h
+
+(define-function log_store_get_type
+ (c-name "empathy_log_store_get_type")
+ (return-type "GType")
+)
+
+(define-method get_name
+ (of-object "EmpathyLogStore")
+ (c-name "empathy_log_store_get_name")
+ (return-type "const-gchar*")
+)
+
+(define-method exists
+ (of-object "EmpathyLogStore")
+ (c-name "empathy_log_store_exists")
+ (return-type "gboolean")
+ (parameters
+ '("McAccount*" "account")
+ '("const-gchar*" "chat_id")
+ '("gboolean" "chatroom")
+ )
+)
+
+(define-method add_message
+ (of-object "EmpathyLogStore")
+ (c-name "empathy_log_store_add_message")
+ (return-type "gboolean")
+ (parameters
+ '("const-gchar*" "chat_id")
+ '("gboolean" "chatroom")
+ '("EmpathyMessage*" "message")
+ '("GError**" "error")
+ )
+)
+
+(define-method get_dates
+ (of-object "EmpathyLogStore")
+ (c-name "empathy_log_store_get_dates")
+ (return-type "GList*")
+ (parameters
+ '("McAccount*" "account")
+ '("const-gchar*" "chat_id")
+ '("gboolean" "chatroom")
+ )
+)
+
+(define-method get_messages_for_date
+ (of-object "EmpathyLogStore")
+ (c-name "empathy_log_store_get_messages_for_date")
+ (return-type "GList*")
+ (parameters
+ '("McAccount*" "account")
+ '("const-gchar*" "chat_id")
+ '("gboolean" "chatroom")
+ '("const-gchar*" "date")
+ )
+)
+
+(define-method get_last_messages
+ (of-object "EmpathyLogStore")
+ (c-name "empathy_log_store_get_last_messages")
+ (return-type "GList*")
+ (parameters
+ '("McAccount*" "account")
+ '("const-gchar*" "chat_id")
+ '("gboolean" "chatroom")
+ )
+)
+
+(define-method get_chats
+ (of-object "EmpathyLogStore")
+ (c-name "empathy_log_store_get_chats")
+ (return-type "GList*")
+ (parameters
+ '("McAccount*" "account")
+ )
+)
+
+(define-method search_new
+ (of-object "EmpathyLogStore")
+ (c-name "empathy_log_store_search_new")
+ (return-type "GList*")
+ (parameters
+ '("const-gchar*" "text")
+ )
+)
+
+(define-method ack_message
+ (of-object "EmpathyLogStore")
+ (c-name "empathy_log_store_ack_message")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "chat_id")
+ '("gboolean" "chatroom")
+ '("EmpathyMessage*" "message")
+ )
+)
+
+(define-method get_filtered_messages
+ (of-object "EmpathyLogStore")
+ (c-name "empathy_log_store_get_filtered_messages")
+ (return-type "GList*")
+ (parameters
+ '("McAccount*" "account")
+ '("const-gchar*" "chat_id")
+ '("gboolean" "chatroom")
+ '("guint" "num_messages")
+ '("EmpathyLogMessageFilter" "filter")
+ '("gpointer" "user_data")
+ )
+)
+
+
+
+;; From empathy-log-store-empathy.h
+
+(define-function log_store_empathy_get_type
+ (c-name "empathy_log_store_empathy_get_type")
+ (return-type "GType")
+)
+
;; From empathy-message.h
)
)
+(define-method equal
+ (of-object "EmpathyMessage")
+ (c-name "empathy_message_equal")
+ (return-type "gboolean")
+ (parameters
+ '("EmpathyMessage*" "message2")
+ )
+)
+
;; From empathy-status-presets.h
)
)
-(define-method add_preview_video
- (of-object "EmpathyTpCall")
- (c-name "empathy_tp_call_add_preview_video")
- (return-type "none")
- (parameters
- '("guint" "preview_video_socket_id")
- )
-)
-
-(define-method remove_preview_video
- (of-object "EmpathyTpCall")
- (c-name "empathy_tp_call_remove_preview_video")
- (return-type "none")
- (parameters
- '("guint" "preview_video_socket_id")
- )
-)
-
-(define-method add_output_video
- (of-object "EmpathyTpCall")
- (c-name "empathy_tp_call_add_output_video")
- (return-type "none")
- (parameters
- '("guint" "output_video_socket_id")
- )
-)
-
-(define-method set_output_volume
- (of-object "EmpathyTpCall")
- (c-name "empathy_tp_call_set_output_volume")
- (return-type "none")
- (parameters
- '("guint" "volume")
- )
-)
-
-(define-method mute_output
- (of-object "EmpathyTpCall")
- (c-name "empathy_tp_call_mute_output")
- (return-type "none")
- (parameters
- '("gboolean" "is_muted")
- )
-)
-
-(define-method mute_input
- (of-object "EmpathyTpCall")
- (c-name "empathy_tp_call_mute_input")
- (return-type "none")
- (parameters
- '("gboolean" "is_muted")
- )
-)
-
(define-method start_tone
(of-object "EmpathyTpCall")
(c-name "empathy_tp_call_start_tone")
(define-method get_state
(of-object "EmpathyTpFile")
(c-name "empathy_tp_file_get_state")
- (return-type "guint")
+ (return-type "TpFileTransferState")
(parameters
- '("guint*" "reason")
+ '("TpFileTransferStateChangeReason*" "reason")
)
)
'("const-gchar*" "hostname")
'("guint" "port")
'("const-gchar*" "service")
+ '("GHashTable*" "parameters")
)
)
(is-constructor-of "EmpathyTubeHandler")
(return-type "EmpathyTubeHandler*")
(parameters
- '("EmpathyTubeType" "type")
+ '("TpTubeType" "type")
'("const-gchar*" "service")
)
)
(c-name "empathy_tube_handler_build_bus_name")
(return-type "gchar*")
(parameters
- '("EmpathyTubeType" "type")
+ '("TpTubeType" "type")
'("const-gchar*" "service")
)
)
(c-name "empathy_tube_handler_build_object_path")
(return-type "gchar*")
(parameters
- '("EmpathyTubeType" "type")
+ '("TpTubeType" "type")
'("const-gchar*" "service")
)
)
(return-type "gboolean")
)
-(define-function start_call_with_contact
- (c-name "empathy_start_call_with_contact")
- (return-type "none")
- (parameters
- '("EmpathyContact*" "contact")
- )
-)
-