[haiku-development] Re: People/Person format extension

  • From: "Adrien Destugues" <pulkomandy@xxxxxxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Wed, 02 Nov 2011 16:01:04 +0100

Barrett <barrett666@xxxxxxxxx> a écrit :
> Since i think that the format must be keep simple, there's no need to
> store
> all data as attributes.
> My idea is something similar to what is already done for contacts
> image, by
> extending the format to store some basic set of fields (i.e. name,
> address,
> email, notes etc.) into attributes, and extended fields (i.e. various
> type
> of images, like personal or organization, file revision field, format
> version, timezone etc.) into the file with a defined structure, like
> flattened BContactFields. However, the possibility to add user defined
> attributes will be preserved.

Sounds like a job for BResource ?
It allows arbitrary data (including flatenned BMessages) to be stored
in the file.

--
Adrien.

Other related posts: