SilentCallbacks.h

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------\
00002 |                          ____ _   __ __ ___                          |
00003 |                         |__  / \ / / . \ . \                         |
00004 |                           / / \ V /|  _/  _/                         |
00005 |                          / /__ | | | | | |                           |
00006 |                         /_____||_| |_| |_|                           |
00007 |                                                                      |
00008 \---------------------------------------------------------------------*/
00012 #ifndef ZYPP_SILENTCALLBACKS_H
00013 #define ZYPP_SILENTCALLBACKS_H
00014 
00015 #include "zypp/ZYppCallbacks.h"
00016 
00018 namespace zypp
00019 { 
00020   namespace media 
00021   { 
00022     // media change request callback
00023     struct SilentMediaChange : public callback::ReceiveReport<MediaChangeReport>
00024     {
00025       virtual Action requestMedia(
00026         const Source_Ref source
00027         , unsigned 
00028         , Error 
00029         , std::string
00030       ) { return MediaChangeReport::ABORT; }
00031     };
00032 
00034   } // namespace media
00036 
00038 } // namespace zypp
00040 
00041 #endif // ZYPP_SILENTCALLBACKS_H

Generated on Thu Jul 6 00:07:22 2006 for zypp by  doxygen 1.4.6