summaryrefslogtreecommitdiff
path: root/src/include/mime.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/mime.h')
-rw-r--r--src/include/mime.h13
1 files changed, 4 insertions, 9 deletions
diff --git a/src/include/mime.h b/src/include/mime.h
index f35ebb2..a8050af 100644
--- a/src/include/mime.h
+++ b/src/include/mime.h
@@ -1,11 +1,13 @@
-/** --------------------------------------------------------------------
+/**
* @file mime.h
* @brief Declaration of main mime parser components
* @author Andreas Aardal Hanssen
* @date Andreas Aardal Hanssen
- * ----------------------------------------------------------------- **/
+ */
+
#ifndef mime_h_included
#define mime_h_included
+
#include <map>
#include <string>
#include <vector>
@@ -13,7 +15,6 @@
#include <stdio.h>
namespace Binc {
- //----------------------------------------------------------------------
class HeaderItem {
private:
mutable std::string key;
@@ -30,12 +31,10 @@ namespace Binc {
return value;
}
- //--
HeaderItem(void);
HeaderItem(const std::string &key, const std::string &value);
};
- //----------------------------------------------------------------------
class Header {
private:
mutable std::vector<HeaderItem> content;
@@ -46,12 +45,10 @@ namespace Binc {
void add(const std::string &name, const std::string &content);
void clear(void) const;
- //--
Header(void);
~Header(void);
};
- //----------------------------------------------------------------------
class IODevice;
class MimeDocument;
@@ -140,7 +137,6 @@ namespace Binc {
virtual ~MimePart(void);
};
- //----------------------------------------------------------------------
class MimeDocument : public MimePart {
private:
mutable bool headerIsParsed;
@@ -161,7 +157,6 @@ namespace Binc {
return allIsParsed;
}
- //--
MimeDocument(void);
~MimeDocument(void);
};