syncevolution/src/dbus/server
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
..
auto-sync-manager.cpp C++: replace boost::shared_ptr, boost::function, boost::bind 2020-12-05 21:28:08 +01:00
auto-sync-manager.h C++: replace boost::shared_ptr, boost::function, boost::bind 2020-12-05 21:28:08 +01:00
auto-term.h Logging: eliminate _instance from SE_LOG* macros 2013-05-06 16:28:13 +02:00
bluetooth_products.ini dbus: Added device id for Nokia 3720 Classic 2011-10-04 10:16:04 +02:00
bluez-manager.cpp C++: replace boost::shared_ptr, boost::function, boost::bind 2020-12-05 21:28:08 +01:00
bluez-manager.h C++: replace boost::shared_ptr, boost::function, boost::bind 2020-12-05 21:28:08 +01:00
client.cpp C++: replace boost::shared_ptr, boost::function, boost::bind 2020-12-05 21:28:08 +01:00
client.h C++: replace boost::shared_ptr, boost::function, boost::bind 2020-12-05 21:28:08 +01:00
cmdline-wrapper.h C++: replace boost::shared_ptr, boost::function, boost::bind 2020-12-05 21:28:08 +01:00
connection.cpp C++: replace boost::shared_ptr, boost::function, boost::bind 2020-12-05 21:28:08 +01:00
connection.h C++: replace boost::shared_ptr, boost::function, boost::bind 2020-12-05 21:28:08 +01:00
connman-client.cpp C++: replace boost::shared_ptr, boost::function, boost::bind 2020-12-05 21:28:08 +01:00
connman-client.h C++: replace boost::shared_ptr, boost::function, boost::bind 2020-12-05 21:28:08 +01:00
dbus-callbacks.cpp C++: replace boost::shared_ptr, boost::function, boost::bind 2020-12-05 21:28:08 +01:00
dbus-callbacks.h C++: replace boost::shared_ptr, boost::function, boost::bind 2020-12-05 21:28:08 +01:00
dbus-sync.cpp C++: replace boost::shared_ptr, boost::function, boost::bind 2020-12-05 21:28:08 +01:00
dbus-sync.h C++: replace boost::shared_ptr, boost::function, boost::bind 2020-12-05 21:28:08 +01:00
dbus-transport-agent.cpp Logging: eliminate _instance from SE_LOG* macros 2013-05-06 16:28:13 +02:00
dbus-transport-agent.h C++: replace boost::shared_ptr, boost::function, boost::bind 2020-12-05 21:28:08 +01:00
dbus-user-interface.cpp password handling: fixed KWallet support, global configuration option 2012-05-30 09:09:00 +02:00
dbus-user-interface.h password handling: fixed KWallet support, global configuration option 2012-05-30 09:09:00 +02:00
exceptions.cpp GDBus: support external dbus_traits 2012-05-10 22:08:46 +02:00
exceptions.h gdbus: remove old libdbus-based implementation 2020-12-05 21:28:08 +01:00
info-req.cpp C++: replace boost::shared_ptr, boost::function, boost::bind 2020-12-05 21:28:08 +01:00
info-req.h timeout.h: move from D-Bus server to syncevo 2018-01-09 07:53:27 -08:00
localed-listener.cpp C++: replace boost::shared_ptr, boost::function, boost::bind 2020-12-05 21:28:08 +01:00
localed-listener.h C++: replace boost::shared_ptr, boost::function, boost::bind 2020-12-05 21:28:08 +01:00
main.cpp C++: replace boost::shared_ptr, boost::function, boost::bind 2020-12-05 21:28:08 +01:00
network-manager-client.cpp C++: replace boost::shared_ptr, boost::function, boost::bind 2020-12-05 21:28:08 +01:00
network-manager-client.h C++: replace boost::shared_ptr, boost::function, boost::bind 2020-12-05 21:28:08 +01:00
notification-backend-base.h dbus-server: Make dbus-server notification file names conformant 2011-12-05 12:39:14 +01:00
notification-backend-libnotify.cpp C++: simpler for loops 2020-12-05 21:28:08 +01:00
notification-backend-libnotify.h dbus-server: Make dbus-server notification file names conformant 2011-12-05 12:39:14 +01:00
notification-backend-mlite.cpp dbus-server: Make dbus-server notification file names conformant 2011-12-05 12:39:14 +01:00
notification-backend-mlite.h dbus-server: Make dbus-server notification file names conformant 2011-12-05 12:39:14 +01:00
notification-backend-noop.cpp dbus-server: Make dbus-server notification file names conformant 2011-12-05 12:39:14 +01:00
notification-backend-noop.h dbus-server: Make dbus-server notification file names conformant 2011-12-05 12:39:14 +01:00
notification-manager-base.h dbus-server: Make dbus-server notification file names conformant 2011-12-05 12:39:14 +01:00
notification-manager-factory.cpp C++: replace boost::shared_ptr, boost::function, boost::bind 2020-12-05 21:28:08 +01:00
notification-manager-factory.h C++: replace boost::shared_ptr, boost::function, boost::bind 2020-12-05 21:28:08 +01:00
notification-manager.cpp dbus-server: Make dbus-server notification file names conformant 2011-12-05 12:39:14 +01:00
notification-manager.h dbus-server: Make dbus-server notification file names conformant 2011-12-05 12:39:14 +01:00
org.syncevolution.service.in Add a systemd user service as a backend for the D-Bus session services 2016-09-26 12:58:27 +02:00
presence-status.cpp C++: simpler for loops 2020-12-05 21:28:08 +01:00
presence-status.h D-Bus: fix compiler warning 2013-10-25 21:07:26 +01:00
progress-data.cpp D-Bus server: ensure progress percentage is 0-100 2012-08-29 11:01:29 +02:00
progress-data.h D-Bus server: ensure progress percentage is 0-100 2012-08-29 11:01:29 +02:00
read-operations.cpp C++: replace boost::shared_ptr, boost::function, boost::bind 2020-12-05 21:28:08 +01:00
read-operations.h C++: replace boost::shared_ptr, boost::function, boost::bind 2020-12-05 21:28:08 +01:00
resource.h server: Renamed 'dbus-server' sub-directory to 'dbus/server' 2011-08-26 12:52:16 +02:00
restart.h D-Bus server: fix server restarting 2020-08-09 16:26:42 +02:00
server.am syncevo-dbus-server: remove virtual address book feature 2020-12-05 21:28:08 +01:00
server.cpp C++: replace boost::shared_ptr, boost::function, boost::bind 2020-12-05 21:28:08 +01:00
server.h C++: replace boost::shared_ptr, boost::function, boost::bind 2020-12-05 21:28:08 +01:00
session-common.h PIM: new return value for SyncPeer(), new SyncProgress signal (FDO #63417) 2013-05-16 11:24:48 +02:00
session-helper.cpp C++: replace boost::shared_ptr, boost::function, boost::bind 2020-12-05 21:28:08 +01:00
session-helper.h C++: replace boost::shared_ptr, boost::function, boost::bind 2020-12-05 21:28:08 +01:00
session.cpp C++: replace boost::shared_ptr, boost::function, boost::bind 2020-12-05 21:28:08 +01:00
session.h C++: replace boost::shared_ptr, boost::function, boost::bind 2020-12-05 21:28:08 +01:00
source-progress.h PIM: enhanced progress notifications (FDO #72114) 2014-04-01 16:45:09 +02:00
source-status.h build: Enable configure switch to build with GIO GDBus 2011-11-29 16:38:38 +00:00
sync-helper.cpp C++: replace boost::shared_ptr, boost::function, boost::bind 2020-12-05 21:28:08 +01:00
syncevo-dbus-server-startup.sh.in syncevo-dbus-server-startup.sh.in: optional start via D-Bus activation 2016-09-26 12:58:27 +02:00
syncevo-dbus-server.desktop.in server: Renamed 'dbus-server' sub-directory to 'dbus/server' 2011-08-26 12:52:16 +02:00
syncevo-dbus-server.service.in Add a systemd user service as a backend for the D-Bus session services 2016-09-26 12:58:27 +02:00
timer.h D-Bus server: use monotonic time for timeouts 2014-04-01 16:45:09 +02:00