Wt examples 4.8.2
Attachment.h
Go to the documentation of this file.
1// This may look like C code, but it's really -*- C++ -*-
2/*
3 * Copyright (C) 2008 Emweb bv, Herent, Belgium.
4 *
5 * See the LICENSE file for terms of use.
6 */
7#ifndef ATTACHMENT_H_
8#define ATTACHMENT_H_
9
14
20{
21public:
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
46
47#endif // ATTACHMENT_H_
An email attachment.
Definition: Attachment.h:20
std::u32string fileName
The file name.
Definition: Attachment.h:24
Attachment(const std::u32string aFileName, const std::u32string aContentDescription, const std::string aSpoolFileName)
Create an attachment.
Definition: Attachment.h:36
std::u32string contentDescription
The content description.
Definition: Attachment.h:28
std::string spoolFileName
the spooled file name.
Definition: Attachment.h:32

Generated on Sat Nov 5 2022 for the C++ Web Toolkit (Wt) by doxygen 1.9.5