MCPcopy Create free account
hub / github.com/MailCore/mailcore2 / start

Method start

src/async/imap/MCIMAPMultiDisconnectOperation.cpp:29–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27}
28
29void IMAPMultiDisconnectOperation::start()
30{
31 if (_operations->count() == 0) {
32 if (callback() != NULL) {
33 callback()->operationFinished(this);
34 }
35 return;
36 }
37
38 retain();
39 mc_foreacharray(IMAPOperation, op, _operations) {
40#if __APPLE__
41 op->setCallbackDispatchQueue(this->callbackDispatchQueue());
42#endif
43 op->setCallback(this);
44 op->start();
45 }
46}
47
48void IMAPMultiDisconnectOperation::operationFinished(Operation * op)
49{

Callers 1

mc_foreacharrayFunction · 0.45

Calls 2

countMethod · 0.45
operationFinishedMethod · 0.45

Tested by

no test coverage detected