[folks] Add concept of linkeable properties to Persona



commit dcd308113590ecf0316a5747254b0ce30b50868b
Author: Philip Withnall <philip withnall collabora co uk>
Date:   Fri Jul 16 13:39:55 2010 +0100

    Add concept of linkeable properties to Persona

 folks/persona.vala |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/folks/persona.vala b/folks/persona.vala
index 417703c..ae9d0f6 100644
--- a/folks/persona.vala
+++ b/folks/persona.vala
@@ -50,4 +50,12 @@ public abstract class Folks.Persona : Object
    * The { link PersonaStore} which contains this Persona.
    */
   public weak PersonaStore store { get; construct; }
+
+  /**
+   * The names of the properties of this Persona which are linkable.
+   *
+   * Note that { link Persona.uid} is always implicitly a member of this list,
+   * and doesn't need to be added explicitly.
+   */
+  public string[] linkable_properties { get; protected set; }
 }



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