34 std::function<
bool()>
action, std::function<
void()> cleanup,
35 std::chrono::system_clock::duration delta);
40 std::vector<uint8_t>
_fw;
48 std::shared_ptr<firmware_update_manager> manager,
bool expaned);
50 void set_color_scheme(
float t)
const override;
53 int calc_height()
override;
GLuint const GLchar * name
bool check_for(std::function< bool()> action, std::function< void()> cleanup, std::chrono::system_clock::duration delta)
GLsizei const GLchar *const * string
std::vector< int > parse_fw_version(const std::string &fw)
std::function< void(std::function< void()>)> invoker
void process_flow(std::function< void()> cleanup, invoker invoke) override
std::weak_ptr< notifications_model > _not_model
const device_model & get_device_model() const
bool is_recommended_fw_available(std::string id)
std::map< int, std::vector< uint8_t > > create_default_fw_table()
int parse_product_line(std::string id)
firmware_update_manager(std::shared_ptr< notifications_model > not_model, device_model &model, device dev, context ctx, std::vector< uint8_t > fw, bool is_signed)
std::shared_ptr< notifications_model > get_protected_notification_model()
std::string get_available_firmware_version(int product_line)
bool is_upgradeable(const std::string &curr, const std::string &available)
std::vector< uint8_t > _fw