[Freeassociation-devel] Adding a new property with enumerated value type
Ken Murchison
murch at andrew.cmu.edu
Thu Jan 23 09:13:10 PST 2014
On 1/22/14, 6:55 PM, Ken Murchison wrote:
> Is there a recipe for adding a new property to libical? I am trying to
> add the BUSYTYPE property as defined by
> http://tools.ietf.org/html/draft-daboo-calendar-availability I have
> already successfully added the VAVAILABILITY and VAVAILABLE components.
>
> I have added what I believe to be required in the design-data directory
> but I am getting undefined symbols for icalvalue_get_busytype and
> icalvalue_new_busytype
>
I found a quick solution to my problem, but I don't know if its the
correct solution. I had copied the CLASS property declaration as a
starting point for BUSYTYPE, which uses the (m) gen flag. By switching
to the (a) gen flag, the library builds.
I'm assuming that (a) means automatic and (m) means manual, but how does
one determine the correct gen flag, and what other code needs to be
written when using (m)?
--
Kenneth Murchison
Principal Systems Software Engineer
Carnegie Mellon University
More information about the libical-devel
mailing list