[empathy: 3/12] EmpathyRosterModelAggregator implements EmpathyRosterModel iface
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy: 3/12] EmpathyRosterModelAggregator implements EmpathyRosterModel iface
- Date: Fri, 10 Aug 2012 15:24:17 +0000 (UTC)
commit f7ba567b17c1d0d0cdc5d04e0bca4d2368be75fa
Author: Laurent Contzen <lcontzen gmail com>
Date: Wed Aug 8 11:07:20 2012 +0200
EmpathyRosterModelAggregator implements EmpathyRosterModel iface
libempathy-gtk/empathy-roster-model-aggregator.c | 19 +++++++++++++++++--
1 files changed, 17 insertions(+), 2 deletions(-)
---
diff --git a/libempathy-gtk/empathy-roster-model-aggregator.c b/libempathy-gtk/empathy-roster-model-aggregator.c
index 92fb0e8..1f6a0f1 100644
--- a/libempathy-gtk/empathy-roster-model-aggregator.c
+++ b/libempathy-gtk/empathy-roster-model-aggregator.c
@@ -1,6 +1,9 @@
/*
* empathy-roster-model-aggregator.c
*
+ * Implementation of EmpathyRosterModel using FolksIndividualAggregator as
+ * source.
+ *
* Copyright (C) 2012 Collabora Ltd. <http://www.collabora.co.uk/>
*
* This library is free software; you can redistribute it and/or
@@ -23,6 +26,8 @@
#include "empathy-roster-model-aggregator.h"
+#include "empathy-roster-model.h"
+
/**
* SECTION: empathy-roster-model-aggregator
* @title: EmpathyRosterModelAggregator
@@ -47,8 +52,12 @@
* Since: UNRELEASED
*/
-G_DEFINE_TYPE (EmpathyRosterModelAggregator, empathy_roster_model_aggregator,
- G_TYPE_OBJECT)
+static void roster_model_iface_init (EmpathyRosterModelInterface *iface);
+
+G_DEFINE_TYPE_WITH_CODE (EmpathyRosterModelAggregator,
+ empathy_roster_model_aggregator,
+ G_TYPE_OBJECT,
+ G_IMPLEMENT_INTERFACE (EMPATHY_TYPE_ROSTER_MODEL, roster_model_iface_init))
enum
{
@@ -164,3 +173,9 @@ empathy_roster_model_aggregator_new (void)
return g_object_new (EMPATHY_TYPE_ROSTER_MODEL_AGGREGATOR,
NULL);
}
+
+static void
+roster_model_iface_init (EmpathyRosterModelInterface *iface)
+{
+
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]