aboutsummaryrefslogtreecommitdiffstats
path: root/src/header.cpp
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2004-12-20 12:33:55 +0000
committerVincent Richard <[email protected]>2004-12-20 12:33:55 +0000
commit3217dd9bf9476a544d450e9ac636ca629ad141d9 (patch)
tree897f107e1c89a3021c7f3687649bdf8eb0c9477e /src/header.cpp
parentUpdated ChangeLog. (diff)
downloadvmime-3217dd9bf9476a544d450e9ac636ca629ad141d9.tar.gz
vmime-3217dd9bf9476a544d450e9ac636ca629ad141d9.zip
Added component::getChildComponents() function.
Diffstat (limited to 'src/header.cpp')
-rw-r--r--src/header.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/header.cpp b/src/header.cpp
index fbe6921f..492b4576 100644
--- a/src/header.cpp
+++ b/src/header.cpp
@@ -510,4 +510,14 @@ const std::vector <headerField*> header::getFieldList()
}
+const std::vector <const component*> header::getChildComponents() const
+{
+ std::vector <const component*> list;
+
+ copy_vector(m_fields, list);
+
+ return (list);
+}
+
+
} // vmime