libzypp 17.37.17
progressobserveradaptor.h
Go to the documentation of this file.
1/*---------------------------------------------------------------------\
2| ____ _ __ __ ___ |
3| |__ / \ / / . \ . \ |
4| / / \ V /| _/ _/ |
5| / /__ | | | | | | |
6| /_____||_| |_| |_| |
7| |
8\---------------------------------------------------------------------*/
9#ifndef ZYPP_NG_PROGRESSOBSERVERADAPTOR_INCLUDED
10#define ZYPP_NG_PROGRESSOBSERVERADAPTOR_INCLUDED
11
12#include <zypp/ZYppCallbacks.h>
13#include <zypp-core/zyppng/ui/ProgressObserver>
14
15namespace zyppng {
34}
35
36#endif // ZYPP_NG_PROGRESSOBSERVERADAPTOR_INCLUDED
function< bool(const ProgressData &)> ReceiverFnc
Most simple version of progress reporting The percentage in most cases.
zypp::callback::SendReport< zypp::ProgressReport > & _report
zypp::ProgressData::ReceiverFnc _fnc
ProgressObserverAdaptor(zypp::callback::SendReport< zypp::ProgressReport > &report)