summaryrefslogtreecommitdiff
path: root/noncore/net/mail/libmailwrapper/mailwrapper.h
Side-by-side diff
Diffstat (limited to 'noncore/net/mail/libmailwrapper/mailwrapper.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/mail/libmailwrapper/mailwrapper.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/noncore/net/mail/libmailwrapper/mailwrapper.h b/noncore/net/mail/libmailwrapper/mailwrapper.h
index 3a9f97b..c66572c 100644
--- a/noncore/net/mail/libmailwrapper/mailwrapper.h
+++ b/noncore/net/mail/libmailwrapper/mailwrapper.h
@@ -5,12 +5,14 @@
#include <qbitarray.h>
#include <qdatetime.h>
#include "settings.h"
+#include <opie2/osmart_pointer.h>
+
class Attachment
{
public:
Attachment( DocLnk lnk );
virtual ~Attachment(){}
const QString getFileName()const{ return doc.file(); }
@@ -23,13 +25,13 @@ public:
protected:
DocLnk doc;
int size;
};
-class Mail
+class Mail:public Opie::oref_count
{
public:
Mail();
/* Possible that this destructor must not be declared virtual
* 'cause it seems that it will never have some child classes.
* in this case this object will not get a virtual table -> memory and