mail_stop.cpp

Go to the documentation of this file.
00001 #ifndef MAIL_STOP_IMPLEMENTATION_FILE
00002 #define MAIL_STOP_IMPLEMENTATION_FILE
00003 
00004 /*****************************************************************************\
00005 *                                                                             *
00006 *  Name   : mail_stop                                                         *
00007 *  Author : Chris Koeritz                                                     *
00008 *                                                                             *
00009 *******************************************************************************
00010 * Copyright (c) 1998-$now By Author.  This program is free software; you can  *
00011 * redistribute it and/or modify it under the terms of the GNU General Public  *
00012 * License as published by the Free Software Foundation; either version 2 of   *
00013 * the License or (at your option) any later version.  This is online at:      *
00014 *     http://www.fsf.org/copyleft/gpl.html                                    *
00015 * Please send any updates to: fred@gruntose.com                               *
00016 \*****************************************************************************/
00017 
00018 #include "mail_stop.h"
00019 
00020 void mail_stop::real_callback(callback_data_block &data)
00021 {
00022   items_to_deliver *bits = dynamic_cast<items_to_deliver *>(&data);
00023   if (!bits) return;  // bad type.
00024   delivery_for_you(bits->_id, bits->_package);
00025 }
00026 
00027 
00028 #endif //MAIL_STOP_IMPLEMENTATION_FILE
00029 

Generated on Fri Nov 28 04:29:30 2008 for HOOPLE Libraries by  doxygen 1.5.1