aboutsummaryrefslogtreecommitdiffstats
path: root/src/body.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/body.cpp')
-rw-r--r--src/body.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/body.cpp b/src/body.cpp
index 5e369d4b..dca3409a 100644
--- a/src/body.cpp
+++ b/src/body.cpp
@@ -706,4 +706,14 @@ const std::vector <bodyPart*> body::getPartList()
}
+const std::vector <const component*> body::getChildComponents() const
+{
+ std::vector <const component*> list;
+
+ copy_vector(m_parts, list);
+
+ return (list);
+}
+
+
} // vmime