« Return to Thread: What's objtype "data" stand for?
Daniel,
I'm kind of confused by word "object type" and "object format".
My understanding for now is
(*) means not available
object type object format plugin data file N/A contact vcard30, vcard21 format-plugins/vformat event vevent20 format-plugins/vformat note vjournal format-plugins/vformat todo vtodo20 format-plugins/vformat email(*)
format-plugins/email (*) image(*)
format-plugins/image (*) bookmark(*)
format-plugins/bookmark (*) account(*)
format-plugins/account (*)
Thanks,
Halton.
On Tue, 2008-04-29 at 10:08 +0200, Daniel Gollub wrote:Do you mean use this format plugin, plugins like google-calendar to save/load password safely?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------------------------------------------------------------------------- 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
« Return to Thread: What's objtype "data" stand for?
| Free Forum Powered by Nabble | Forum Help |