syncevolution/src
Patrick Ohly 2fa3c3335a C++: replace boost::shared_ptr, boost::function, boost::bind
We can use std::shared_ptr and std::function instead now.

Lambdas are usually a better alternative to boost/std::bind. The
downside is the need to explicitly specify parameters completely. When
inlining callbacks entirely with lambdas, duplication of that
parameter list can be avoided.

Whenever possible, use std::make_shared to construct objects that are
tracked by std::shared_ptr.

Some objects need a std::weak_ptr during object destruction. For that
we have to use our own implementation of std::enable_shared_from_this,
with a matching creator function. The additional benefit is that we
can get rid of explicit static "create" methods by making that create
function a friend.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
2020-12-05 21:28:08 +01:00
..
backends C++: replace boost::shared_ptr, boost::function, boost::bind 2020-12-05 21:28:08 +01:00
dbus C++: replace boost::shared_ptr, boost::function, boost::bind 2020-12-05 21:28:08 +01:00
gdbusxx C++: replace boost::shared_ptr, boost::function, boost::bind 2020-12-05 21:28:08 +01:00
gnome-bluetooth GNOME Bluetooth: fix false (?) buffer overflow 2014-01-17 16:15:16 +01:00
gtk-ui GTK-UIs: avoid unnecessary variable initialization 2014-01-17 16:15:15 +01:00
gtk3-ui autotools: be more selective about suppressing deprecation warnings 2018-01-09 07:53:27 -08:00
syncevo C++: replace boost::shared_ptr, boost::function, boost::bind 2020-12-05 21:28:08 +01:00
synthesis-includes autotools: --disable-core --enable-gui => build only sync-ui and its D-Bus lib 2010-03-23 19:04:06 +01:00
templates Google: remove SyncML template, combine CalDAV/CardDAV 2014-07-28 15:24:46 +02:00
README.h added missing copyright and license headers 2009-05-11 16:31:17 +02:00
README.templates Merge remote branch 'origin/syncevolution-0-9-branch' 2009-11-30 21:41:53 +01:00
async.patch patch switches to async version of the Evolution API 2007-02-22 19:33:21 +00:00
client-test-app.cpp C++: replace boost::shared_ptr, boost::function, boost::bind 2020-12-05 21:28:08 +01:00
src.am gdbus: remove old libdbus-based implementation 2020-12-05 21:28:08 +01:00
syncevo-local-sync.cpp local sync: execute 'syncevo-local-sync' on child side, communicate via D-Bus 2012-01-20 13:38:49 +01:00
syncevolution.cpp C++: replace boost::shared_ptr, boost::function, boost::bind 2020-12-05 21:28:08 +01:00
testcases.am autotools: avoid redundancy in installation of test files 2014-05-16 11:26:55 +02:00
valgrind.supp ObexTransportAgent: Fix valgrind warnings (MB#10091) 2010-03-12 06:33:13 -08:00

README.templates

The configuration templates in "templates" get installed into
$(datadir)/syncevolution/templates.

When adding/changing a new server, then only enter the properties
which need to be changed here so that the default values can
be used for the remaining properties.

An icon can be added here for servers. The file name must start with
"icon".

Server configurations must be kept in sync in three different places:
- here (if a server is installed as files)
- in SyncEvolutionConfig.cpp's EvolutionSyncConfig::createServerTemplate()
- in SyncEvolutionCmdline.cpp's test server configs
- in test/test-dbus.py testGetConfigsTemplates()

Note that server icons must come with a suitable license that allows
redistribution.