On Thu, 2005-10-27 at 14:27 +0200, Nabil Sayegh wrote: > Hi all, > > I would like to store additional fields in an appointment, so that it > survives > being synced. Even if the device can't display these fields, I would like to > not lose them on my desktop, e.g. X-messaging/icq-All:... > > How would one do this?
In theory it could be done as follows... :-) Follow the instructions in rra/lib/README but make up IDs for the new fields. I suggest that a unique number series is used. Some of the existing tags match these tags, so avoiding all of these would probably be a good idea: http://cvs.winehq.org/cvsweb/wine/include/mapitags.h?rev=HEAD&content-type=text/x-cvsweb-markup The range 0xd000 to 0xdfff looks available for example. Put in the relevant *_ids.h file, or maybe it's best to create a new "synce_ids.h". I suggest something like this: #define SYNCE_ID_BASE 0xd000 #define ID_MESSAGING_ICQ (SYNCE_ID_BASE+0) #define ID_DOGS_NAME (SYNCE_ID_BASE+1) #define ID_CATS_NAME (SYNCE_ID_BASE+2) #define ID_FAVORITE_BEVERAGE (SYNCE_ID_BASE+3) #define ID_BANK_ACCOUNT (SYNCE_ID_BASE+4) (I admit I made up some fields... :-) -- Regards, -\- David Eriksson -/- SynCE - http://synce.sourceforge.net ScummVM - http://scummvm.sourceforge.net Desquirr - http://desquirr.sourceforge.net ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ Synce-devel mailing list Synce-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synce-devel