Diffstat (limited to 'noncore/net/mail/libmailwrapper/abstractmail.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/mail/libmailwrapper/abstractmail.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/net/mail/libmailwrapper/abstractmail.h b/noncore/net/mail/libmailwrapper/abstractmail.h index a070fb0..7c060db 100644 --- a/noncore/net/mail/libmailwrapper/abstractmail.h +++ b/noncore/net/mail/libmailwrapper/abstractmail.h | |||
@@ -40,18 +40,20 @@ public: | |||
40 | * them has to be appended automatic. | 40 | * them has to be appended automatic. |
41 | */ | 41 | */ |
42 | virtual int createMbox(const QString&,const Folder*parentfolder=0,const QString& delemiter="/",bool getsubfolder=false); | 42 | virtual int createMbox(const QString&,const Folder*parentfolder=0,const QString& delemiter="/",bool getsubfolder=false); |
43 | virtual void logout()=0; | 43 | virtual void logout()=0; |
44 | 44 | ||
45 | static AbstractMail* getWrapper(IMAPaccount *a); | 45 | static AbstractMail* getWrapper(IMAPaccount *a); |
46 | static AbstractMail* getWrapper(POP3account *a); | 46 | static AbstractMail* getWrapper(POP3account *a); |
47 | /* mbox only! */ | 47 | /* mbox only! */ |
48 | static AbstractMail* getWrapper(const QString&a); | 48 | static AbstractMail* getWrapper(const QString&a); |
49 | 49 | ||
50 | static QString defaultLocalfolder(); | 50 | static QString defaultLocalfolder(); |
51 | 51 | ||
52 | virtual const QString&getType()const=0; | ||
53 | |||
52 | protected: | 54 | protected: |
53 | static encodedString*decode_String(const encodedString*text,const QString&enc); | 55 | static encodedString*decode_String(const encodedString*text,const QString&enc); |
54 | static QString convert_String(const char*text); | 56 | static QString convert_String(const char*text); |
55 | static QString gen_attachment_id(); | 57 | static QString gen_attachment_id(); |
56 | }; | 58 | }; |
57 | #endif | 59 | #endif |