This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <boost/asio/io_service.hpp> | |
#include <boost/bind.hpp> | |
#include <boost/thread/thread.hpp> | |
#include <boost/make_shared.hpp> | |
#include <iostream> | |
class Bla{ | |
public: | |
void callback(std::string msg){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# Copy function with progress display using a callback function. | |
# The callback function used here mimics the output of | |
# 'rsync --progress'. | |
# Copyright (C) 2012 Thomas Hipp | |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by |