aboutsummaryrefslogtreecommitdiffstats
path: root/vmime
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--vmime/attachment.hpp2
-rw-r--r--vmime/bodyPartAttachment.hpp2
-rw-r--r--vmime/defaultAttachment.hpp4
-rw-r--r--vmime/fileAttachment.hpp2
-rw-r--r--vmime/generatedMessageAttachment.hpp2
-rw-r--r--vmime/parsedMessageAttachment.hpp2
6 files changed, 7 insertions, 7 deletions
diff --git a/vmime/attachment.hpp b/vmime/attachment.hpp
index 67bab8d0..527a2171 100644
--- a/vmime/attachment.hpp
+++ b/vmime/attachment.hpp
@@ -108,7 +108,7 @@ protected:
*
* @param parent body part in which to generate the attachment
*/
- virtual void generateIn(bodyPart& parent) const = 0;
+ virtual void generateIn(ref <bodyPart> parent) const = 0;
};
diff --git a/vmime/bodyPartAttachment.hpp b/vmime/bodyPartAttachment.hpp
index b1b7ce6c..4138470b 100644
--- a/vmime/bodyPartAttachment.hpp
+++ b/vmime/bodyPartAttachment.hpp
@@ -62,7 +62,7 @@ public:
private:
- void generateIn(bodyPart& parent) const;
+ void generateIn(ref <bodyPart> parent) const;
ref <const contentDispositionField> getContentDisposition() const;
ref <const contentTypeField> getContentType() const;
diff --git a/vmime/defaultAttachment.hpp b/vmime/defaultAttachment.hpp
index 4e54c75f..bfa72377 100644
--- a/vmime/defaultAttachment.hpp
+++ b/vmime/defaultAttachment.hpp
@@ -74,11 +74,11 @@ protected:
private:
// No need to override "generateIn", use "generatePart" instead (see below).
- void generateIn(bodyPart& parent) const;
+ void generateIn(ref <bodyPart> parent) const;
protected:
- virtual void generatePart(bodyPart& part) const;
+ virtual void generatePart(ref <bodyPart> part) const;
};
diff --git a/vmime/fileAttachment.hpp b/vmime/fileAttachment.hpp
index 6ec686a4..50351ecb 100644
--- a/vmime/fileAttachment.hpp
+++ b/vmime/fileAttachment.hpp
@@ -166,7 +166,7 @@ private:
fileInfo m_fileInfo;
- void generatePart(bodyPart& part) const;
+ void generatePart(ref <bodyPart> part) const;
};
diff --git a/vmime/generatedMessageAttachment.hpp b/vmime/generatedMessageAttachment.hpp
index c62cdf58..f0443d38 100644
--- a/vmime/generatedMessageAttachment.hpp
+++ b/vmime/generatedMessageAttachment.hpp
@@ -60,7 +60,7 @@ public:
protected:
- void generateIn(bodyPart& parent) const;
+ void generateIn(ref <bodyPart> parent) const;
private:
diff --git a/vmime/parsedMessageAttachment.hpp b/vmime/parsedMessageAttachment.hpp
index ada88df8..5add8a0c 100644
--- a/vmime/parsedMessageAttachment.hpp
+++ b/vmime/parsedMessageAttachment.hpp
@@ -59,7 +59,7 @@ public:
protected:
- void generateIn(bodyPart& parent) const;
+ void generateIn(ref <bodyPart> parent) const;
private: