aboutsummaryrefslogtreecommitdiffstats
path: root/src/bodyPart.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/bodyPart.cpp')
-rw-r--r--src/bodyPart.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/bodyPart.cpp b/src/bodyPart.cpp
index 90962c7c..45998aea 100644
--- a/src/bodyPart.cpp
+++ b/src/bodyPart.cpp
@@ -120,5 +120,16 @@ bodyPart* bodyPart::getParentPart() const
}
+const std::vector <const component*> bodyPart::getChildComponents() const
+{
+ std::vector <const component*> list;
+
+ list.push_back(&m_header);
+ list.push_back(&m_body);
+
+ return (list);
+}
+
+
} // vmime