[folks] Add LocalIdDetails interface to link Personas from Tracker



commit 5cc2e1c48d274aa993e34bfea71c666efbdeb85e
Author: Raul Gutierrez Segales <raul gutierrez segales collabora co uk>
Date:   Thu Apr 7 17:32:18 2011 +0100

    Add LocalIdDetails interface to link Personas from Tracker

 folks/Makefile.am           |    1 +
 folks/local-id-details.vala |   40 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 41 insertions(+), 0 deletions(-)
---
diff --git a/folks/Makefile.am b/folks/Makefile.am
index 6e8fb89..95bb2ab 100644
--- a/folks/Makefile.am
+++ b/folks/Makefile.am
@@ -24,6 +24,7 @@ libfolks_la_SOURCES = \
 	group-details.vala \
 	web-service-details.vala \
 	im-details.vala \
+	local-id-details.vala \
 	name-details.vala \
 	note-details.vala \
 	phone-details.vala \
diff --git a/folks/local-id-details.vala b/folks/local-id-details.vala
new file mode 100644
index 0000000..c6ba84e
--- /dev/null
+++ b/folks/local-id-details.vala
@@ -0,0 +1,40 @@
+/*
+ * Copyright (C) 2011 Collabora Ltd.
+ *
+ * This library is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation, either version 2.1 of the License, or
+ * (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this library.  If not, see <http://www.gnu.org/licenses/>.
+ *
+ * Authors:
+ *       Raul Gutierrez Segales <raul gutierrez segales collabora co uk>
+ */
+
+using Gee;
+using GLib;
+
+/**
+ * This interface represents the list of IDs corresponding
+ * to { link Persona}s from backends with write support so
+ * that they can be linked.
+ *
+ * @since UNRELEASED
+ */
+public interface Folks.LocalIdDetails : Object
+{
+  /**
+   * The IDs corresponding to contacts in a
+   * backend that we fully trust.
+   *
+   * @since UNRELEASED
+   */
+  public abstract HashSet<string> local_ids { get; set; }
+}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]