message: refactor file handling, add ::mtime()

This commit is contained in:
Dirk-Jan C. Binnema
2022-04-22 08:11:19 +03:00
parent f0bfb38ff2
commit a548cac2d0
2 changed files with 47 additions and 10 deletions

View File

@ -309,6 +309,14 @@ public:
*/
Option<std::string> header(const std::string& header_field) const;
/**
* Get the mtime for the message file.
*
* @return the mtime
*/
::time_t mtime() const;
/**
* Get all contacts for this message.
*