RubricaNotes

RubricaNotes —

Synopsis




#define     RUBRICA_NOTES_TYPE
#define     RUBRICA_NOTES                   (obj)
#define     RUBRICA_NOTES_CLASS             (klass)
#define     IS_RUBRICA_NOTES                (obj)
#define     IS_RUBRICA_NOTES_CLASS          (klass)
#define     RUBRICA_NOTES_GET_CLASS         (klass)
            RubricaNotesPrivate;
GType       rubrica_notes_get_type          (void);
RubricaNotes* rubrica_notes_new             (void);
void        rubrica_notes_free              (RubricaNotes *notes);
RubricaNotes* rubrica_notes_copy            (RubricaNotes *notes);
void        rubrica_notes_set_know_birthday (RubricaNotes *notes,
                                             gboolean know);
void        rubrica_notes_set_know_anniversary
                                            (RubricaNotes *notes,
                                             gboolean know);
void        rubrica_notes_set_birthday      (RubricaNotes *notes,
                                             gint day,
                                             gint month,
                                             gint year);
void        rubrica_notes_set_anniversary   (RubricaNotes *notes,
                                             gint day,
                                             gint month,
                                             gint year);
gboolean    rubrica_notes_know_birthday     (RubricaNotes *notes);
gboolean    rubrica_notes_know_anniversary  (RubricaNotes *notes);
gchar*      rubrica_notes_get_birth_day     (RubricaNotes *notes);
gchar*      rubrica_notes_get_birth_month   (RubricaNotes *notes);
gchar*      rubrica_notes_get_birth_year    (RubricaNotes *notes);
gchar*      rubrica_notes_get_anniversary_day
                                            (RubricaNotes *notes);
gchar*      rubrica_notes_get_anniversary_month
                                            (RubricaNotes *notes);
gchar*      rubrica_notes_get_anniversary_year
                                            (RubricaNotes *notes);
gchar*      rubrica_notes_get_birthdate     (RubricaNotes *notes);
gchar*      rubrica_notes_get_anniversarydate
                                            (RubricaNotes *notes);
void        rubrica_notes_append_other_notes
                                            (RubricaNotes *notes,
                                             gchar *other_note);

Description

Details

RUBRICA_NOTES_TYPE

#define RUBRICA_NOTES_TYPE             (rubrica_notes_get_type())


RUBRICA_NOTES()

#define     RUBRICA_NOTES(obj)

obj :

RUBRICA_NOTES_CLASS()

#define     RUBRICA_NOTES_CLASS(klass)

klass :

IS_RUBRICA_NOTES()

#define     IS_RUBRICA_NOTES(obj)

obj :

IS_RUBRICA_NOTES_CLASS()

#define     IS_RUBRICA_NOTES_CLASS(klass)

klass :

RUBRICA_NOTES_GET_CLASS()

#define     RUBRICA_NOTES_GET_CLASS(klass)

klass :

RubricaNotesPrivate

typedef struct _RubricaNotesPrivate RubricaNotesPrivate;


rubrica_notes_get_type ()

GType       rubrica_notes_get_type          (void);

Returns :

rubrica_notes_new ()

RubricaNotes* rubrica_notes_new             (void);

create a new RubricaNotes

Returns : a RubricaNotes*

rubrica_notes_free ()

void        rubrica_notes_free              (RubricaNotes *notes);

free memory owned by notes

notes : a RubricaNotes

rubrica_notes_copy ()

RubricaNotes* rubrica_notes_copy            (RubricaNotes *notes);

copy the given notes

notes : a RubricaNotes
Returns : a new allocated RubricaNotes*

rubrica_notes_set_know_birthday ()

void        rubrica_notes_set_know_birthday (RubricaNotes *notes,
                                             gboolean know);

set the know birthday flag

notes : a RubricaNotes
know : gboolean

rubrica_notes_set_know_anniversary ()

void        rubrica_notes_set_know_anniversary
                                            (RubricaNotes *notes,
                                             gboolean know);

set the know anniversary flag

notes : a RubricaNotes
know : gboolean

rubrica_notes_set_birthday ()

void        rubrica_notes_set_birthday      (RubricaNotes *notes,
                                             gint day,
                                             gint month,
                                             gint year);

set the partner's birthday

notes : a RubricaNotes
day :
month :
year :

rubrica_notes_set_anniversary ()

void        rubrica_notes_set_anniversary   (RubricaNotes *notes,
                                             gint day,
                                             gint month,
                                             gint year);

set the contact's and his/her partner anniversary

notes : a RubricaNotes
day :
month :
year :

rubrica_notes_know_birthday ()

gboolean    rubrica_notes_know_birthday     (RubricaNotes *notes);

notes :
Returns :

rubrica_notes_know_anniversary ()

gboolean    rubrica_notes_know_anniversary  (RubricaNotes *notes);

get the known_anniversary flag value

notes : a RubricaNotes
Returns : gboolean. TRUE if contact and his/her partner's anniversary is known, FALSE otherwise

rubrica_notes_get_birth_day ()

gchar*      rubrica_notes_get_birth_day     (RubricaNotes *notes);

get the partner's birth day. Caller must free the returned value

notes : a RubricaNotes
Returns : a gchar*

rubrica_notes_get_birth_month ()

gchar*      rubrica_notes_get_birth_month   (RubricaNotes *notes);

get the partner's birth month. Caller must free the returned value

notes : a RubricaNotes
Returns : a gchar*

rubrica_notes_get_birth_year ()

gchar*      rubrica_notes_get_birth_year    (RubricaNotes *notes);

get the partner's birth year. Caller must free the returned value

notes : a RubricaNotes
Returns : a gchar*

rubrica_notes_get_anniversary_day ()

gchar*      rubrica_notes_get_anniversary_day
                                            (RubricaNotes *notes);

get the anniversary day. Caller must free the returned value

notes : a RubricaNotes
Returns : a gchar*

rubrica_notes_get_anniversary_month ()

gchar*      rubrica_notes_get_anniversary_month
                                            (RubricaNotes *notes);

get the anniversary month. Caller must free the returned value

notes : a RubricaNotes
Returns : a gchar*

rubrica_notes_get_anniversary_year ()

gchar*      rubrica_notes_get_anniversary_year
                                            (RubricaNotes *notes);

get the anniversary year. Caller must free the returned value

notes : a RubricaNotes
Returns : a gchar*

rubrica_notes_get_birthdate ()

gchar*      rubrica_notes_get_birthdate     (RubricaNotes *notes);

get partner's birthday, or unknown. Caller must free the returned value

notes : a RubricaNotes
Returns : a gchar*

rubrica_notes_get_anniversarydate ()

gchar*      rubrica_notes_get_anniversarydate
                                            (RubricaNotes *notes);

get contact and partner's anniversary, or unknown. Caller must free the returned value

notes : a RubricaNotes
Returns : a gchar*

rubrica_notes_append_other_notes ()

void        rubrica_notes_append_other_notes
                                            (RubricaNotes *notes,
                                             gchar *other_note);

append to other note

notes : a RubricaNotes
other_note :