On Tuesday 29 April 2008 09:57:18 Halton Huo wrote:
> So currently libopensync support five obj types:
>
> * data: a wildcard
> * event:
> * contact:
> * note:
> * todo:
>
> Is all objtypes a static list? I mean any possible to add more objtypes
> like file, image, email, and so on in the future. (file is wildcard for
> image and email) This could affect the GUI implement.
Yeah, that is possible and intended. Just write a new format plugin which
registers a objformat with a new object type. We might should specify future
objtypes, to avoid different names of object type - bad example: picture,
image, photo, ...
PS: there is already the object format "file" with the object type "data" ;)
So from your list only object type "email" and "image" is missing...
Also cool would be:
- "bookmark"
- "account" - like keys/passwords/account (e.g. from KWallet, gnome-key-ring)
...
- "email"
- "image"
But i guess you're asking to know if it's worth to handle the number of
available object types dynamic, not static/hardcoded - right? If so you
might still need to map those objtype strings to something human-readable
inside your UI. Like: "contact" -> "Contacts", "event" -> "Appointments", ...
best regards,
Daniel
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone_______________________________________________
Opensync-devel mailing list
Opensync-devel@...
https://lists.sourceforge.net/lists/listinfo/opensync-devel