client/protocol/I_ProgressListener.h

Go to the documentation of this file.
00001 /*------------------------------------------------------------------------------
00002 Name:      I_ProgressListener.h
00003 Project:   xmlBlaster.org
00004 Copyright: xmlBlaster.org, see xmlBlaster-LICENSE file
00005 ------------------------------------------------------------------------------*/
00006 #ifndef _CLIENT_PROTOCOL_I_PROGRESSLISTENER
00007 #define _CLIENT_PROTOCOL_I_PROGRESSLISTENER
00008 
00009 #include <string>
00010 
00011 namespace org { namespace xmlBlaster { namespace client { namespace protocol {
00012 
00017 class Dll_Export I_ProgressListener
00018 {
00019    public:
00020       virtual ~I_ProgressListener() {}
00021 
00031       virtual void progress(const std::string& name, unsigned long currBytesRead, unsigned long numBytes) = 0;
00032 };
00033 
00034 }}}} // namespaces
00035 
00036 #endif