aboutsummaryrefslogtreecommitdiffstats
path: root/vmime/mdn/MDNInfos.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'vmime/mdn/MDNInfos.hpp')
-rw-r--r--vmime/mdn/MDNInfos.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/vmime/mdn/MDNInfos.hpp b/vmime/mdn/MDNInfos.hpp
index 13347eed..85f1f34a 100644
--- a/vmime/mdn/MDNInfos.hpp
+++ b/vmime/mdn/MDNInfos.hpp
@@ -21,6 +21,7 @@
#define VMIME_MDN_MDNINFOS_HPP_INCLUDED
+#include "vmime/types.hpp"
#include "vmime/message.hpp"
@@ -31,7 +32,7 @@ namespace mdn {
/** Holds information about Message Disposition Notifications (MDN).
*/
-class MDNInfos
+class MDNInfos : public object
{
public:
@@ -42,7 +43,7 @@ public:
*
* @return related message
*/
- virtual const message* getMessage() const = 0;
+ virtual const ref <const message> getMessage() const = 0;
};