[*_restore] Add progress bar to cache_restore and era_restore.
A lot of refactoring common code between the restore tools.
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
#ifndef CACHE_XML_FORMAT_H
|
||||
#define CACHE_XML_FORMAT_H
|
||||
|
||||
#include "base/progress_monitor.h"
|
||||
#include "emitter.h"
|
||||
|
||||
#include <iosfwd>
|
||||
@ -9,7 +10,8 @@
|
||||
|
||||
namespace caching {
|
||||
emitter::ptr create_xml_emitter(std::ostream &out);
|
||||
void parse_xml(std::istream &in, emitter::ptr e);
|
||||
void parse_xml(std::istream &in, emitter::ptr e,
|
||||
size_t input_len, base::progress_monitor &monitor);
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user