*/
#include "config.h"
+#include "empathy-client-factory.h"
-#include <stdio.h>
-#include <stdlib.h>
-
-#include <telepathy-glib/account-channel-request.h>
-#include <telepathy-glib/simple-handler.h>
-#include <telepathy-glib/interfaces.h>
-#include <telepathy-glib/util.h>
-
-#include <libempathy/empathy-client-factory.h>
-#include <libempathy/empathy-request-util.h>
-#include <libempathy/empathy-utils.h>
+#include <telepathy-glib/telepathy-glib-dbus.h>
#include "empathy-call-factory.h"
#include "empathy-call-handler.h"
+#include "empathy-request-util.h"
#define DEBUG_FLAG EMPATHY_DEBUG_VOIP
-#include <libempathy/empathy-debug.h>
+#include "empathy-debug.h"
G_DEFINE_TYPE(EmpathyCallFactory, empathy_call_factory, TP_TYPE_BASE_CLIENT)
NULL, NULL,
g_cclosure_marshal_generic,
G_TYPE_NONE,
- 2, EMPATHY_TYPE_CALL_HANDLER, G_TYPE_BOOLEAN);
+ 2, EMPATHY_TYPE_CALL_HANDLER, G_TYPE_UINT64);
signals[INCOMING_CALL] =
g_signal_new ("incoming-call",
self = EMPATHY_CALL_FACTORY (g_object_new (EMPATHY_TYPE_CALL_FACTORY,
"account-manager", am,
"factory", factory,
- "name", EMPATHY_CALL_BUS_NAME_SUFFIX,
+ "name", EMPATHY_CALL_TP_BUS_NAME_SUFFIX,
NULL));
g_object_unref (am);
handler = empathy_call_handler_new_for_channel (call, contact);
g_signal_emit (self, signals[NEW_CALL_HANDLER], 0,
- handler, FALSE);
+ handler, user_action_time);
g_object_unref (handler);
g_object_unref (contact);