Wt examples 3.3.12
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 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{
21public:
24 std::wstring fileName;
25
28 std::wstring contentDescription;
29
32 std::string spoolFileName;
33
36 Attachment(const std::wstring aFileName,
37 const std::wstring aContentDescription,
38 const std::string aSpoolFileName)
39 : fileName(aFileName),
40 contentDescription(aContentDescription),
41 spoolFileName(aSpoolFileName)
42 { }
43};
44
47#endif // ATTACHMENT_H_
An email attachment.
Definition Attachment.h:20
std::wstring contentDescription
The content description.
Definition Attachment.h:28
std::wstring fileName
The file name.
Definition Attachment.h:24
Attachment(const std::wstring aFileName, const std::wstring aContentDescription, const std::string aSpoolFileName)
Create an attachment.
Definition Attachment.h:36
std::string spoolFileName
the spooled file name.
Definition Attachment.h:32

Generated on Fri May 17 2024 for the C++ Web Toolkit (Wt) by doxygen 1.9.8