Manish Sinha (मनीष सिन्हा) has proposed merging 
lp:~manishsinha/zeitgeist/bluebird-fix-datamodel-properties into 
lp:~zeitgeist/zeitgeist/bluebird.

Requested reviews:
  Zeitgeist Framework Team (zeitgeist)

For more details, see:
https://code.launchpad.net/~manishsinha/zeitgeist/bluebird-fix-datamodel-properties/+merge/69348

Changed the various fields of datamodel from field to proper Properties
  
  Furthur Information: https://live.gnome.org/Vala/PropertiesSample

-- 
https://code.launchpad.net/~manishsinha/zeitgeist/bluebird-fix-datamodel-properties/+merge/69348
Your team Zeitgeist Framework Team is requested to review the proposed merge of 
lp:~manishsinha/zeitgeist/bluebird-fix-datamodel-properties into 
lp:~zeitgeist/zeitgeist/bluebird.
=== modified file 'src/datamodel.vala'
--- src/datamodel.vala	2011-07-26 18:54:13 +0000
+++ src/datamodel.vala	2011-07-26 19:36:21 +0000
@@ -20,15 +20,15 @@
 
 public class Event : Object {
 
-	uint32?   id;
-	int64     timestamp;
-	string    interpretation;
-	string    manifestation;
-	string    actor;
-	string    origin;
+	public uint32?   id { get; set; }
+	public int64     timestamp { get; set; }
+	public string    interpretation { get; set; }
+	public string    manifestation { get; set; }
+	public string    actor { get; set; }
+	public string    origin { get; set; }
 	
-	Subject[] subjects;
-	uint8[]   payload;
+	public Subject[] subjects { get; set; }
+	public uint8[]   payload { get; set; }
 
 	public Event.from_variant (Variant event_variant) {
 		stdout.printf("VAR: %u\n\n", event_variant.get_uint32());
@@ -37,11 +37,11 @@
 }
 
 public class Subject : Object {
-	string uri;
-	string interpretation;
-	string manifestation;
-	string mimetype;
-	string origin;
-	string text;
-	string storage;
+	public string uri { get; set; }
+	public string interpretation { get; set; }
+	public string manifestation { get; set; }
+	public string mimetype { get; set; }
+	public string origin { get; set; }
+	public string text { get; set; }
+	public string storage { get; set; }
 }

_______________________________________________
Mailing list: https://launchpad.net/~zeitgeist
Post to     : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp

Reply via email to