aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/async
diff options
context:
space:
mode:
Diffstat (limited to 'src/async')
-rw-r--r--src/async/imap/MCIMAPIdleOperation.cc4
-rw-r--r--src/async/imap/MCIMAPIdleOperation.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/async/imap/MCIMAPIdleOperation.cc b/src/async/imap/MCIMAPIdleOperation.cc
index 0ab18f2b..7154a9f0 100644
--- a/src/async/imap/MCIMAPIdleOperation.cc
+++ b/src/async/imap/MCIMAPIdleOperation.cc
@@ -36,7 +36,7 @@ uint32_t IMAPIdleOperation::lastKnownUID()
return mLastKnownUid;
}
-void IMAPIdleOperation::prepare()
+void IMAPIdleOperation::prepare(void * data)
{
if (isInterrupted()) {
mSetupSuccess = false;
@@ -46,7 +46,7 @@ void IMAPIdleOperation::prepare()
mSetupSuccess = session()->session()->setupIdle();
}
-void IMAPIdleOperation::unprepare()
+void IMAPIdleOperation::unprepare(void * data)
{
if (mSetupSuccess) {
session()->session()->unsetupIdle();
diff --git a/src/async/imap/MCIMAPIdleOperation.h b/src/async/imap/MCIMAPIdleOperation.h
index f7491d1b..da125a23 100644
--- a/src/async/imap/MCIMAPIdleOperation.h
+++ b/src/async/imap/MCIMAPIdleOperation.h
@@ -34,8 +34,8 @@ namespace mailcore {
bool mSetupSuccess;
bool mInterrupted;
pthread_mutex_t mLock;
- void prepare();
- void unprepare();
+ void prepare(void * data);
+ void unprepare(void * data);
bool isInterrupted();
};