From 4fca3779614c863443ff09295fd0af19b9d9310e Mon Sep 17 00:00:00 2001 From: alwin Date: Mon, 05 Jan 2004 02:03:01 +0000 Subject: returns their type of connection (mbox,imap or pop3) --- (limited to 'noncore/net/mail/libmailwrapper/mboxwrapper.cpp') diff --git a/noncore/net/mail/libmailwrapper/mboxwrapper.cpp b/noncore/net/mail/libmailwrapper/mboxwrapper.cpp index 540a971..60f7507 100644 --- a/noncore/net/mail/libmailwrapper/mboxwrapper.cpp +++ b/noncore/net/mail/libmailwrapper/mboxwrapper.cpp @@ -6,6 +6,8 @@ #include #include +const QString MBOXwrapper::wrapperType="MBOX"; + MBOXwrapper::MBOXwrapper(const QString & mbox_dir) : Genericwrapper(),MBOXPath(mbox_dir) { @@ -322,3 +324,8 @@ void MBOXwrapper::statusFolder(folderStat&target_stat,const QString & mailbox) if (folder) mailfolder_free(folder); if (storage) mailstorage_free(storage); } + +const QString&MBOXwrapper::getType()const +{ + return wrapperType; +} -- cgit v0.9.0.2