1*9bd2271cSDarkWyrmBCursor(const void *cursorData) 2*9bd2271cSDarkWyrmcase 1: cursorData is NULL => 3*9bd2271cSDarkWyrm empty cursor object (useless) 4*9bd2271cSDarkWyrmcase 2: cursorData points to valid data => 5*9bd2271cSDarkWyrm valid cursor object 6*9bd2271cSDarkWyrmcase 3: cursorData points to invalid data => 7*9bd2271cSDarkWyrm empty cursor object (useless) 8*9bd2271cSDarkWyrm 9*9bd2271cSDarkWyrmBCursor(BMessage *archive) 10*9bd2271cSDarkWyrmcase 1: archive is NULL => 11*9bd2271cSDarkWyrm empty cursor object (useless) 12*9bd2271cSDarkWyrmcase 2: archive points to a valid archive => 13*9bd2271cSDarkWyrm empty cursor object (useless, R5 does not support archiving) 14*9bd2271cSDarkWyrm 15*9bd2271cSDarkWyrmstatic BArchivable *Instantiate(BMessage *archive) 16*9bd2271cSDarkWyrmcase 1: archive is NULL => 17*9bd2271cSDarkWyrm returns NULL 18*9bd2271cSDarkWyrmcase 2: archive points to a valid archive => 19*9bd2271cSDarkWyrm returns NULL (R5 does not support archiving) 20*9bd2271cSDarkWyrm 21*9bd2271cSDarkWyrmstatus_t Archive(BMessage* into, bool deep = true) 22*9bd2271cSDarkWyrmcase 1: into is NULL => 23*9bd2271cSDarkWyrm returns B_OK 24*9bd2271cSDarkWyrmcase 2: into is a valid message => 25*9bd2271cSDarkWyrm returns B_OK (archiving not implemented in R5) 26*9bd2271cSDarkWyrm 27*9bd2271cSDarkWyrmstatus_t Perform(perform_code d, void* arg) 28*9bd2271cSDarkWyrmcase 1: arg is NULL => 29*9bd2271cSDarkWyrm returns B_OK 30*9bd2271cSDarkWyrmcase 2: arg points to something => 31*9bd2271cSDarkWyrm returns B_OK 32