blob: 470d99c5362c99aeb61784ecd61c687ac431022e [file] [log] [blame]
#pragma once
#include <sdbusplus/bus.hpp>
namespace phosphor
{
namespace software
{
namespace updater
{
/**
* @class Flash
* @brief Contains flash management functions.
* @details The software class that contains functions to interact
* with the flash.
*/
class Flash
{
public:
/**
* @brief Writes the image file(s) to flash
*/
virtual void flashWrite() = 0;
};
} // namespace updater
} // namespace software
} // namespace phosphor