Wt examples 3.1.10
|
00001 // This may look like C code, but it's really -*- C++ -*- 00002 /* 00003 * Copyright (C) 2008 Emweb bvba, Kessel-Lo, Belgium. 00004 * 00005 * See the LICENSE file for terms of use. 00006 */ 00007 #ifndef ATTACHMENT_H_ 00008 #define ATTACHMENT_H_ 00009 00014 00019 class Attachment 00020 { 00021 public: 00024 std::wstring fileName; 00025 00028 std::wstring contentDescription; 00029 00032 std::string spoolFileName; 00033 00036 Attachment(const std::wstring aFileName, 00037 const std::wstring aContentDescription, 00038 const std::string aSpoolFileName) 00039 : fileName(aFileName), 00040 contentDescription(aContentDescription), 00041 spoolFileName(aSpoolFileName) 00042 { } 00043 }; 00044 00047 #endif // ATTACHMENT_H_