Re: [Evolution-hackers] Creating Evolution Memos from CLI/API

2010-09-20 Thread Ross Burton
On 19 September 2010 17:35, Kartik Thakore thakore.kar...@gmail.com wrote:
 I am attempting to make a bridge between tomboy and evolution. How can I
 add/edit/update/delete evolution memos from a CLI or API?

Use libecal.  Specifically e_cal_new and e_cal_open_async to open the
memos, e_cal_get_object, e_cal_modify_object, e_cal_remove_object to
get/update/delete memos, e_cal_component_* to modify memos,
e_cal_get_query to do a live query (i.e. you'll get notifications of
changes in Evolution) of the memos (recommended) or
e_cal_get_object_list_as_comp for a one-shot query.

Ross
___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Creating Evolution Memos from CLI/API

2010-09-20 Thread Ross Burton
On 20 September 2010 07:07, Ross Burton r...@burtonini.com wrote:
 On 19 September 2010 17:35, Kartik Thakore thakore.kar...@gmail.com wrote:
 I am attempting to make a bridge between tomboy and evolution. How can I
 add/edit/update/delete evolution memos from a CLI or API?

 Use libecal.  Specifically e_cal_new and e_cal_open_async to open the
 memos, e_cal_get_object, e_cal_modify_object, e_cal_remove_object to
 get/update/delete memos, e_cal_component_* to modify memos,
 e_cal_get_query to do a live query (i.e. you'll get notifications of
 changes in Evolution) of the memos (recommended) or
 e_cal_get_object_list_as_comp for a one-shot query.

Oh and you'll probably want to look at e_cal_get_changes(), which lets
you get the changes notes since the last time you look.  Very useful
when combined with e_cal_query_objects() for syncing.

Ross
___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
http://mail.gnome.org/mailman/listinfo/evolution-hackers


[Evolution-hackers] Creating Evolution Memos from CLI/API

2010-09-19 Thread Kartik Thakore

Hello,

I am attempting to make a bridge between tomboy and evolution. How can I
add/edit/update/delete evolution memos from a CLI or API?

Regards,

Kartik Thakore thakore.kar...@gmail.com

___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
http://mail.gnome.org/mailman/listinfo/evolution-hackers