MCPcopy Create free account
hub / github.com/baumgarr/nixnote2 / checkForInkNotes

Method checkForInkNotes

communication/communicationmanager.cpp:988–998  ·  view source on GitHub ↗

See if there are any ink notes in this list of resources

Source from the content-addressed store, hash-verified

986
987// See if there are any ink notes in this list of resources
988void CommunicationManager::checkForInkNotes(QList<Resource> &resources, QString shard, QString authToken) {
989 for (int i=0; i<resources.size(); i++) {
990 Resource *r = &resources[i];
991 QString mime = "";
992 if (r->mime.isSet())
993 mime = r->mime;
994 if (mime == "application/vnd.evernote.ink") {
995 downloadInkNoteImage(r->guid, r, shard, authToken);
996 }
997 }
998}
999
1000
1001

Callers

nothing calls this directly

Calls 1

isSetMethod · 0.45

Tested by

no test coverage detected