syncevolution/src
Patrick Ohly 546b97308d sync progress: generate information about inactive sources
Sources which aren't active during a sync exist in the SyncEvolution
and therefore GUIs may show them. The Synthesis engine isn't told
about these sources, so it won't generate any events for them.

This patch generates the normal 100% done events and the final
source is "done" events inside the EvolutionSyncClient before even
invoking the Synthesis engine. That way GUIs don't have to treat
these inactive sources in any special way.

The command line output is aware of this change and suppresses
output for inactive sources, except for a single INFO line which
tells the user that the source is inactive.

Because of the way the internal API works, it is necessary to
instantiate a dummy SyncSource with no config nodes.
2009-10-07 18:14:12 +02:00
..
backends more classes renamed 2009-10-06 17:22:47 +02:00
dbus D-Bus API: added Server.InfoRequest/Response 2009-10-07 18:14:01 +02:00
default configuration: added "ConsumerReady" option 2009-07-09 10:40:00 +02:00
gdbus D-Bus C++: added support for structs 2009-10-07 16:11:33 +02:00
gtk-ui Revert "gtk-ui: only show one window at a time" 2009-09-28 13:49:08 +02:00
syncevo sync progress: generate information about inactive sources 2009-10-07 18:14:12 +02:00
.cvsignore test for copying via server now transmits testVCard.vcf and also compares against it 2006-03-18 13:35:23 +00:00
async.patch patch switches to async version of the Evolution API 2007-02-22 19:33:21 +00:00
client-test-app.cpp sync source handling: implemented per-source property filtering, Cmdline uses it 2009-10-07 18:10:00 +02:00
CmdlineSyncClient.cpp sync source handling: implemented per-source property filtering, Cmdline uses it 2009-10-07 18:10:00 +02:00
CmdlineSyncClient.h sync source handling: implemented per-source property filtering, Cmdline uses it 2009-10-07 18:10:00 +02:00
Makefile-gen.am syncevo-dbus-server: moved to gdbus with C++ bridge 2009-10-07 18:03:16 +02:00
org.Moblin.SyncEvolution.service.in build rules: moved D-Bus into sub directories 2009-05-06 19:52:55 +02:00
README.h added missing copyright and license headers 2009-05-11 16:31:17 +02:00
shlibs.local reverted to 0.7 packaging 2008-07-03 19:56:15 +00:00
sunbird_client.xml use Synthesis SDK to run a sync session 2009-03-25 14:43:32 +01:00
syncclient_sample_config.xml Google->Evolution: make sure that WORK/HOME numbers are displayed (MB #6501) 2009-10-06 12:10:53 +02:00
syncevo-dbus-server.cpp syncevo-dbus-server: use string for session identifier 2009-10-07 18:13:43 +02:00
syncevolution.cpp sync source handling: implemented per-source property filtering, Cmdline uses it 2009-10-07 18:10:00 +02:00
valgrind.supp first working version of SyncSource for Evolution contacts (requires Sync4j C++ API 2.0, not currently available) 2005-11-05 22:04:33 +00:00

/*
 * Copyright (C) 2008 Patrick Ohly <patrick.ohly@gmx.de>
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) version 3.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
 * 02110-1301  USA
 */

/**
 * @mainpage Getting Started
 *
 * This documentation for SyncEvolution and the Funambol C++ Client
 * API was generated automatically from the source code.
 *
 * While most of the classes in SyncEvolution are documented, very
 * little effort was spent on organizing this information in a coherent
 * way. If you are a developer who wants to write a SyncML client based
 * on the SyncEvolution framework, then you should have a look at
 * the following classes:
 * - TrackingSyncSource is the most convenient class to derive from.
 * - EvolutionSyncSource is a bit more general.
 * - RegisterSyncSource adds additional sources to the framework.
 *
 * The following classes help with testing your derived classes:
 * - RegisterSyncSourceTest is what you have to use.
 * - TestEvolution uses that information.
 * - ClientTest, LocalTests, SyncTests are used by TestEvolution.
 *
 * The FileSyncSource is a good example to get started.
 */