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

Method storeFlagsByUIDOperation

src/async/imap/MCIMAPAsyncSession.cpp:668–679  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

666}
667
668IMAPOperation * IMAPAsyncSession::storeFlagsByUIDOperation(String * folder, IndexSet * uids, IMAPStoreFlagsRequestKind kind, MessageFlag flags, Array * customFlags)
669{
670 IMAPStoreFlagsOperation * op = new IMAPStoreFlagsOperation();
671 op->setMainSession(this);
672 op->setFolder(folder);
673 op->setUids(uids);
674 op->setKind(kind);
675 op->setFlags(flags);
676 op->setCustomFlags(customFlags);
677 op->autorelease();
678 return op;
679}
680
681IMAPOperation * IMAPAsyncSession::storeFlagsByNumberOperation(String * folder, IndexSet * numbers, IMAPStoreFlagsRequestKind kind, MessageFlag flags, Array * customFlags)
682{

Callers

nothing calls this directly

Calls 7

setMainSessionMethod · 0.80
setFolderMethod · 0.80
setUidsMethod · 0.45
setKindMethod · 0.45
setFlagsMethod · 0.45
setCustomFlagsMethod · 0.45
autoreleaseMethod · 0.45

Tested by

no test coverage detected