/**
 * File:   HTTPClient.h
 * Author: Alexander Ksenofontov <aksenofo@yahoo.ru>
 *
 * Created on August 15, 2016, 14:13 PM
 */

#pragma once

class exit_exeption {
};

class message_listener {
public:
    bool aborted() const { return false; }
    static exit_exeption exception() { return exit_exeption(); }
};

void sync_file_with_server(message_listener* ml, const std::string& url, const std::string& dest);
void sync_file_with_server(message_listener* ml, const std::string& url, std::ostream& os);
