aboutsummaryrefslogtreecommitdiffstats
path: root/vmime/generatedMessageAttachment.hpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--vmime/generatedMessageAttachment.hpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/vmime/generatedMessageAttachment.hpp b/vmime/generatedMessageAttachment.hpp
index 4c9c0aba..7137b22b 100644
--- a/vmime/generatedMessageAttachment.hpp
+++ b/vmime/generatedMessageAttachment.hpp
@@ -42,30 +42,30 @@ class VMIME_EXPORT generatedMessageAttachment : public messageAttachment
{
public:
- generatedMessageAttachment(ref <const bodyPart> part);
+ generatedMessageAttachment(shared_ptr <const bodyPart> part);
const mediaType getType() const;
const text getDescription() const;
const word getName() const;
- const ref <const contentHandler> getData() const;
+ const shared_ptr <const contentHandler> getData() const;
const encoding getEncoding() const;
- ref <const object> getPart() const;
+ shared_ptr <const object> getPart() const;
- ref <const header> getHeader() const;
+ shared_ptr <const header> getHeader() const;
- ref <message> getMessage() const;
+ shared_ptr <message> getMessage() const;
protected:
- void generateIn(ref <bodyPart> parent) const;
+ void generateIn(shared_ptr <bodyPart> parent) const;
private:
- ref <bodyPartAttachment> m_bpa;
- mutable ref <message> m_msg;
+ shared_ptr <bodyPartAttachment> m_bpa;
+ mutable shared_ptr <message> m_msg;
};