syncevolution/src/backends/evolution
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
..
EvolutionCalendarSource.cpp C++: replace boost::shared_ptr, boost::function, boost::bind 2020-12-05 21:28:08 +01:00
EvolutionCalendarSource.h C++: replace boost::shared_ptr, boost::function, boost::bind 2020-12-05 21:28:08 +01:00
EvolutionCalendarSourceRegister.cpp C++: replace boost::shared_ptr, boost::function, boost::bind 2020-12-05 21:28:08 +01:00
EvolutionContactSource.cpp C++: replace boost::shared_ptr, boost::function, boost::bind 2020-12-05 21:28:08 +01:00
EvolutionContactSource.h C++: replace boost::shared_ptr, boost::function, boost::bind 2020-12-05 21:28:08 +01:00
EvolutionContactSourceRegister.cpp C++: replace boost::shared_ptr, boost::function, boost::bind 2020-12-05 21:28:08 +01:00
EvolutionMemoSource.h EDS: memo syncing as iCalendar 2.0 (FDO #52714) 2014-09-08 11:07:31 +02:00
EvolutionSyncSource.cpp C++: replace boost::shared_ptr, boost::function, boost::bind 2020-12-05 21:28:08 +01:00
EvolutionSyncSource.h C++: replace boost::shared_ptr, boost::function, boost::bind 2020-12-05 21:28:08 +01:00
configure-sub.in EDS: remove redundant libebook-contacts dependency 2013-10-25 21:07:26 +01:00
e-cal-check-timezones.c EDS: added support for EDS 3.5.x 2012-07-24 08:25:20 +00:00
e-cal-check-timezones.h Dynamic loadable backends: repackage libsyncevolution to enable dynamic loadable backends 2009-09-23 07:35:25 +02:00
evolution.am EDS: memo syncing as iCalendar 2.0 (FDO #52714) 2014-09-08 11:07:31 +02:00