Wt examples: composer/Attachment.h Source File

Wt examples 4.10.4

Loading...
Searching...
No Matches
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
19 class Attachment
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_
Attachment
An email attachment.
Definition Attachment.h:20
Attachment::fileName
std::u32string fileName
The file name.
Definition Attachment.h:24
Attachment::Attachment
Attachment(const std::u32string aFileName, const std::u32string aContentDescription, const std::string aSpoolFileName)
Create an attachment.
Definition Attachment.h:36
Attachment::contentDescription
std::u32string contentDescription
The content description.
Definition Attachment.h:28
Attachment::spoolFileName
std::string spoolFileName
the spooled file name.
Definition Attachment.h:32