1 Moving to libmodest-dbus-client
2 Time-stamp: <2007-10-11 18:16:37 (djcb)>
3 ========================================
5 Some notes on how to migrate from osso-email-interface to the
6 new libmodest-dbus-client.
10 In your debian/control-file, add "libmodest-dbus-client-dev" to your
11 Build-Depends, and remove any reference to osso-email-interface.
16 Add libmodest-dbus-client-1.0 to your modules, e.g.
17 PKG_CHECK_MODULES(LIBMODEST_DBUS_CLIENT,[libmodest-dbus-client-1.0])
18 and, again, remove all reference to osso-email-interface,
19 libossoemailinterface and friends.
23 In your implementation files, remove (again) al references to
24 osso-email-interface, and add:
25 #include <libmodest-dbus-client/libmodest-dbus-client.h>
28 4. replacing calls to osso-email-interface
29 ==========================================
30 After all this has been done, all that is left is replacing the
33 We give the osso-email-interface calls, and the corresponding
34 libmodest-dbus-client call:
37 1. osso_email_files_email (osso_ctx, my_file_list);
39 libmodest_dbus_client_compose_mail (osso_ctx, NULL, NULL, NULL, NULL, NULL, my_file_list);
44 2. osso_email_url_email (osso_ctx, url);
46 libmodest_dbus_client_compose_mail (osso_ctx, NULL, NULL, NULL, NULL, url, NULL);
51 3. osso_email_emailto_email (osso_ctx, to_list);
53 libmodest_dbus_client_mail_to (osso_ctx, to_listĀ as_string);
55 NOTE: libmodest_dbus_client expects to_list_asĀ string, ie. a comma-separated
56 list of email addresses.
60 Compile & run. That should do it! If you have any questions, pls. send them to
61 dirk-jan.binnema@nokia.com