Public feed #602857

Untitled

public text v1 · immutable
Raw Edit
·published 2007-07-04 10:48 UTC
rendered paste body
		virtual void sync_done(OSyncPluginInfo *info, OSyncContext *ctx)
		{
			QString anchorpath = QString("%1/anchor.db").arg(osync_plugin_info_get_configdir(info));
			
			if (mKaddrbook && mKaddrbook->connected)
			{
				osync_anchor_update(anchorpath, "contact", "true");
			}
			if (mKcal && mKcal->connected)
			{
				osync_anchor_update(anchorpath, "event", "true");
				osync_anchor_update(anchorpath, "todo", "true");
			}
			osync_context_report_success(ctx);
		}