![]() |
![]() |
![]() |
libjana Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Prerequisites |
JanaNote; gchar * jana_note_get_author (JanaNote *note); gchar * jana_note_get_recipient (JanaNote *note); gchar * jana_note_get_body (JanaNote *note); JanaTime * jana_note_get_creation_time (JanaNote *note); JanaTime * jana_note_get_modified_time (JanaNote *note); void jana_note_set_author (JanaNote *note, const gchar *author); void jana_note_set_recipient (JanaNote *note, const gchar *recipient); void jana_note_set_body (JanaNote *note, const gchar *body); void jana_note_set_creation_time (JanaNote *note, JanaTime *time);
gchar * jana_note_get_author (JanaNote *note);
Retrieves the author of the note.
|
A JanaNote |
Returns : |
A newly allocated string containing the author of the note,
or NULL .
|
gchar * jana_note_get_recipient (JanaNote *note);
Retrieves the recipient of the note.
|
A JanaNote |
Returns : |
A newly allocated string containing the recipient of the note,
or NULL .
|
gchar * jana_note_get_body (JanaNote *note);
Retrieves the note body.
|
A JanaNote |
Returns : |
A newly allocated string containing the body of the note, or NULL .
|
JanaTime * jana_note_get_creation_time (JanaNote *note);
Retrieves the creation time of the note.
JanaTime * jana_note_get_modified_time (JanaNote *note);
Retrieves the time of the last modification to this note.
void jana_note_set_author (JanaNote *note, const gchar *author);
Sets the author of the note.
|
A JanaNote |
|
The author of the note, or NULL
|
void jana_note_set_recipient (JanaNote *note, const gchar *recipient);
Sets the recipient of the note.
|
A JanaNote |
|
The recipient of the note, or NULL
|
void jana_note_set_body (JanaNote *note, const gchar *body);
Sets the body of the note.
|
A JanaNote |
|
The note body |
void jana_note_set_creation_time (JanaNote *note, JanaTime *time);
Sets the creation time of the note. The creation time is automatically set to the current local time when created, but this allows it to be overridden. This can be useful to back-date notes, for example, or to set a particular timezone on a note.