summaryrefslogtreecommitdiff
path: root/src/include/maildir.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/maildir.h')
-rw-r--r--src/include/maildir.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/include/maildir.h b/src/include/maildir.h
index dda88df..4a4c106 100644
--- a/src/include/maildir.h
+++ b/src/include/maildir.h
@@ -1,11 +1,13 @@
-/** --------------------------------------------------------------------
+/**
* @file maildir.h
* @brief Declaration of the Maildir class.
* @author Andreas Aardal Hanssen
* @date 2002-2005
- * ----------------------------------------------------------------- **/
+ */
+
#ifndef maildir_h_included
#define maildir_h_included
+
#include "mailbox.h"
#include "maildirmessage.h"
@@ -17,7 +19,6 @@ namespace Binc {
static const std::string CACHEFILEVERSION = "1.0.5";
static const std::string UIDVALFILEVERSION = "1.0.5";
- //----------------------------------------------------------------------
class Lock {
public:
Lock(const std::string &path);
@@ -27,14 +28,12 @@ namespace Binc {
std::string lock;
};
- //------------------------------------------------------------------------
class MaildirIndexItem {
public:
unsigned int uid;
std::string fileName;
};
- //------------------------------------------------------------------------
class MaildirIndex {
private:
std::map<std::string, MaildirIndexItem> idx;
@@ -49,7 +48,6 @@ namespace Binc {
MaildirIndexItem *find(const std::string &unique);
};
- //------------------------------------------------------------------------
class Maildir : public Mailbox {
public:
typedef std::map<unsigned int, MaildirMessage> MessageMap;
@@ -131,7 +129,6 @@ namespace Binc {
bool fastCopy(Message &source, Mailbox &desttype, const std::string &destname);
- //--
Maildir(void);
~Maildir(void);