soylent r259 - trunk/libsoylent



Author: svenp
Date: Fri Aug  1 10:17:26 2008
New Revision: 259
URL: http://svn.gnome.org/viewvc/soylent?rev=259&view=rev

Log:
added address struct

Modified:
   trunk/libsoylent/sl-person.h

Modified: trunk/libsoylent/sl-person.h
==============================================================================
--- trunk/libsoylent/sl-person.h	(original)
+++ trunk/libsoylent/sl-person.h	Fri Aug  1 10:17:26 2008
@@ -129,6 +129,8 @@
 typedef struct _SlPerson      SlPerson;
 typedef struct _SlPersonClass SlPersonClass;
 typedef struct _SlPersonPriv  SlPersonPriv;
+  
+typedef struct _SlAddress SlAddress;
 
 struct _SlPerson
 {
@@ -141,6 +143,17 @@
   SlEntityClass parent;
 };
 
+struct _SlAddress
+{
+  gchar *country;
+  gchar *region;
+  gchar *city;
+  gchar *street;
+  gchar *postal_code;
+  gchar *addition;
+  gchar *po_box;
+};
+
 GType sl_person_get_type (void);
 
 SlPerson *sl_person_new (const gchar *name);



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