4 #ifndef TDE_H_27699F347D16DF25781577481B852F4D
5 #define TDE_H_27699F347D16DF25781577481B852F4D
27 void read (istream
& is
);
28 void write (ostream
& os
) const;
29 size_t stream_size (void) const;
31 string m_Text
; ///< Description of what to do.
32 string m_Comment
; ///< Completion comment.
33 time_t m_Created
; ///< When it was created.
34 time_t m_Done
; ///< When it was completed.
35 uint32_t m_Id
; ///< Unique id of the entry.
36 uint32_t m_Parent
; ///< m_Id of the parent entry.
37 uint16_t m_Priority
; ///< Priority value. See #EPriority.
38 uint16_t m_State
; ///< State flags, see #EState.
41 typedef vector
<CTodoEntry
> todolist_t
;
43 ALIGNOF (CTodoEntry
, alignof (time_t()))
44 STD_STREAMABLE (CTodoEntry
)