sdbusplus: use shorter type aliases
The sdbusplus headers provide shortened aliases for many types.
Switch to using them to provide better code clarity and shorter
lines. Possible replacements are for:
* bus_t
* exception_t
* manager_t
* match_t
* message_t
* object_t
* slot_t
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ibd2a0b512bfb7caf65bfab64b271d194da520aac
diff --git a/host-cmd-manager.hpp b/host-cmd-manager.hpp
index 94cc6f1..f2fe373 100644
--- a/host-cmd-manager.hpp
+++ b/host-cmd-manager.hpp
@@ -32,7 +32,7 @@
* @param[in] bus - dbus handler
* @param[in] event - pointer to sd_event
*/
- explicit Manager(sdbusplus::bus::bus& bus);
+ explicit Manager(sdbusplus::bus_t& bus);
/** @brief Extracts the next entry in the queue and returns
* Command and data part of it.
@@ -92,10 +92,10 @@
*
* @param[in] msg - the sdbusplus message containing the property
*/
- void clearQueueOnPowerOn(sdbusplus::message::message& msg);
+ void clearQueueOnPowerOn(sdbusplus::message_t& msg);
/** @brief Reference to the dbus handler */
- sdbusplus::bus::bus& bus;
+ sdbusplus::bus_t& bus;
/** @brief Queue to store the requested commands */
std::queue<CommandHandler> workQueue{};