Diffstat (limited to 'noncore/net/mail/libmailwrapper/abstractmail.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/mail/libmailwrapper/abstractmail.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/net/mail/libmailwrapper/abstractmail.h b/noncore/net/mail/libmailwrapper/abstractmail.h index f93bab4..b6e1538 100644 --- a/noncore/net/mail/libmailwrapper/abstractmail.h +++ b/noncore/net/mail/libmailwrapper/abstractmail.h | |||
@@ -40,24 +40,25 @@ public: | |||
40 | 40 | ||
41 | virtual void cleanMimeCache(){}; | 41 | virtual void cleanMimeCache(){}; |
42 | /* mail box methods */ | 42 | /* mail box methods */ |
43 | /* parameter is the box to create. | 43 | /* parameter is the box to create. |
44 | * if the implementing subclass has prefixes, | 44 | * if the implementing subclass has prefixes, |
45 | * them has to be appended automatic. | 45 | * them has to be appended automatic. |
46 | */ | 46 | */ |
47 | virtual int createMbox(const QString&,const Folder*parentfolder=0,const QString& delemiter="/",bool getsubfolder=false); | 47 | virtual int createMbox(const QString&,const Folder*parentfolder=0,const QString& delemiter="/",bool getsubfolder=false); |
48 | virtual void logout()=0; | 48 | virtual void logout()=0; |
49 | 49 | ||
50 | static AbstractMail* getWrapper(IMAPaccount *a); | 50 | static AbstractMail* getWrapper(IMAPaccount *a); |
51 | static AbstractMail* getWrapper(POP3account *a); | 51 | static AbstractMail* getWrapper(POP3account *a); |
52 | static AbstractMail* getWrapper(NNTPaccount *a); | ||
52 | /* mbox only! */ | 53 | /* mbox only! */ |
53 | static AbstractMail* getWrapper(const QString&a,const QString&name="Local Folders"); | 54 | static AbstractMail* getWrapper(const QString&a,const QString&name="Local Folders"); |
54 | 55 | ||
55 | static QString defaultLocalfolder(); | 56 | static QString defaultLocalfolder(); |
56 | 57 | ||
57 | virtual const QString&getType()const=0; | 58 | virtual const QString&getType()const=0; |
58 | virtual const QString&getName()const=0; | 59 | virtual const QString&getName()const=0; |
59 | 60 | ||
60 | protected: | 61 | protected: |
61 | static encodedString*decode_String(const encodedString*text,const QString&enc); | 62 | static encodedString*decode_String(const encodedString*text,const QString&enc); |
62 | static QString convert_String(const char*text); | 63 | static QString convert_String(const char*text); |
63 | static QString gen_attachment_id(); | 64 | static QString gen_attachment_id(); |