From 1e4922a6745cc77f9ce6176c3c3cb6d8f4750565 Mon Sep 17 00:00:00 2001 From: Brad Bishop Date: Wed, 12 Jul 2017 22:56:49 -0400 Subject: sdbusplus: Add PropertiesChanged type alias Add an alias to cut down on typing when using properties changed signal callbacks. Change-Id: I494d58006cbc136fc2f1d9395039a4535922f35e Signed-off-by: Brad Bishop --- sdbusplus.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sdbusplus.hpp') diff --git a/sdbusplus.hpp b/sdbusplus.hpp index 133443f..fb6c51c 100644 --- a/sdbusplus.hpp +++ b/sdbusplus.hpp @@ -19,6 +19,10 @@ namespace detail namespace errors = sdbusplus::xyz::openbmc_project::Common::Error; } // namespace detail +/** @brief Alias for PropertiesChanged signal callbacks. */ +template +using Properties = std::map>; + /** @class SDBusPlus * @brief DBus access delegate implementation for sdbusplus. */ -- cgit v1.2.1