lib: add last_child flag to thread information

With that flag it's possible to reconstruct the entire thread tree
structure in mu4e.
This commit is contained in:
Marcelo Henrique Cerri
2018-04-22 02:18:57 -03:00
parent b4cc67d455
commit 297120dc6c
3 changed files with 13 additions and 6 deletions

View File

@ -163,9 +163,10 @@ enum _MuMsgIterThreadProp {
MU_MSG_ITER_THREAD_PROP_ROOT = 1 << 0,
MU_MSG_ITER_THREAD_PROP_FIRST_CHILD = 1 << 1,
MU_MSG_ITER_THREAD_PROP_EMPTY_PARENT = 1 << 2,
MU_MSG_ITER_THREAD_PROP_DUP = 1 << 3,
MU_MSG_ITER_THREAD_PROP_HAS_CHILD = 1 << 4
MU_MSG_ITER_THREAD_PROP_LAST_CHILD = 1 << 2,
MU_MSG_ITER_THREAD_PROP_EMPTY_PARENT = 1 << 3,
MU_MSG_ITER_THREAD_PROP_DUP = 1 << 4,
MU_MSG_ITER_THREAD_PROP_HAS_CHILD = 1 << 5
};
typedef guint8 MuMsgIterThreadProp;