1 #include "rde/notifier_dbus_handler.hpp" 2 3 namespace bios_bmc_smm_error_logger 4 { 5 namespace rde 6 { 7 CperFileNotifierHandler(const std::shared_ptr<sdbusplus::asio::connection> & conn)8CperFileNotifierHandler::CperFileNotifierHandler( 9 const std::shared_ptr<sdbusplus::asio::connection>& conn) : 10 objManager(static_cast<sdbusplus::bus_t&>(*conn), 11 CperFileNotifier::cperBasePath), 12 objServer(conn) 13 {} 14 createEntry(const std::string & filePath)15void CperFileNotifierHandler::createEntry(const std::string& filePath) 16 { 17 auto obj = 18 std::make_unique<CperFileNotifier>(objServer, filePath, nextEntry); 19 ++nextEntry; 20 } 21 22 } // namespace rde 23 } // namespace bios_bmc_smm_error_logger 24