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

Method storeFlagsByNumberOperation

src/async/imap/MCIMAPAsyncSession.cpp:681–692  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

679}
680
681IMAPOperation * IMAPAsyncSession::storeFlagsByNumberOperation(String * folder, IndexSet * numbers, IMAPStoreFlagsRequestKind kind, MessageFlag flags, Array * customFlags)
682{
683 IMAPStoreFlagsOperation * op = new IMAPStoreFlagsOperation();
684 op->setMainSession(this);
685 op->setFolder(folder);
686 op->setNumbers(numbers);
687 op->setKind(kind);
688 op->setFlags(flags);
689 op->setCustomFlags(customFlags);
690 op->autorelease();
691 return op;
692}
693
694IMAPOperation * IMAPAsyncSession::storeLabelsByUIDOperation(String * folder, IndexSet * uids, IMAPStoreFlagsRequestKind kind, Array * labels)
695{

Callers

nothing calls this directly

Calls 7

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

Tested by

no test coverage detected