#pragma once

#include "observer.h"

namespace maps {
namespace wiki {

class FeedbackTaskBinder : public Observer
{
public:
    Observer::ContextDataPtr beforeCommit(
        ObjectsCache& cache,
        const GeoObjectCollection& modifiedObjects,
        UserContext& userContext,
        const CommitContext& commitContext) const override;
    void afterCommit(
        TBranchId,
        Observer::ContextData&) const override{}
};

} //namespace wiki
} //namespace maps
