diff options
Diffstat (limited to 'libmail/smapacl.H')
| -rw-r--r-- | libmail/smapacl.H | 80 |
1 files changed, 0 insertions, 80 deletions
diff --git a/libmail/smapacl.H b/libmail/smapacl.H deleted file mode 100644 index 790656c..0000000 --- a/libmail/smapacl.H +++ /dev/null @@ -1,80 +0,0 @@ -/* -** Copyright 2004, Double Precision Inc. -** -** See COPYING for distribution information. -*/ -#ifndef libmail_smapacl_H -#define libmail_smapacl_H - -#include "libmail_config.h" -#include "mail.H" -#include "imap.H" -#include "smap.H" - -#include <vector> - -LIBMAIL_START - -class smapACL : public smapHandler { - - std::string folderName; - std::string &rights; - const char *getName(); - -public: - smapACL(std::string folderNameArg, - std::string &rightsArg, - mail::callback &getCallbackArg); - ~smapACL(); - void installed(imap &); - - bool processLine(imap &imapAccount, - std::vector<const char *> &words); -}; - -class smapGETACL : public smapHandler { - - std::string folderName; - std::list<std::pair<std::string, std::string> > &rights; - const char *getName(); - -public: - smapGETACL(std::string folderNameArg, - std::list<std::pair<std::string, std::string> > &rightsArg, - mail::callback &getCallbackArg); - ~smapGETACL(); - void installed(imap &); - - bool processLine(imap &imapAccount, - std::vector<const char *> &words); -}; - -class smapSETACL : public smapHandler { - - std::string folderName; - std::string identifier; - std::string rights; - bool delIdentifier; - std::string &errorIdentifier; - std::vector<std::string> &errorRights; - - const char *getName(); - -public: - smapSETACL(std::string folderName, - std::string identifierArg, - std::string rightsArg, - bool delIdentifierArg, - std::string &errorIdentifier, - std::vector<std::string> &errorRights, - mail::callback &callbackArg); - ~smapSETACL(); - void installed(imap &); - - bool processLine(imap &imapAccount, - std::vector<const char *> &words); -}; - -LIBMAIL_END - -#endif |
