1 #ifndef AKTUALIZR_SECONDARY_UPDATE_AGENT_FILE_H
2 #define AKTUALIZR_SECONDARY_UPDATE_AGENT_FILE_H
4 #include "update_agent.h"
8 FileUpdateAgent(boost::filesystem::path target_filepath, std::string target_name)
9 : target_filepath_{std::move(target_filepath)}, current_target_name_{std::move(target_name)} {}
12 bool isTargetSupported(
const Uptane::Target& target)
const override;
16 void completeInstall()
override;
20 const boost::filesystem::path target_filepath_;
21 std::string current_target_name_;
24 #endif // AKTUALIZR_SECONDARY_UPDATE_AGENT_FILE_H