diff options
author | Vincent Richard <[email protected]> | 2004-12-20 12:33:55 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2004-12-20 12:33:55 +0000 |
commit | 3217dd9bf9476a544d450e9ac636ca629ad141d9 (patch) | |
tree | 897f107e1c89a3021c7f3687649bdf8eb0c9477e /src/body.cpp | |
parent | Updated ChangeLog. (diff) | |
download | vmime-3217dd9bf9476a544d450e9ac636ca629ad141d9.tar.gz vmime-3217dd9bf9476a544d450e9ac636ca629ad141d9.zip |
Added component::getChildComponents() function.
Diffstat (limited to 'src/body.cpp')
-rw-r--r-- | src/body.cpp | 10 |
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 |