This commit is contained in:
2024-08-07 09:16:27 -04:00
parent fdfadd5c7e
commit 5f971cf684
5200 changed files with 731717 additions and 0 deletions

46
pop/MAIL.HPP Normal file
View File

@@ -0,0 +1,46 @@
#ifndef _POP_MAILMESSAGE_HPP_
#define _POP_MAILMESSAGE_HPP_
#ifndef _POP_HEADER_HPP_
#include <pop/header.hpp>
#endif
#ifndef _COMMON_BLOCK_HPP_
#include <common/block.hpp>
#endif
#ifndef _COMMON_STRING_HPP_
#include <common/string.hpp>
#endif
class Mail : public Block<String>, public Header
{
public:
Mail(void);
Mail(Block<String> &msgLines);
virtual ~Mail();
Mail &operator=(Block<String> &msgLines);
private:
};
inline
Mail::Mail(void)
{
}
inline
Mail::Mail(Block<String> &msgLines)
: Block<String>(msgLines), Header(msgLines)
{
}
inline
Mail::~Mail()
{
}
inline
Mail &Mail::operator=(Block<String> &msgLines)
{
(Block<String>&)*this=msgLines;
(Header&)*this=msgLines;
return *this;
}
#endif