Wtx ~ Wt Extension Library
WtxLib
Attachment.h
1 // This may look like C code, but it's really -*- C++ -*-
2 /*
3  * Copyright (C) 2008 Emweb bvba, Kessel-Lo, Belgium.
4  *
5  * See the LICENSE file for terms of use.
6  */
7 #ifndef ATTACHMENT_H_
8 #define ATTACHMENT_H_
9 
14 
20 {
21 public:
24  std::u32string fileName;
25 
28  std::u32string contentDescription;
29 
32  std::string spoolFileName;
33 
36  Attachment(const std::u32string aFileName,
37  const std::u32string aContentDescription,
38  const std::string aSpoolFileName)
39  : fileName(aFileName),
40  contentDescription(aContentDescription),
41  spoolFileName(aSpoolFileName)
42  { }
43 };
44 
47 #endif // ATTACHMENT_H_
Attachment(const std::u32string aFileName, const std::u32string aContentDescription, const std::string aSpoolFileName)
Create an attachment.
Definition: Attachment.h:36
An email attachment.
Definition: Attachment.h:19
std::string spoolFileName
the spooled file name.
Definition: Attachment.h:32
std::u32string contentDescription
The content description.
Definition: Attachment.h:28
std::u32string fileName
The file name.
Definition: Attachment.h:24