diff options
Diffstat (limited to 'src/bodyPart.cpp')
-rw-r--r-- | src/bodyPart.cpp | 11 |
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 |