aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/core/renderer/MCHTMLRendererCallback.h3
-rw-r--r--src/objc/imap/MCOIMAPBaseOperation.mm4
-rw-r--r--src/objc/pop/MCOPOPFetchMessageOperation.mm3
-rw-r--r--src/objc/smtp/MCOSMTPSendOperation.mm4
4 files changed, 14 insertions, 0 deletions
diff --git a/src/core/renderer/MCHTMLRendererCallback.h b/src/core/renderer/MCHTMLRendererCallback.h
index 1d04c8d4..e7697a1d 100644
--- a/src/core/renderer/MCHTMLRendererCallback.h
+++ b/src/core/renderer/MCHTMLRendererCallback.h
@@ -21,6 +21,9 @@ namespace mailcore {
class HTMLRendererIMAPCallback {
public:
+ HTMLRendererIMAPCallback() {}
+ virtual ~HTMLRendererIMAPCallback() {}
+
virtual Data * dataForIMAPPart(String * folder, IMAPPart * part) { return NULL; }
virtual void prefetchAttachmentIMAPPart(String * folder, IMAPPart * part) {}
virtual void prefetchImageIMAPPart(String * folder, IMAPPart * part) {}
diff --git a/src/objc/imap/MCOIMAPBaseOperation.mm b/src/objc/imap/MCOIMAPBaseOperation.mm
index ed67e34e..fe20da53 100644
--- a/src/objc/imap/MCOIMAPBaseOperation.mm
+++ b/src/objc/imap/MCOIMAPBaseOperation.mm
@@ -21,6 +21,10 @@ public:
mOperation = op;
}
+ virtual ~MCOIMAPBaseOperationIMAPCallback()
+ {
+ }
+
virtual void bodyProgress(mailcore::IMAPOperation * session, unsigned int current, unsigned int maximum) {
[mOperation bodyProgress:current maximum:maximum];
}
diff --git a/src/objc/pop/MCOPOPFetchMessageOperation.mm b/src/objc/pop/MCOPOPFetchMessageOperation.mm
index 3f5f0000..f77d9f5b 100644
--- a/src/objc/pop/MCOPOPFetchMessageOperation.mm
+++ b/src/objc/pop/MCOPOPFetchMessageOperation.mm
@@ -29,6 +29,9 @@ public:
{
mOperation = op;
}
+ virtual ~MCOPOPFetchMessageOperationCallback()
+ {
+ }
virtual void bodyProgress(mailcore::POPOperation * session, unsigned int current, unsigned int maximum) {
[mOperation bodyProgress:current maximum:maximum];
diff --git a/src/objc/smtp/MCOSMTPSendOperation.mm b/src/objc/smtp/MCOSMTPSendOperation.mm
index 8394e2cc..95ff8282 100644
--- a/src/objc/smtp/MCOSMTPSendOperation.mm
+++ b/src/objc/smtp/MCOSMTPSendOperation.mm
@@ -30,6 +30,10 @@ public:
mOperation = op;
}
+ virtual ~MCOSMTPSendOperationCallback()
+ {
+ }
+
virtual void bodyProgress(mailcore::SMTPOperation * session, unsigned int current, unsigned int maximum) {
[mOperation bodyProgress:current maximum:maximum];
}