diff options
author | Laurent Contzen <lcontzen@gmail.com> | 2012-08-08 17:07:20 +0800 |
---|---|---|
committer | Laurent Contzen <lcontzen@gmail.com> | 2012-08-09 18:51:40 +0800 |
commit | f7ba567b17c1d0d0cdc5d04e0bca4d2368be75fa (patch) | |
tree | 2e923a3798d381ccbf48f8a33f648071a678175e /libempathy-gtk | |
parent | dd5645c7493ef3abf7787797b576d1ca64f7845f (diff) | |
download | gsoc2013-empathy-f7ba567b17c1d0d0cdc5d04e0bca4d2368be75fa.tar gsoc2013-empathy-f7ba567b17c1d0d0cdc5d04e0bca4d2368be75fa.tar.gz gsoc2013-empathy-f7ba567b17c1d0d0cdc5d04e0bca4d2368be75fa.tar.bz2 gsoc2013-empathy-f7ba567b17c1d0d0cdc5d04e0bca4d2368be75fa.tar.lz gsoc2013-empathy-f7ba567b17c1d0d0cdc5d04e0bca4d2368be75fa.tar.xz gsoc2013-empathy-f7ba567b17c1d0d0cdc5d04e0bca4d2368be75fa.tar.zst gsoc2013-empathy-f7ba567b17c1d0d0cdc5d04e0bca4d2368be75fa.zip |
EmpathyRosterModelAggregator implements EmpathyRosterModel iface
Diffstat (limited to 'libempathy-gtk')
-rw-r--r-- | 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 92fb0e8fd..1f6a0f124 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) +{ + +} |