letter.h

Go to the documentation of this file.
00001 #ifndef LETTER_CLASS
00002 #define LETTER_CLASS
00003 
00004 /*****************************************************************************\
00005 *                                                                             *
00006 *  Name   : letter                                                            *
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 "post_office_dll.h"
00019 
00020 // forward.
00021 class time_stamp;
00022 
00024 
00025 class POST_OFFICE_CLASS_STYLE letter
00026 {
00027 public:
00028   letter(int type = 0, int start_after = 0);
00030 
00037   letter(const letter &to_copy);
00039 
00040   virtual ~letter();
00042 
00048   letter &operator =(const letter &to_copy);
00050 
00051   virtual istring text_form() const = 0;
00053 
00054   int type() const { return _type; }
00056 
00057   bool ready_to_send();
00059 
00060   void set_ready_time(int start_after);
00062 
00066 private:
00067   int _type;  
00068   time_stamp *_ready_time;  
00069 };
00070 
00071 #endif
00072 

Generated on Thu Nov 20 04:29:04 2008 for HOOPLE Libraries by  doxygen 1.5.1