aboutsummaryrefslogtreecommitdiffstats
path: root/vmime/fileAttachment.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'vmime/fileAttachment.hpp')
-rw-r--r--vmime/fileAttachment.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/vmime/fileAttachment.hpp b/vmime/fileAttachment.hpp
index d18b8a14..2d9ff575 100644
--- a/vmime/fileAttachment.hpp
+++ b/vmime/fileAttachment.hpp
@@ -52,9 +52,9 @@ public:
fileAttachment(const string& filepath, const mediaType& type, const text& desc);
fileAttachment(const string& filepath, const mediaType& type, const text& desc, const encoding& enc);
- fileAttachment(ref <contentHandler> cts, const word& filename, const mediaType& type);
- fileAttachment(ref <contentHandler> cts, const word& filename, const mediaType& type, const text& desc);
- fileAttachment(ref <contentHandler> cts, const word& filename, const mediaType& type, const text& desc, const encoding& enc);
+ fileAttachment(shared_ptr <contentHandler> cts, const word& filename, const mediaType& type);
+ fileAttachment(shared_ptr <contentHandler> cts, const word& filename, const mediaType& type, const text& desc);
+ fileAttachment(shared_ptr <contentHandler> cts, const word& filename, const mediaType& type, const text& desc, const encoding& enc);
/** Stores information about a file attachment.
*/
@@ -181,11 +181,11 @@ public:
private:
void setData(const string& filepath);
- void setData(ref <contentHandler> cts);
+ void setData(shared_ptr <contentHandler> cts);
fileInfo m_fileInfo;
- void generatePart(ref <bodyPart> part) const;
+ void generatePart(shared_ptr <bodyPart> part) const;
};