Repo created
This commit is contained in:
parent
4af19165ec
commit
68073add76
12458 changed files with 12350765 additions and 2 deletions
29
libs/storage/diff_scheme/apply_diff.hpp
Normal file
29
libs/storage/diff_scheme/apply_diff.hpp
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
#pragma once
|
||||
|
||||
#include "mwm_diff/diff.hpp"
|
||||
|
||||
#include "storage/storage_defines.hpp"
|
||||
|
||||
#include <functional>
|
||||
|
||||
namespace base
|
||||
{
|
||||
class Cancellable;
|
||||
}
|
||||
|
||||
namespace storage
|
||||
{
|
||||
namespace diffs
|
||||
{
|
||||
struct ApplyDiffParams
|
||||
{
|
||||
std::string m_diffReadyPath;
|
||||
LocalFilePtr m_diffFile;
|
||||
LocalFilePtr m_oldMwmFile;
|
||||
};
|
||||
|
||||
using OnDiffApplicationFinished = std::function<void(generator::mwm_diff::DiffApplicationResult)>;
|
||||
|
||||
void ApplyDiff(ApplyDiffParams && p, base::Cancellable const & cancellable, OnDiffApplicationFinished const & task);
|
||||
} // namespace diffs
|
||||
} // namespace storage
|
||||
Loading…
Add table
Add a link
Reference in a new issue