Annotation of parser3/src/types/pa_vmail.h, revision 1.1

1.1     ! paf         1: /** @file
        !             2:        Parser: @b mail class decls.
        !             3: 
        !             4:        Copyright (c) 2001, 2002 ArtLebedev Group (http://www.artlebedev.com)
        !             5:        Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru)
        !             6: 
        !             7:        $Id: pa_vmail.h,v 1.34 2002/06/10 13:27:40 paf Exp $
        !             8: */
        !             9: 
        !            10: #ifndef PA_VMAIL_H
        !            11: #define PA_VMAIL_H
        !            12: 
        !            13: #include "classes.h"
        !            14: #include "pa_common.h"
        !            15: #include "pa_vhash.h"
        !            16: 
        !            17: // defines
        !            18: 
        !            19: #define MAIL_RECEIVED_ELEMENT_NAME "received"
        !            20: 
        !            21: // forwards
        !            22: 
        !            23: class Request;
        !            24: 
        !            25: /**
        !            26:        $mail:received letter
        !            27: */
        !            28: class VMail : public VStateless_class {
        !            29: public: // Value
        !            30:        
        !            31:        const char *type() const { return "mail"; }
        !            32:        
        !            33:        // mail: CLASS,methods,received field
        !            34:        Value *get_element(const String& aname);
        !            35: 
        !            36: public: // usage
        !            37: 
        !            38:        VMail(Pool& apool);
        !            39:        
        !            40:        void fill_received(Request& request);
        !            41:        const String& message_hash_to_string(Request& r, const String *source, 
        !            42:                Hash *message_hash, int level, 
        !            43:                const String **from=0, const String **to=0);
        !            44: 
        !            45: private:
        !            46: 
        !            47:        VHash vreceived;
        !            48: 
        !            49: };
        !            50: 
        !            51: #endif

E-mail: