summaryrefslogtreecommitdiff
path: root/src/include/maildir.h
diff options
context:
space:
mode:
authorJannis M. Hoffmann <jannis@fehcom.de>2023-10-07 22:33:50 +0200
committerJannis M. Hoffmann <jannis@fehcom.de>2023-10-08 11:35:51 +0200
commit1978c49bea5b439d993067c055cec47e70db8fd6 (patch)
tree255caea96a13f95564e6b631be9a4ac55ce33cd9 /src/include/maildir.h
parent3b1278f5459514a6d6364f068ff97b8a0432057b (diff)
minor refactoring
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);