static void
tp_svc_client_observer_observe_channels (TpSvcClientObserver *self,
    const gchar *in_Account,
    const gchar *in_Connection,
    const GPtrArray *in_Channels,
    const gchar *in_Dispatch_Operation,
    const GPtrArray *in_Requests_Satisfied,
    GHashTable *in_Observer_Info,
    DBusGMethodInvocation *context)
{
  tp_svc_client_observer_observe_channels_impl impl = (TP_SVC_CLIENT_OBSERVER_GET_CLASS (self)->observe_channels_cb);

  if (impl != NULL)
    {
      (impl) (self,
        in_Account,
        in_Connection,
        in_Channels,
        in_Dispatch_Operation,
        in_Requests_Satisfied,
        in_Observer_Info,
        context);
    }
  else
    {
      tp_dbus_g_method_return_not_implemented (context);
    }
}
static void
tp_svc_client_handler_handle_channels (TpSvcClientHandler *self,
    const gchar *in_Account,
    const gchar *in_Connection,
    const GPtrArray *in_Channels,
    const GPtrArray *in_Requests_Satisfied,
    guint64 in_User_Action_Time,
    GHashTable *in_Handler_Info,
    DBusGMethodInvocation *context)
{
  tp_svc_client_handler_handle_channels_impl impl = (TP_SVC_CLIENT_HANDLER_GET_CLASS (self)->handle_channels_cb);

  if (impl != NULL)
    {
      (impl) (self,
        in_Account,
        in_Connection,
        in_Channels,
        in_Requests_Satisfied,
        in_User_Action_Time,
        in_Handler_Info,
        context);
    }
  else
    {
      tp_dbus_g_method_return_not_implemented (context);
    }
}
static void
tp_svc_dbus_introspectable_introspect (TpSvcDBusIntrospectable *self,
    DBusGMethodInvocation *context)
{
  tp_svc_dbus_introspectable_introspect_impl impl = (TP_SVC_DBUS_INTROSPECTABLE_GET_CLASS (self)->introspect_cb);

  if (impl != NULL)
    {
      (impl) (self,
        context);
    }
  else
    {
      tp_dbus_g_method_return_not_implemented (context);
    }
}
static void
tp_svc_properties_interface_list_properties (TpSvcPropertiesInterface *self,
    DBusGMethodInvocation *context)
{
  tp_svc_properties_interface_list_properties_impl impl = (TP_SVC_PROPERTIES_INTERFACE_GET_CLASS (self)->list_properties_cb);

  if (impl != NULL)
    {
      (impl) (self,
        context);
    }
  else
    {
      tp_dbus_g_method_return_not_implemented (context);
    }
}
/**
 * tp_svc_media_stream_handler_unhold_failure_impl:
 * @self: The object implementing this interface
 * @context: Used to return values or throw an error
 *
 * The signature of an implementation of the D-Bus method
 * UnholdFailure on interface org.freedesktop.Telepathy.Media.StreamHandler.
 */
static void
tp_svc_media_stream_handler_unhold_failure (TpSvcMediaStreamHandler *self,
    DBusGMethodInvocation *context)
{
  tp_svc_media_stream_handler_unhold_failure_impl impl = (TP_SVC_MEDIA_STREAM_HANDLER_GET_CLASS (self)->unhold_failure);

  if (impl != NULL)
    {
      (impl) (self,
        context);
    }
  else
    {
      tp_dbus_g_method_return_not_implemented (context);
    }
}
/**
 * mc_svc_account_interface_external_password_storage_forget_password_impl:
 * @self: The object implementing this interface
 * @context: Used to return values or throw an error
 *
 * The signature of an implementation of the D-Bus method
 * ForgetPassword on interface org.freedesktop.Telepathy.Account.Interface.ExternalPasswordStorage.DRAFT.
 */
static void
mc_svc_account_interface_external_password_storage_forget_password (McSvcAccountInterfaceExternalPasswordStorage *self,
    DBusGMethodInvocation *context)
{
  mc_svc_account_interface_external_password_storage_forget_password_impl impl = (MC_SVC_ACCOUNT_INTERFACE_EXTERNAL_PASSWORD_STORAGE_GET_CLASS (self)->forget_password);

  if (impl != NULL)
    {
      (impl) (self,
        context);
    }
  else
    {
      tp_dbus_g_method_return_not_implemented (context);
    }
}
static void
tp_svc_call_stream_interface_media_finish_initial_candidates (TpSvcCallStreamInterfaceMedia *self,
    DBusGMethodInvocation *context)
{
  tp_svc_call_stream_interface_media_finish_initial_candidates_impl impl = (TP_SVC_CALL_STREAM_INTERFACE_MEDIA_GET_CLASS (self)->finish_initial_candidates_cb);

  if (impl != NULL)
    {
      (impl) (self,
        context);
    }
  else
    {
      tp_dbus_g_method_return_not_implemented (context);
    }
}
Beispiel #8
0
/**
 * tp_svc_debug_get_messages_impl:
 * @self: The object implementing this interface
 * @context: Used to return values or throw an error
 *
 * The signature of an implementation of the D-Bus method
 * GetMessages on interface org.freedesktop.Telepathy.Debug.
 */
static void
tp_svc_debug_get_messages (TpSvcDebug *self,
    DBusGMethodInvocation *context)
{
  tp_svc_debug_get_messages_impl impl = (TP_SVC_DEBUG_GET_CLASS (self)->get_messages);

  if (impl != NULL)
    {
      (impl) (self,
        context);
    }
  else
    {
      tp_dbus_g_method_return_not_implemented (context);
    }
}
/**
 * tp_svc_media_stream_handler_native_candidates_prepared_impl:
 * @self: The object implementing this interface
 * @context: Used to return values or throw an error
 *
 * The signature of an implementation of the D-Bus method
 * NativeCandidatesPrepared on interface org.freedesktop.Telepathy.Media.StreamHandler.
 */
static void
tp_svc_media_stream_handler_native_candidates_prepared (TpSvcMediaStreamHandler *self,
    DBusGMethodInvocation *context)
{
  tp_svc_media_stream_handler_native_candidates_prepared_impl impl = (TP_SVC_MEDIA_STREAM_HANDLER_GET_CLASS (self)->native_candidates_prepared);

  if (impl != NULL)
    {
      (impl) (self,
        context);
    }
  else
    {
      tp_dbus_g_method_return_not_implemented (context);
    }
}
static void
tp_svc_dbus_properties_get_all (TpSvcDBusProperties *self,
    const gchar *in_Interface_Name,
    DBusGMethodInvocation *context)
{
  tp_svc_dbus_properties_get_all_impl impl = (TP_SVC_DBUS_PROPERTIES_GET_CLASS (self)->get_all_cb);

  if (impl != NULL)
    {
      (impl) (self,
        in_Interface_Name,
        context);
    }
  else
    {
      tp_dbus_g_method_return_not_implemented (context);
    }
}
static void
tp_svc_protocol_normalize_contact (TpSvcProtocol *self,
    const gchar *in_Contact_ID,
    DBusGMethodInvocation *context)
{
  tp_svc_protocol_normalize_contact_impl impl = (TP_SVC_PROTOCOL_GET_CLASS (self)->normalize_contact_cb);

  if (impl != NULL)
    {
      (impl) (self,
        in_Contact_ID,
        context);
    }
  else
    {
      tp_dbus_g_method_return_not_implemented (context);
    }
}
static void
tp_svc_protocol_identify_account (TpSvcProtocol *self,
    GHashTable *in_Parameters,
    DBusGMethodInvocation *context)
{
  tp_svc_protocol_identify_account_impl impl = (TP_SVC_PROTOCOL_GET_CLASS (self)->identify_account_cb);

  if (impl != NULL)
    {
      (impl) (self,
        in_Parameters,
        context);
    }
  else
    {
      tp_dbus_g_method_return_not_implemented (context);
    }
}
static void
tp_svc_protocol_interface_addressing_normalize_contact_uri (TpSvcProtocolInterfaceAddressing *self,
    const gchar *in_URI,
    DBusGMethodInvocation *context)
{
  tp_svc_protocol_interface_addressing_normalize_contact_uri_impl impl = (TP_SVC_PROTOCOL_INTERFACE_ADDRESSING_GET_CLASS (self)->normalize_contact_uri_cb);

  if (impl != NULL)
    {
      (impl) (self,
        in_URI,
        context);
    }
  else
    {
      tp_dbus_g_method_return_not_implemented (context);
    }
}
Beispiel #14
0
static void
idle_svc_connection_interface_renaming_request_rename (IdleSvcConnectionInterfaceRenaming *self,
        const gchar *in_Identifier,
        DBusGMethodInvocation *context)
{
    idle_svc_connection_interface_renaming_request_rename_impl impl = (IDLE_SVC_CONNECTION_INTERFACE_RENAMING_GET_CLASS (self)->request_rename_cb);

    if (impl != NULL)
    {
        (impl) (self,
                in_Identifier,
                context);
    }
    else
    {
        tp_dbus_g_method_return_not_implemented (context);
    }
}
static void
tp_svc_call_stream_set_sending (TpSvcCallStream *self,
    gboolean in_Send,
    DBusGMethodInvocation *context)
{
  tp_svc_call_stream_set_sending_impl impl = (TP_SVC_CALL_STREAM_GET_CLASS (self)->set_sending_cb);

  if (impl != NULL)
    {
      (impl) (self,
        in_Send,
        context);
    }
  else
    {
      tp_dbus_g_method_return_not_implemented (context);
    }
}
static void
tp_svc_call_stream_interface_media_fail (TpSvcCallStreamInterfaceMedia *self,
    const GValueArray *in_Reason,
    DBusGMethodInvocation *context)
{
  tp_svc_call_stream_interface_media_fail_impl impl = (TP_SVC_CALL_STREAM_INTERFACE_MEDIA_GET_CLASS (self)->fail_cb);

  if (impl != NULL)
    {
      (impl) (self,
        in_Reason,
        context);
    }
  else
    {
      tp_dbus_g_method_return_not_implemented (context);
    }
}
static void
tp_svc_call_stream_interface_media_complete_receiving_state_change (TpSvcCallStreamInterfaceMedia *self,
    guint in_State,
    DBusGMethodInvocation *context)
{
  tp_svc_call_stream_interface_media_complete_receiving_state_change_impl impl = (TP_SVC_CALL_STREAM_INTERFACE_MEDIA_GET_CLASS (self)->complete_receiving_state_change_cb);

  if (impl != NULL)
    {
      (impl) (self,
        in_State,
        context);
    }
  else
    {
      tp_dbus_g_method_return_not_implemented (context);
    }
}
/**
 * tp_svc_media_stream_handler_codec_choice_impl:
 * @self: The object implementing this interface
 * @in_Codec_ID: guint  (FIXME, generate documentation)
 * @context: Used to return values or throw an error
 *
 * The signature of an implementation of the D-Bus method
 * CodecChoice on interface org.freedesktop.Telepathy.Media.StreamHandler.
 */
static void
tp_svc_media_stream_handler_codec_choice (TpSvcMediaStreamHandler *self,
    guint in_Codec_ID,
    DBusGMethodInvocation *context)
{
  tp_svc_media_stream_handler_codec_choice_impl impl = (TP_SVC_MEDIA_STREAM_HANDLER_GET_CLASS (self)->codec_choice);

  if (impl != NULL)
    {
      (impl) (self,
        in_Codec_ID,
        context);
    }
  else
    {
      tp_dbus_g_method_return_not_implemented (context);
    }
}
/**
 * tp_svc_media_stream_handler_codecs_updated_impl:
 * @self: The object implementing this interface
 * @in_Codecs: const GPtrArray * (FIXME, generate documentation)
 * @context: Used to return values or throw an error
 *
 * The signature of an implementation of the D-Bus method
 * CodecsUpdated on interface org.freedesktop.Telepathy.Media.StreamHandler.
 */
static void
tp_svc_media_stream_handler_codecs_updated (TpSvcMediaStreamHandler *self,
    const GPtrArray *in_Codecs,
    DBusGMethodInvocation *context)
{
  tp_svc_media_stream_handler_codecs_updated_impl impl = (TP_SVC_MEDIA_STREAM_HANDLER_GET_CLASS (self)->codecs_updated);

  if (impl != NULL)
    {
      (impl) (self,
        in_Codecs,
        context);
    }
  else
    {
      tp_dbus_g_method_return_not_implemented (context);
    }
}
Beispiel #20
0
static inline gboolean
check_supported_or_dbus_return (GabbleConnection *conn,
    DBusGMethodInvocation *context)
{
  if (TP_BASE_CONNECTION (conn)->status != TP_CONNECTION_STATUS_CONNECTED)
    {
      GError e = { TP_ERRORS, TP_ERROR_DISCONNECTED, "Not connected" };
      dbus_g_method_return_error (context, &e);
      return TRUE;
    }

  if (!(conn->features & GABBLE_CONNECTION_FEATURES_GOOGLE_MAIL_NOTIFY))
    {
      tp_dbus_g_method_return_not_implemented (context);
      return TRUE;
    }

  return FALSE;
}
static void
tp_svc_client_interface_requests_add_request (TpSvcClientInterfaceRequests *self,
    const gchar *in_Request,
    GHashTable *in_Properties,
    DBusGMethodInvocation *context)
{
  tp_svc_client_interface_requests_add_request_impl impl = (TP_SVC_CLIENT_INTERFACE_REQUESTS_GET_CLASS (self)->add_request_cb);

  if (impl != NULL)
    {
      (impl) (self,
        in_Request,
        in_Properties,
        context);
    }
  else
    {
      tp_dbus_g_method_return_not_implemented (context);
    }
}
static void
tp_svc_call_stream_request_receiving (TpSvcCallStream *self,
    guint in_Contact,
    gboolean in_Receive,
    DBusGMethodInvocation *context)
{
  tp_svc_call_stream_request_receiving_impl impl = (TP_SVC_CALL_STREAM_GET_CLASS (self)->request_receiving_cb);

  if (impl != NULL)
    {
      (impl) (self,
        in_Contact,
        in_Receive,
        context);
    }
  else
    {
      tp_dbus_g_method_return_not_implemented (context);
    }
}
static void
tp_svc_call_stream_interface_media_set_credentials (TpSvcCallStreamInterfaceMedia *self,
    const gchar *in_Username,
    const gchar *in_Password,
    DBusGMethodInvocation *context)
{
  tp_svc_call_stream_interface_media_set_credentials_impl impl = (TP_SVC_CALL_STREAM_INTERFACE_MEDIA_GET_CLASS (self)->set_credentials_cb);

  if (impl != NULL)
    {
      (impl) (self,
        in_Username,
        in_Password,
        context);
    }
  else
    {
      tp_dbus_g_method_return_not_implemented (context);
    }
}
/**
 * tp_svc_media_stream_handler_new_native_candidate_impl:
 * @self: The object implementing this interface
 * @in_Candidate_ID: const gchar * (FIXME, generate documentation)
 * @in_Transports: const GPtrArray * (FIXME, generate documentation)
 * @context: Used to return values or throw an error
 *
 * The signature of an implementation of the D-Bus method
 * NewNativeCandidate on interface org.freedesktop.Telepathy.Media.StreamHandler.
 */
static void
tp_svc_media_stream_handler_new_native_candidate (TpSvcMediaStreamHandler *self,
    const gchar *in_Candidate_ID,
    const GPtrArray *in_Transports,
    DBusGMethodInvocation *context)
{
  tp_svc_media_stream_handler_new_native_candidate_impl impl = (TP_SVC_MEDIA_STREAM_HANDLER_GET_CLASS (self)->new_native_candidate);

  if (impl != NULL)
    {
      (impl) (self,
        in_Candidate_ID,
        in_Transports,
        context);
    }
  else
    {
      tp_dbus_g_method_return_not_implemented (context);
    }
}
/**
 * tp_svc_media_stream_handler_error_impl:
 * @self: The object implementing this interface
 * @in_Error_Code: guint  (FIXME, generate documentation)
 * @in_Message: const gchar * (FIXME, generate documentation)
 * @context: Used to return values or throw an error
 *
 * The signature of an implementation of the D-Bus method
 * Error on interface org.freedesktop.Telepathy.Media.StreamHandler.
 */
static void
tp_svc_media_stream_handler_error (TpSvcMediaStreamHandler *self,
    guint in_Error_Code,
    const gchar *in_Message,
    DBusGMethodInvocation *context)
{
  tp_svc_media_stream_handler_error_impl impl = (TP_SVC_MEDIA_STREAM_HANDLER_GET_CLASS (self)->error);

  if (impl != NULL)
    {
      (impl) (self,
        in_Error_Code,
        in_Message,
        context);
    }
  else
    {
      tp_dbus_g_method_return_not_implemented (context);
    }
}
static void
tp_svc_client_approver_add_dispatch_operation (TpSvcClientApprover *self,
    const GPtrArray *in_Channels,
    const gchar *in_DispatchOperation,
    GHashTable *in_Properties,
    DBusGMethodInvocation *context)
{
  tp_svc_client_approver_add_dispatch_operation_impl impl = (TP_SVC_CLIENT_APPROVER_GET_CLASS (self)->add_dispatch_operation_cb);

  if (impl != NULL)
    {
      (impl) (self,
        in_Channels,
        in_DispatchOperation,
        in_Properties,
        context);
    }
  else
    {
      tp_dbus_g_method_return_not_implemented (context);
    }
}
static void
tp_svc_client_interface_requests_remove_request (TpSvcClientInterfaceRequests *self,
    const gchar *in_Request,
    const gchar *in_Error,
    const gchar *in_Message,
    DBusGMethodInvocation *context)
{
  tp_svc_client_interface_requests_remove_request_impl impl = (TP_SVC_CLIENT_INTERFACE_REQUESTS_GET_CLASS (self)->remove_request_cb);

  if (impl != NULL)
    {
      (impl) (self,
        in_Request,
        in_Error,
        in_Message,
        context);
    }
  else
    {
      tp_dbus_g_method_return_not_implemented (context);
    }
}
static void
tp_svc_call_stream_interface_media_report_receiving_failure (TpSvcCallStreamInterfaceMedia *self,
    guint in_Reason,
    const gchar *in_Error,
    const gchar *in_Message,
    DBusGMethodInvocation *context)
{
  tp_svc_call_stream_interface_media_report_receiving_failure_impl impl = (TP_SVC_CALL_STREAM_INTERFACE_MEDIA_GET_CLASS (self)->report_receiving_failure_cb);

  if (impl != NULL)
    {
      (impl) (self,
        in_Reason,
        in_Error,
        in_Message,
        context);
    }
  else
    {
      tp_dbus_g_method_return_not_implemented (context);
    }
}