diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/mupdf/pdf/annot.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/include/mupdf/pdf/annot.h b/include/mupdf/pdf/annot.h index e03ded3f..bebe77f7 100644 --- a/include/mupdf/pdf/annot.h +++ b/include/mupdf/pdf/annot.h @@ -205,11 +205,14 @@ char *pdf_copy_annot_author(fz_context *ctx, pdf_annot *annot); void pdf_set_annot_author(fz_context *ctx, pdf_annot *annot, const char *author); /* - pdf_annot_author: return the date of an annotation. + pdf_annot_modification_date: Get annotation's modification date in seconds since the epoch. */ -// TODO: creation date -// TODO: modification date -const char *pdf_annot_date(fz_context *ctx, pdf_annot *annot); +int pdf_annot_modification_date(fz_context *ctx, pdf_annot *annot); + +/* + pdf_set_annot_modification_date: Set annotation's modification date in seconds since the epoch. +*/ +void pdf_set_annot_modification_date(fz_context *ctx, pdf_annot *annot, int time); /* pdf_annot_irt: return the indirect reference that this annotation is in reply to. |