/* contactscore.h generated by valac 0.56.18-dirty, the Vala compiler, do not modify */

#ifndef __SRC_CORE_CONTACTSCORE_H__
#define __SRC_CORE_CONTACTSCORE_H__

#include <glib-object.h>
#include <gio/gio.h>
#include <glib.h>
#include <stdlib.h>
#include <string.h>
#include <folks/folks.h>
#include <gee.h>

G_BEGIN_DECLS

#if !defined(VALA_EXTERN)
#if defined(_MSC_VER)
#define VALA_EXTERN __declspec(dllexport) extern
#elif __GNUC__ >= 4
#define VALA_EXTERN __attribute__((visibility("default"))) extern
#else
#define VALA_EXTERN extern
#endif
#endif
#define CONTACTS_TYPEDESCRIPTOR_X_GOOGLE_LABEL "x-google-label"

#define CONTACTS_TYPE_CHUNK (contacts_chunk_get_type ())
#define CONTACTS_CHUNK(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CONTACTS_TYPE_CHUNK, ContactsChunk))
#define CONTACTS_CHUNK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CONTACTS_TYPE_CHUNK, ContactsChunkClass))
#define CONTACTS_IS_CHUNK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CONTACTS_TYPE_CHUNK))
#define CONTACTS_IS_CHUNK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CONTACTS_TYPE_CHUNK))
#define CONTACTS_CHUNK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CONTACTS_TYPE_CHUNK, ContactsChunkClass))

typedef struct _ContactsChunk ContactsChunk;
typedef struct _ContactsChunkClass ContactsChunkClass;
typedef struct _ContactsChunkPrivate ContactsChunkPrivate;

#define CONTACTS_TYPE_BIN_CHUNK (contacts_bin_chunk_get_type ())
#define CONTACTS_BIN_CHUNK(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CONTACTS_TYPE_BIN_CHUNK, ContactsBinChunk))
#define CONTACTS_BIN_CHUNK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CONTACTS_TYPE_BIN_CHUNK, ContactsBinChunkClass))
#define CONTACTS_IS_BIN_CHUNK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CONTACTS_TYPE_BIN_CHUNK))
#define CONTACTS_IS_BIN_CHUNK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CONTACTS_TYPE_BIN_CHUNK))
#define CONTACTS_BIN_CHUNK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CONTACTS_TYPE_BIN_CHUNK, ContactsBinChunkClass))

typedef struct _ContactsBinChunk ContactsBinChunk;
typedef struct _ContactsBinChunkClass ContactsBinChunkClass;
typedef struct _ContactsBinChunkPrivate ContactsBinChunkPrivate;

#define CONTACTS_TYPE_BIN_CHUNK_CHILD (contacts_bin_chunk_child_get_type ())
#define CONTACTS_BIN_CHUNK_CHILD(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CONTACTS_TYPE_BIN_CHUNK_CHILD, ContactsBinChunkChild))
#define CONTACTS_BIN_CHUNK_CHILD_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CONTACTS_TYPE_BIN_CHUNK_CHILD, ContactsBinChunkChildClass))
#define CONTACTS_IS_BIN_CHUNK_CHILD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CONTACTS_TYPE_BIN_CHUNK_CHILD))
#define CONTACTS_IS_BIN_CHUNK_CHILD_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CONTACTS_TYPE_BIN_CHUNK_CHILD))
#define CONTACTS_BIN_CHUNK_CHILD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CONTACTS_TYPE_BIN_CHUNK_CHILD, ContactsBinChunkChildClass))

typedef struct _ContactsBinChunkChild ContactsBinChunkChild;
typedef struct _ContactsBinChunkChildClass ContactsBinChunkChildClass;

#define CONTACTS_TYPE_ADDRESSES_CHUNK (contacts_addresses_chunk_get_type ())
#define CONTACTS_ADDRESSES_CHUNK(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CONTACTS_TYPE_ADDRESSES_CHUNK, ContactsAddressesChunk))
#define CONTACTS_ADDRESSES_CHUNK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CONTACTS_TYPE_ADDRESSES_CHUNK, ContactsAddressesChunkClass))
#define CONTACTS_IS_ADDRESSES_CHUNK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CONTACTS_TYPE_ADDRESSES_CHUNK))
#define CONTACTS_IS_ADDRESSES_CHUNK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CONTACTS_TYPE_ADDRESSES_CHUNK))
#define CONTACTS_ADDRESSES_CHUNK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CONTACTS_TYPE_ADDRESSES_CHUNK, ContactsAddressesChunkClass))

typedef struct _ContactsAddressesChunk ContactsAddressesChunk;
typedef struct _ContactsAddressesChunkClass ContactsAddressesChunkClass;
typedef struct _ContactsAddressesChunkPrivate ContactsAddressesChunkPrivate;
typedef struct _ContactsBinChunkChildPrivate ContactsBinChunkChildPrivate;

#define CONTACTS_TYPE_ADDRESS (contacts_address_get_type ())
#define CONTACTS_ADDRESS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CONTACTS_TYPE_ADDRESS, ContactsAddress))
#define CONTACTS_ADDRESS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CONTACTS_TYPE_ADDRESS, ContactsAddressClass))
#define CONTACTS_IS_ADDRESS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CONTACTS_TYPE_ADDRESS))
#define CONTACTS_IS_ADDRESS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CONTACTS_TYPE_ADDRESS))
#define CONTACTS_ADDRESS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CONTACTS_TYPE_ADDRESS, ContactsAddressClass))

typedef struct _ContactsAddress ContactsAddress;
typedef struct _ContactsAddressClass ContactsAddressClass;
typedef struct _ContactsAddressPrivate ContactsAddressPrivate;

#define CONTACTS_TYPE_TYPEDESCRIPTOR (contacts_typedescriptor_get_type ())
#define CONTACTS_TYPEDESCRIPTOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CONTACTS_TYPE_TYPEDESCRIPTOR, ContactsTypeDescriptor))
#define CONTACTS_TYPEDESCRIPTOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CONTACTS_TYPE_TYPEDESCRIPTOR, ContactsTypeDescriptorClass))
#define CONTACTS_IS_TYPEDESCRIPTOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CONTACTS_TYPE_TYPEDESCRIPTOR))
#define CONTACTS_IS_TYPEDESCRIPTOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CONTACTS_TYPE_TYPEDESCRIPTOR))
#define CONTACTS_TYPEDESCRIPTOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CONTACTS_TYPE_TYPEDESCRIPTOR, ContactsTypeDescriptorClass))

typedef struct _ContactsTypeDescriptor ContactsTypeDescriptor;
typedef struct _ContactsTypeDescriptorClass ContactsTypeDescriptorClass;

#define CONTACTS_TYPE_ALIAS_CHUNK (contacts_alias_chunk_get_type ())
#define CONTACTS_ALIAS_CHUNK(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CONTACTS_TYPE_ALIAS_CHUNK, ContactsAliasChunk))
#define CONTACTS_ALIAS_CHUNK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CONTACTS_TYPE_ALIAS_CHUNK, ContactsAliasChunkClass))
#define CONTACTS_IS_ALIAS_CHUNK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CONTACTS_TYPE_ALIAS_CHUNK))
#define CONTACTS_IS_ALIAS_CHUNK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CONTACTS_TYPE_ALIAS_CHUNK))
#define CONTACTS_ALIAS_CHUNK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CONTACTS_TYPE_ALIAS_CHUNK, ContactsAliasChunkClass))

typedef struct _ContactsAliasChunk ContactsAliasChunk;
typedef struct _ContactsAliasChunkClass ContactsAliasChunkClass;
typedef struct _ContactsAliasChunkPrivate ContactsAliasChunkPrivate;

#define CONTACTS_TYPE_AVATAR_CHUNK (contacts_avatar_chunk_get_type ())
#define CONTACTS_AVATAR_CHUNK(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CONTACTS_TYPE_AVATAR_CHUNK, ContactsAvatarChunk))
#define CONTACTS_AVATAR_CHUNK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CONTACTS_TYPE_AVATAR_CHUNK, ContactsAvatarChunkClass))
#define CONTACTS_IS_AVATAR_CHUNK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CONTACTS_TYPE_AVATAR_CHUNK))
#define CONTACTS_IS_AVATAR_CHUNK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CONTACTS_TYPE_AVATAR_CHUNK))
#define CONTACTS_AVATAR_CHUNK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CONTACTS_TYPE_AVATAR_CHUNK, ContactsAvatarChunkClass))

typedef struct _ContactsAvatarChunk ContactsAvatarChunk;
typedef struct _ContactsAvatarChunkClass ContactsAvatarChunkClass;
typedef struct _ContactsAvatarChunkPrivate ContactsAvatarChunkPrivate;

#define CONTACTS_TYPE_BIRTHDAY_CHUNK (contacts_birthday_chunk_get_type ())
#define CONTACTS_BIRTHDAY_CHUNK(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CONTACTS_TYPE_BIRTHDAY_CHUNK, ContactsBirthdayChunk))
#define CONTACTS_BIRTHDAY_CHUNK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CONTACTS_TYPE_BIRTHDAY_CHUNK, ContactsBirthdayChunkClass))
#define CONTACTS_IS_BIRTHDAY_CHUNK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CONTACTS_TYPE_BIRTHDAY_CHUNK))
#define CONTACTS_IS_BIRTHDAY_CHUNK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CONTACTS_TYPE_BIRTHDAY_CHUNK))
#define CONTACTS_BIRTHDAY_CHUNK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CONTACTS_TYPE_BIRTHDAY_CHUNK, ContactsBirthdayChunkClass))

typedef struct _ContactsBirthdayChunk ContactsBirthdayChunk;
typedef struct _ContactsBirthdayChunkClass ContactsBirthdayChunkClass;
typedef struct _ContactsBirthdayChunkPrivate ContactsBirthdayChunkPrivate;

#define CONTACTS_TYPE_CONTACT (contacts_contact_get_type ())
#define CONTACTS_CONTACT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CONTACTS_TYPE_CONTACT, ContactsContact))
#define CONTACTS_CONTACT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CONTACTS_TYPE_CONTACT, ContactsContactClass))
#define CONTACTS_IS_CONTACT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CONTACTS_TYPE_CONTACT))
#define CONTACTS_IS_CONTACT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CONTACTS_TYPE_CONTACT))
#define CONTACTS_CONTACT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CONTACTS_TYPE_CONTACT, ContactsContactClass))

typedef struct _ContactsContact ContactsContact;
typedef struct _ContactsContactClass ContactsContactClass;
typedef struct _ContactsContactPrivate ContactsContactPrivate;

#define CONTACTS_TYPE_EMAIL_ADDRESSES_CHUNK (contacts_email_addresses_chunk_get_type ())
#define CONTACTS_EMAIL_ADDRESSES_CHUNK(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CONTACTS_TYPE_EMAIL_ADDRESSES_CHUNK, ContactsEmailAddressesChunk))
#define CONTACTS_EMAIL_ADDRESSES_CHUNK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CONTACTS_TYPE_EMAIL_ADDRESSES_CHUNK, ContactsEmailAddressesChunkClass))
#define CONTACTS_IS_EMAIL_ADDRESSES_CHUNK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CONTACTS_TYPE_EMAIL_ADDRESSES_CHUNK))
#define CONTACTS_IS_EMAIL_ADDRESSES_CHUNK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CONTACTS_TYPE_EMAIL_ADDRESSES_CHUNK))
#define CONTACTS_EMAIL_ADDRESSES_CHUNK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CONTACTS_TYPE_EMAIL_ADDRESSES_CHUNK, ContactsEmailAddressesChunkClass))

typedef struct _ContactsEmailAddressesChunk ContactsEmailAddressesChunk;
typedef struct _ContactsEmailAddressesChunkClass ContactsEmailAddressesChunkClass;
typedef struct _ContactsEmailAddressesChunkPrivate ContactsEmailAddressesChunkPrivate;

#define CONTACTS_TYPE_EMAIL_ADDRESS (contacts_email_address_get_type ())
#define CONTACTS_EMAIL_ADDRESS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CONTACTS_TYPE_EMAIL_ADDRESS, ContactsEmailAddress))
#define CONTACTS_EMAIL_ADDRESS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CONTACTS_TYPE_EMAIL_ADDRESS, ContactsEmailAddressClass))
#define CONTACTS_IS_EMAIL_ADDRESS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CONTACTS_TYPE_EMAIL_ADDRESS))
#define CONTACTS_IS_EMAIL_ADDRESS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CONTACTS_TYPE_EMAIL_ADDRESS))
#define CONTACTS_EMAIL_ADDRESS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CONTACTS_TYPE_EMAIL_ADDRESS, ContactsEmailAddressClass))

typedef struct _ContactsEmailAddress ContactsEmailAddress;
typedef struct _ContactsEmailAddressClass ContactsEmailAddressClass;
typedef struct _ContactsEmailAddressPrivate ContactsEmailAddressPrivate;

#define CONTACTS_TYPE_FULL_NAME_CHUNK (contacts_full_name_chunk_get_type ())
#define CONTACTS_FULL_NAME_CHUNK(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CONTACTS_TYPE_FULL_NAME_CHUNK, ContactsFullNameChunk))
#define CONTACTS_FULL_NAME_CHUNK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CONTACTS_TYPE_FULL_NAME_CHUNK, ContactsFullNameChunkClass))
#define CONTACTS_IS_FULL_NAME_CHUNK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CONTACTS_TYPE_FULL_NAME_CHUNK))
#define CONTACTS_IS_FULL_NAME_CHUNK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CONTACTS_TYPE_FULL_NAME_CHUNK))
#define CONTACTS_FULL_NAME_CHUNK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CONTACTS_TYPE_FULL_NAME_CHUNK, ContactsFullNameChunkClass))

typedef struct _ContactsFullNameChunk ContactsFullNameChunk;
typedef struct _ContactsFullNameChunkClass ContactsFullNameChunkClass;
typedef struct _ContactsFullNameChunkPrivate ContactsFullNameChunkPrivate;

#define CONTACTS_TYPE_IM_ADDRESSES_CHUNK (contacts_im_addresses_chunk_get_type ())
#define CONTACTS_IM_ADDRESSES_CHUNK(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CONTACTS_TYPE_IM_ADDRESSES_CHUNK, ContactsImAddressesChunk))
#define CONTACTS_IM_ADDRESSES_CHUNK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CONTACTS_TYPE_IM_ADDRESSES_CHUNK, ContactsImAddressesChunkClass))
#define CONTACTS_IS_IM_ADDRESSES_CHUNK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CONTACTS_TYPE_IM_ADDRESSES_CHUNK))
#define CONTACTS_IS_IM_ADDRESSES_CHUNK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CONTACTS_TYPE_IM_ADDRESSES_CHUNK))
#define CONTACTS_IM_ADDRESSES_CHUNK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CONTACTS_TYPE_IM_ADDRESSES_CHUNK, ContactsImAddressesChunkClass))

typedef struct _ContactsImAddressesChunk ContactsImAddressesChunk;
typedef struct _ContactsImAddressesChunkClass ContactsImAddressesChunkClass;
typedef struct _ContactsImAddressesChunkPrivate ContactsImAddressesChunkPrivate;

#define CONTACTS_TYPE_IM_ADDRESS (contacts_im_address_get_type ())
#define CONTACTS_IM_ADDRESS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CONTACTS_TYPE_IM_ADDRESS, ContactsImAddress))
#define CONTACTS_IM_ADDRESS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CONTACTS_TYPE_IM_ADDRESS, ContactsImAddressClass))
#define CONTACTS_IS_IM_ADDRESS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CONTACTS_TYPE_IM_ADDRESS))
#define CONTACTS_IS_IM_ADDRESS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CONTACTS_TYPE_IM_ADDRESS))
#define CONTACTS_IM_ADDRESS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CONTACTS_TYPE_IM_ADDRESS, ContactsImAddressClass))

typedef struct _ContactsImAddress ContactsImAddress;
typedef struct _ContactsImAddressClass ContactsImAddressClass;
typedef struct _ContactsImAddressPrivate ContactsImAddressPrivate;

#define CONTACTS_TYPE_NICKNAME_CHUNK (contacts_nickname_chunk_get_type ())
#define CONTACTS_NICKNAME_CHUNK(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CONTACTS_TYPE_NICKNAME_CHUNK, ContactsNicknameChunk))
#define CONTACTS_NICKNAME_CHUNK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CONTACTS_TYPE_NICKNAME_CHUNK, ContactsNicknameChunkClass))
#define CONTACTS_IS_NICKNAME_CHUNK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CONTACTS_TYPE_NICKNAME_CHUNK))
#define CONTACTS_IS_NICKNAME_CHUNK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CONTACTS_TYPE_NICKNAME_CHUNK))
#define CONTACTS_NICKNAME_CHUNK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CONTACTS_TYPE_NICKNAME_CHUNK, ContactsNicknameChunkClass))

typedef struct _ContactsNicknameChunk ContactsNicknameChunk;
typedef struct _ContactsNicknameChunkClass ContactsNicknameChunkClass;
typedef struct _ContactsNicknameChunkPrivate ContactsNicknameChunkPrivate;

#define CONTACTS_TYPE_NOTES_CHUNK (contacts_notes_chunk_get_type ())
#define CONTACTS_NOTES_CHUNK(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CONTACTS_TYPE_NOTES_CHUNK, ContactsNotesChunk))
#define CONTACTS_NOTES_CHUNK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CONTACTS_TYPE_NOTES_CHUNK, ContactsNotesChunkClass))
#define CONTACTS_IS_NOTES_CHUNK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CONTACTS_TYPE_NOTES_CHUNK))
#define CONTACTS_IS_NOTES_CHUNK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CONTACTS_TYPE_NOTES_CHUNK))
#define CONTACTS_NOTES_CHUNK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CONTACTS_TYPE_NOTES_CHUNK, ContactsNotesChunkClass))

typedef struct _ContactsNotesChunk ContactsNotesChunk;
typedef struct _ContactsNotesChunkClass ContactsNotesChunkClass;
typedef struct _ContactsNotesChunkPrivate ContactsNotesChunkPrivate;

#define CONTACTS_TYPE_NOTE (contacts_note_get_type ())
#define CONTACTS_NOTE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CONTACTS_TYPE_NOTE, ContactsNote))
#define CONTACTS_NOTE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CONTACTS_TYPE_NOTE, ContactsNoteClass))
#define CONTACTS_IS_NOTE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CONTACTS_TYPE_NOTE))
#define CONTACTS_IS_NOTE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CONTACTS_TYPE_NOTE))
#define CONTACTS_NOTE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CONTACTS_TYPE_NOTE, ContactsNoteClass))

typedef struct _ContactsNote ContactsNote;
typedef struct _ContactsNoteClass ContactsNoteClass;
typedef struct _ContactsNotePrivate ContactsNotePrivate;

#define CONTACTS_TYPE_PHONES_CHUNK (contacts_phones_chunk_get_type ())
#define CONTACTS_PHONES_CHUNK(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CONTACTS_TYPE_PHONES_CHUNK, ContactsPhonesChunk))
#define CONTACTS_PHONES_CHUNK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CONTACTS_TYPE_PHONES_CHUNK, ContactsPhonesChunkClass))
#define CONTACTS_IS_PHONES_CHUNK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CONTACTS_TYPE_PHONES_CHUNK))
#define CONTACTS_IS_PHONES_CHUNK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CONTACTS_TYPE_PHONES_CHUNK))
#define CONTACTS_PHONES_CHUNK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CONTACTS_TYPE_PHONES_CHUNK, ContactsPhonesChunkClass))

typedef struct _ContactsPhonesChunk ContactsPhonesChunk;
typedef struct _ContactsPhonesChunkClass ContactsPhonesChunkClass;
typedef struct _ContactsPhonesChunkPrivate ContactsPhonesChunkPrivate;

#define CONTACTS_TYPE_PHONE (contacts_phone_get_type ())
#define CONTACTS_PHONE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CONTACTS_TYPE_PHONE, ContactsPhone))
#define CONTACTS_PHONE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CONTACTS_TYPE_PHONE, ContactsPhoneClass))
#define CONTACTS_IS_PHONE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CONTACTS_TYPE_PHONE))
#define CONTACTS_IS_PHONE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CONTACTS_TYPE_PHONE))
#define CONTACTS_PHONE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CONTACTS_TYPE_PHONE, ContactsPhoneClass))

typedef struct _ContactsPhone ContactsPhone;
typedef struct _ContactsPhoneClass ContactsPhoneClass;
typedef struct _ContactsPhonePrivate ContactsPhonePrivate;

#define CONTACTS_TYPE_ROLES_CHUNK (contacts_roles_chunk_get_type ())
#define CONTACTS_ROLES_CHUNK(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CONTACTS_TYPE_ROLES_CHUNK, ContactsRolesChunk))
#define CONTACTS_ROLES_CHUNK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CONTACTS_TYPE_ROLES_CHUNK, ContactsRolesChunkClass))
#define CONTACTS_IS_ROLES_CHUNK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CONTACTS_TYPE_ROLES_CHUNK))
#define CONTACTS_IS_ROLES_CHUNK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CONTACTS_TYPE_ROLES_CHUNK))
#define CONTACTS_ROLES_CHUNK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CONTACTS_TYPE_ROLES_CHUNK, ContactsRolesChunkClass))

typedef struct _ContactsRolesChunk ContactsRolesChunk;
typedef struct _ContactsRolesChunkClass ContactsRolesChunkClass;
typedef struct _ContactsRolesChunkPrivate ContactsRolesChunkPrivate;

#define CONTACTS_TYPE_ORG_ROLE (contacts_org_role_get_type ())
#define CONTACTS_ORG_ROLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CONTACTS_TYPE_ORG_ROLE, ContactsOrgRole))
#define CONTACTS_ORG_ROLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CONTACTS_TYPE_ORG_ROLE, ContactsOrgRoleClass))
#define CONTACTS_IS_ORG_ROLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CONTACTS_TYPE_ORG_ROLE))
#define CONTACTS_IS_ORG_ROLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CONTACTS_TYPE_ORG_ROLE))
#define CONTACTS_ORG_ROLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CONTACTS_TYPE_ORG_ROLE, ContactsOrgRoleClass))

typedef struct _ContactsOrgRole ContactsOrgRole;
typedef struct _ContactsOrgRoleClass ContactsOrgRoleClass;
typedef struct _ContactsOrgRolePrivate ContactsOrgRolePrivate;

#define CONTACTS_TYPE_STRUCTURED_NAME_CHUNK (contacts_structured_name_chunk_get_type ())
#define CONTACTS_STRUCTURED_NAME_CHUNK(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CONTACTS_TYPE_STRUCTURED_NAME_CHUNK, ContactsStructuredNameChunk))
#define CONTACTS_STRUCTURED_NAME_CHUNK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CONTACTS_TYPE_STRUCTURED_NAME_CHUNK, ContactsStructuredNameChunkClass))
#define CONTACTS_IS_STRUCTURED_NAME_CHUNK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CONTACTS_TYPE_STRUCTURED_NAME_CHUNK))
#define CONTACTS_IS_STRUCTURED_NAME_CHUNK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CONTACTS_TYPE_STRUCTURED_NAME_CHUNK))
#define CONTACTS_STRUCTURED_NAME_CHUNK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CONTACTS_TYPE_STRUCTURED_NAME_CHUNK, ContactsStructuredNameChunkClass))

typedef struct _ContactsStructuredNameChunk ContactsStructuredNameChunk;
typedef struct _ContactsStructuredNameChunkClass ContactsStructuredNameChunkClass;
typedef struct _ContactsStructuredNameChunkPrivate ContactsStructuredNameChunkPrivate;
typedef struct _ContactsTypeDescriptorPrivate ContactsTypeDescriptorPrivate;

#define CONTACTS_TYPE_TYPESET (contacts_typeset_get_type ())
#define CONTACTS_TYPESET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CONTACTS_TYPE_TYPESET, ContactsTypeSet))
#define CONTACTS_TYPESET_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CONTACTS_TYPE_TYPESET, ContactsTypeSetClass))
#define CONTACTS_IS_TYPESET(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CONTACTS_TYPE_TYPESET))
#define CONTACTS_IS_TYPESET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CONTACTS_TYPE_TYPESET))
#define CONTACTS_TYPESET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CONTACTS_TYPE_TYPESET, ContactsTypeSetClass))

typedef struct _ContactsTypeSet ContactsTypeSet;
typedef struct _ContactsTypeSetClass ContactsTypeSetClass;
typedef struct _ContactsTypeSetPrivate ContactsTypeSetPrivate;

#define CONTACTS_TYPE_URLS_CHUNK (contacts_urls_chunk_get_type ())
#define CONTACTS_URLS_CHUNK(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CONTACTS_TYPE_URLS_CHUNK, ContactsUrlsChunk))
#define CONTACTS_URLS_CHUNK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CONTACTS_TYPE_URLS_CHUNK, ContactsUrlsChunkClass))
#define CONTACTS_IS_URLS_CHUNK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CONTACTS_TYPE_URLS_CHUNK))
#define CONTACTS_IS_URLS_CHUNK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CONTACTS_TYPE_URLS_CHUNK))
#define CONTACTS_URLS_CHUNK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CONTACTS_TYPE_URLS_CHUNK, ContactsUrlsChunkClass))

typedef struct _ContactsUrlsChunk ContactsUrlsChunk;
typedef struct _ContactsUrlsChunkClass ContactsUrlsChunkClass;
typedef struct _ContactsUrlsChunkPrivate ContactsUrlsChunkPrivate;

#define CONTACTS_TYPE_URL (contacts_url_get_type ())
#define CONTACTS_URL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CONTACTS_TYPE_URL, ContactsUrl))
#define CONTACTS_URL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CONTACTS_TYPE_URL, ContactsUrlClass))
#define CONTACTS_IS_URL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CONTACTS_TYPE_URL))
#define CONTACTS_IS_URL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CONTACTS_TYPE_URL))
#define CONTACTS_URL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CONTACTS_TYPE_URL, ContactsUrlClass))

typedef struct _ContactsUrl ContactsUrl;
typedef struct _ContactsUrlClass ContactsUrlClass;
typedef struct _ContactsUrlPrivate ContactsUrlPrivate;

struct _ContactsChunk {
	GObject parent_instance;
	ContactsChunkPrivate * priv;
};

struct _ContactsChunkClass {
	GObjectClass parent_class;
	GValue* (*to_value) (ContactsChunk* self);
	void (*save_to_persona) (ContactsChunk* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
	void (*save_to_persona_finish) (ContactsChunk* self, GAsyncResult* _res_, GError** error);
	GVariant* (*to_gvariant) (ContactsChunk* self);
	void (*apply_gvariant) (ContactsChunk* self, GVariant* variant, gboolean mark_dirty);
	const gchar* (*get_property_name) (ContactsChunk* self);
	const gchar* (*get_display_name) (ContactsChunk* self);
	const gchar* (*get_icon_name) (ContactsChunk* self);
	gboolean (*get_is_empty) (ContactsChunk* self);
	gboolean (*get_dirty) (ContactsChunk* self);
};

struct _ContactsBinChunk {
	ContactsChunk parent_instance;
	ContactsBinChunkPrivate * priv;
};

struct _ContactsBinChunkClass {
	ContactsChunkClass parent_class;
	ContactsBinChunkChild* (*create_empty_child) (ContactsBinChunk* self);
};

struct _ContactsAddressesChunk {
	ContactsBinChunk parent_instance;
	ContactsAddressesChunkPrivate * priv;
};

struct _ContactsAddressesChunkClass {
	ContactsBinChunkClass parent_class;
};

struct _ContactsBinChunkChild {
	GObject parent_instance;
	ContactsBinChunkChildPrivate * priv;
};

struct _ContactsBinChunkChildClass {
	GObjectClass parent_class;
	FolksAbstractFieldDetails* (*create_afd) (ContactsBinChunkChild* self);
	ContactsBinChunkChild* (*copy) (ContactsBinChunkChild* self);
	GVariant* (*to_gvariant_internal) (ContactsBinChunkChild* self);
	void (*apply_gvariant) (ContactsBinChunkChild* self, GVariant* variant);
	gint (*compare_internal) (ContactsBinChunkChild* self, ContactsBinChunkChild* other);
	gboolean (*get_is_empty) (ContactsBinChunkChild* self);
	const gchar* (*get_icon_name) (ContactsBinChunkChild* self);
};

struct _ContactsAddress {
	ContactsBinChunkChild parent_instance;
	ContactsAddressPrivate * priv;
};

struct _ContactsAddressClass {
	ContactsBinChunkChildClass parent_class;
};

struct _ContactsAliasChunk {
	ContactsChunk parent_instance;
	ContactsAliasChunkPrivate * priv;
};

struct _ContactsAliasChunkClass {
	ContactsChunkClass parent_class;
};

struct _ContactsAvatarChunk {
	ContactsChunk parent_instance;
	ContactsAvatarChunkPrivate * priv;
};

struct _ContactsAvatarChunkClass {
	ContactsChunkClass parent_class;
};

struct _ContactsBirthdayChunk {
	ContactsChunk parent_instance;
	ContactsBirthdayChunkPrivate * priv;
};

struct _ContactsBirthdayChunkClass {
	ContactsChunkClass parent_class;
};

struct _ContactsContact {
	GObject parent_instance;
	ContactsContactPrivate * priv;
};

struct _ContactsContactClass {
	GObjectClass parent_class;
};

struct _ContactsEmailAddressesChunk {
	ContactsBinChunk parent_instance;
	ContactsEmailAddressesChunkPrivate * priv;
};

struct _ContactsEmailAddressesChunkClass {
	ContactsBinChunkClass parent_class;
};

struct _ContactsEmailAddress {
	ContactsBinChunkChild parent_instance;
	ContactsEmailAddressPrivate * priv;
};

struct _ContactsEmailAddressClass {
	ContactsBinChunkChildClass parent_class;
};

struct _ContactsFullNameChunk {
	ContactsChunk parent_instance;
	ContactsFullNameChunkPrivate * priv;
};

struct _ContactsFullNameChunkClass {
	ContactsChunkClass parent_class;
};

struct _ContactsImAddressesChunk {
	ContactsBinChunk parent_instance;
	ContactsImAddressesChunkPrivate * priv;
};

struct _ContactsImAddressesChunkClass {
	ContactsBinChunkClass parent_class;
};

struct _ContactsImAddress {
	ContactsBinChunkChild parent_instance;
	ContactsImAddressPrivate * priv;
};

struct _ContactsImAddressClass {
	ContactsBinChunkChildClass parent_class;
};

struct _ContactsNicknameChunk {
	ContactsChunk parent_instance;
	ContactsNicknameChunkPrivate * priv;
};

struct _ContactsNicknameChunkClass {
	ContactsChunkClass parent_class;
};

struct _ContactsNotesChunk {
	ContactsBinChunk parent_instance;
	ContactsNotesChunkPrivate * priv;
};

struct _ContactsNotesChunkClass {
	ContactsBinChunkClass parent_class;
};

struct _ContactsNote {
	ContactsBinChunkChild parent_instance;
	ContactsNotePrivate * priv;
};

struct _ContactsNoteClass {
	ContactsBinChunkChildClass parent_class;
};

struct _ContactsPhonesChunk {
	ContactsBinChunk parent_instance;
	ContactsPhonesChunkPrivate * priv;
};

struct _ContactsPhonesChunkClass {
	ContactsBinChunkClass parent_class;
};

struct _ContactsPhone {
	ContactsBinChunkChild parent_instance;
	ContactsPhonePrivate * priv;
};

struct _ContactsPhoneClass {
	ContactsBinChunkChildClass parent_class;
};

struct _ContactsRolesChunk {
	ContactsBinChunk parent_instance;
	ContactsRolesChunkPrivate * priv;
};

struct _ContactsRolesChunkClass {
	ContactsBinChunkClass parent_class;
};

struct _ContactsOrgRole {
	ContactsBinChunkChild parent_instance;
	ContactsOrgRolePrivate * priv;
};

struct _ContactsOrgRoleClass {
	ContactsBinChunkChildClass parent_class;
};

struct _ContactsStructuredNameChunk {
	ContactsChunk parent_instance;
	ContactsStructuredNameChunkPrivate * priv;
};

struct _ContactsStructuredNameChunkClass {
	ContactsChunkClass parent_class;
};

struct _ContactsTypeDescriptor {
	GObject parent_instance;
	ContactsTypeDescriptorPrivate * priv;
	gchar* name;
	gchar** vcard_types;
	gint vcard_types_length1;
};

struct _ContactsTypeDescriptorClass {
	GObjectClass parent_class;
};

struct _ContactsTypeSet {
	GObject parent_instance;
	ContactsTypeSetPrivate * priv;
};

struct _ContactsTypeSetClass {
	GObjectClass parent_class;
};

struct _ContactsUrlsChunk {
	ContactsBinChunk parent_instance;
	ContactsUrlsChunkPrivate * priv;
};

struct _ContactsUrlsChunkClass {
	ContactsBinChunkClass parent_class;
};

struct _ContactsUrl {
	ContactsBinChunkChild parent_instance;
	ContactsUrlPrivate * priv;
};

struct _ContactsUrlClass {
	ContactsBinChunkChildClass parent_class;
};

VALA_EXTERN GType contacts_chunk_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ContactsChunk, g_object_unref)
VALA_EXTERN GType contacts_bin_chunk_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ContactsBinChunk, g_object_unref)
VALA_EXTERN GType contacts_bin_chunk_child_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ContactsBinChunkChild, g_object_unref)
VALA_EXTERN GType contacts_addresses_chunk_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ContactsAddressesChunk, g_object_unref)
VALA_EXTERN ContactsAddressesChunk* contacts_addresses_chunk_new (void);
VALA_EXTERN ContactsAddressesChunk* contacts_addresses_chunk_construct (GType object_type);
VALA_EXTERN GType contacts_address_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ContactsAddress, g_object_unref)
VALA_EXTERN ContactsAddress* contacts_address_new (void);
VALA_EXTERN ContactsAddress* contacts_address_construct (GType object_type);
VALA_EXTERN ContactsAddress* contacts_address_new_from_field_details (FolksPostalAddressFieldDetails* address_field);
VALA_EXTERN ContactsAddress* contacts_address_construct_from_field_details (GType object_type,
                                                                FolksPostalAddressFieldDetails* address_field);
VALA_EXTERN GType contacts_typedescriptor_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ContactsTypeDescriptor, g_object_unref)
VALA_EXTERN ContactsTypeDescriptor* contacts_address_get_address_type (ContactsAddress* self);
VALA_EXTERN gchar* contacts_address_to_string (ContactsAddress* self,
                                   const gchar* parts_separator);
VALA_EXTERN gchar* contacts_address_to_maps_uri (ContactsAddress* self);
VALA_EXTERN FolksPostalAddress* contacts_address_get_address (ContactsAddress* self);
VALA_EXTERN GType contacts_alias_chunk_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ContactsAliasChunk, g_object_unref)
VALA_EXTERN ContactsAliasChunk* contacts_alias_chunk_new (void);
VALA_EXTERN ContactsAliasChunk* contacts_alias_chunk_construct (GType object_type);
VALA_EXTERN const gchar* contacts_alias_chunk_get_alias (ContactsAliasChunk* self);
VALA_EXTERN void contacts_alias_chunk_set_alias (ContactsAliasChunk* self,
                                     const gchar* value);
VALA_EXTERN GType contacts_avatar_chunk_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ContactsAvatarChunk, g_object_unref)
VALA_EXTERN ContactsAvatarChunk* contacts_avatar_chunk_new (void);
VALA_EXTERN ContactsAvatarChunk* contacts_avatar_chunk_construct (GType object_type);
VALA_EXTERN GLoadableIcon* contacts_avatar_chunk_get_avatar (ContactsAvatarChunk* self);
VALA_EXTERN void contacts_avatar_chunk_set_avatar (ContactsAvatarChunk* self,
                                       GLoadableIcon* value);
VALA_EXTERN void contacts_bin_chunk_add_child (ContactsBinChunk* self,
                                   ContactsBinChunkChild* child);
VALA_EXTERN ContactsBinChunkChild* contacts_bin_chunk_create_empty_child (ContactsBinChunk* self);
VALA_EXTERN void contacts_bin_chunk_emptiness_check (ContactsBinChunk* self);
VALA_EXTERN GeeSet* contacts_bin_chunk_get_abstract_field_details (ContactsBinChunk* self);
VALA_EXTERN void contacts_bin_chunk_finish_initialization (ContactsBinChunk* self);
VALA_EXTERN void contacts_bin_chunk_update_original_elements (ContactsBinChunk* self);
VALA_EXTERN ContactsBinChunk* contacts_bin_chunk_construct (GType object_type);
VALA_EXTERN guint contacts_bin_chunk_get_n_items (ContactsBinChunk* self);
VALA_EXTERN GType contacts_bin_chunk_get_item_type (ContactsBinChunk* self);
VALA_EXTERN FolksAbstractFieldDetails* contacts_bin_chunk_child_create_afd (ContactsBinChunkChild* self);
VALA_EXTERN ContactsBinChunkChild* contacts_bin_chunk_child_copy (ContactsBinChunkChild* self);
VALA_EXTERN void contacts_bin_chunk_child_copy_parameters (ContactsBinChunkChild* self,
                                               ContactsBinChunkChild* copy);
VALA_EXTERN GVariant* contacts_bin_chunk_child_to_gvariant (ContactsBinChunkChild* self);
VALA_EXTERN GVariant* contacts_bin_chunk_child_to_gvariant_internal (ContactsBinChunkChild* self);
VALA_EXTERN GVariant* contacts_bin_chunk_child_parameters_to_gvariant (ContactsBinChunkChild* self);
VALA_EXTERN void contacts_bin_chunk_child_apply_gvariant (ContactsBinChunkChild* self,
                                              GVariant* variant);
VALA_EXTERN void contacts_bin_chunk_child_apply_gvariant_parameters (ContactsBinChunkChild* self,
                                                         GVariant* parameters);
VALA_EXTERN void contacts_bin_chunk_child_change_string_prop (ContactsBinChunkChild* self,
                                                  const gchar* prop_name,
                                                  gchar** old_value,
                                                  const gchar* new_value);
VALA_EXTERN gint contacts_bin_chunk_child_compare (ContactsBinChunkChild* self,
                                       ContactsBinChunkChild* other);
VALA_EXTERN gboolean contacts_bin_chunk_child_has_pref_marker (ContactsBinChunkChild* self);
VALA_EXTERN gint contacts_bin_chunk_child_compare_internal (ContactsBinChunkChild* self,
                                                ContactsBinChunkChild* other);
VALA_EXTERN gint contacts_bin_chunk_child_dummy_compare_parameters (ContactsBinChunkChild* self,
                                                        ContactsBinChunkChild* other);
VALA_EXTERN void contacts_bin_chunk_child_add_parameter (ContactsBinChunkChild* self,
                                             const gchar* param_name,
                                             const gchar* param_value);
VALA_EXTERN ContactsBinChunkChild* contacts_bin_chunk_child_construct (GType object_type);
VALA_EXTERN GeeMultiMap* contacts_bin_chunk_child_get_parameters (ContactsBinChunkChild* self);
VALA_EXTERN void contacts_bin_chunk_child_set_parameters (ContactsBinChunkChild* self,
                                              GeeMultiMap* value);
VALA_EXTERN gboolean contacts_bin_chunk_child_get_is_empty (ContactsBinChunkChild* self);
VALA_EXTERN const gchar* contacts_bin_chunk_child_get_icon_name (ContactsBinChunkChild* self);
VALA_EXTERN GType contacts_birthday_chunk_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ContactsBirthdayChunk, g_object_unref)
VALA_EXTERN gboolean contacts_birthday_chunk_is_today (ContactsBirthdayChunk* self,
                                           GDateTime* now);
VALA_EXTERN ContactsBirthdayChunk* contacts_birthday_chunk_new (void);
VALA_EXTERN ContactsBirthdayChunk* contacts_birthday_chunk_construct (GType object_type);
VALA_EXTERN GDateTime* contacts_birthday_chunk_get_birthday (ContactsBirthdayChunk* self);
VALA_EXTERN void contacts_birthday_chunk_set_birthday (ContactsBirthdayChunk* self,
                                           GDateTime* value);
VALA_EXTERN GValue* contacts_chunk_to_value (ContactsChunk* self);
VALA_EXTERN void contacts_chunk_save_to_persona (ContactsChunk* self,
                                     GAsyncReadyCallback _callback_,
                                     gpointer _user_data_);
VALA_EXTERN void contacts_chunk_save_to_persona_finish (ContactsChunk* self,
                                            GAsyncResult* _res_,
                                            GError** error);
VALA_EXTERN GVariant* contacts_chunk_to_gvariant (ContactsChunk* self);
VALA_EXTERN void contacts_chunk_apply_gvariant (ContactsChunk* self,
                                    GVariant* variant,
                                    gboolean mark_dirty);
VALA_EXTERN ContactsChunk* contacts_chunk_construct (GType object_type);
VALA_EXTERN FolksPersona* contacts_chunk_get_persona (ContactsChunk* self);
VALA_EXTERN void contacts_chunk_set_persona (ContactsChunk* self,
                                 FolksPersona* value);
VALA_EXTERN const gchar* contacts_chunk_get_property_name (ContactsChunk* self);
VALA_EXTERN const gchar* contacts_chunk_get_display_name (ContactsChunk* self);
VALA_EXTERN const gchar* contacts_chunk_get_icon_name (ContactsChunk* self);
VALA_EXTERN gboolean contacts_chunk_get_is_empty (ContactsChunk* self);
VALA_EXTERN gboolean contacts_chunk_get_dirty (ContactsChunk* self);
VALA_EXTERN GType contacts_contact_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ContactsContact, g_object_unref)
VALA_EXTERN ContactsContact* contacts_contact_new_for_individual (FolksIndividual* individual);
VALA_EXTERN ContactsContact* contacts_contact_construct_for_individual (GType object_type,
                                                            FolksIndividual* individual);
VALA_EXTERN ContactsContact* contacts_contact_new_for_gvariant (GVariant* variant);
VALA_EXTERN ContactsContact* contacts_contact_construct_for_gvariant (GType object_type,
                                                          GVariant* variant);
VALA_EXTERN ContactsContact* contacts_contact_new_empty (void);
VALA_EXTERN ContactsContact* contacts_contact_construct_empty (GType object_type);
VALA_EXTERN ContactsChunk* contacts_contact_create_chunk (ContactsContact* self,
                                              const gchar* property_name,
                                              FolksPersona* persona);
VALA_EXTERN gchar* contacts_contact_fetch_name (ContactsContact* self);
VALA_EXTERN gchar* contacts_contact_fetch_display_name (ContactsContact* self);
VALA_EXTERN ContactsChunk* contacts_contact_get_most_relevant_chunk (ContactsContact* self,
                                                         const gchar* property_name,
                                                         gboolean allow_empty);
VALA_EXTERN void contacts_contact_apply_changes (ContactsContact* self,
                                     FolksPersonaStore* store,
                                     GAsyncReadyCallback _callback_,
                                     gpointer _user_data_);
VALA_EXTERN FolksIndividual* contacts_contact_apply_changes_finish (ContactsContact* self,
                                                        GAsyncResult* _res_,
                                                        GError** error);
VALA_EXTERN GVariant* contacts_contact_to_gvariant (ContactsContact* self);
VALA_EXTERN ContactsContact* contacts_contact_new (void);
VALA_EXTERN ContactsContact* contacts_contact_construct (GType object_type);
VALA_EXTERN FolksIndividual* contacts_contact_get_individual (ContactsContact* self);
VALA_EXTERN void contacts_contact_set_individual (ContactsContact* self,
                                      FolksIndividual* value);
VALA_EXTERN gchar* contacts_contact_get_display_name (ContactsContact* self);
VALA_EXTERN GType contacts_email_addresses_chunk_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ContactsEmailAddressesChunk, g_object_unref)
VALA_EXTERN ContactsEmailAddressesChunk* contacts_email_addresses_chunk_new (void);
VALA_EXTERN ContactsEmailAddressesChunk* contacts_email_addresses_chunk_construct (GType object_type);
VALA_EXTERN GType contacts_email_address_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ContactsEmailAddress, g_object_unref)
VALA_EXTERN ContactsEmailAddress* contacts_email_address_new (void);
VALA_EXTERN ContactsEmailAddress* contacts_email_address_construct (GType object_type);
VALA_EXTERN ContactsEmailAddress* contacts_email_address_new_from_field_details (FolksEmailFieldDetails* email_field);
VALA_EXTERN ContactsEmailAddress* contacts_email_address_construct_from_field_details (GType object_type,
                                                                           FolksEmailFieldDetails* email_field);
VALA_EXTERN ContactsTypeDescriptor* contacts_email_address_get_email_address_type (ContactsEmailAddress* self);
VALA_EXTERN gchar* contacts_email_address_get_mailto_uri (ContactsEmailAddress* self);
VALA_EXTERN const gchar* contacts_email_address_get_raw_address (ContactsEmailAddress* self);
VALA_EXTERN void contacts_email_address_set_raw_address (ContactsEmailAddress* self,
                                             const gchar* value);
VALA_EXTERN GType contacts_full_name_chunk_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ContactsFullNameChunk, g_object_unref)
VALA_EXTERN ContactsFullNameChunk* contacts_full_name_chunk_new_from_gvariant (GVariant* variant);
VALA_EXTERN ContactsFullNameChunk* contacts_full_name_chunk_construct_from_gvariant (GType object_type,
                                                                         GVariant* variant);
VALA_EXTERN ContactsFullNameChunk* contacts_full_name_chunk_new (void);
VALA_EXTERN ContactsFullNameChunk* contacts_full_name_chunk_construct (GType object_type);
VALA_EXTERN const gchar* contacts_full_name_chunk_get_full_name (ContactsFullNameChunk* self);
VALA_EXTERN void contacts_full_name_chunk_set_full_name (ContactsFullNameChunk* self,
                                             const gchar* value);
VALA_EXTERN GType contacts_im_addresses_chunk_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ContactsImAddressesChunk, g_object_unref)
VALA_EXTERN ContactsImAddressesChunk* contacts_im_addresses_chunk_new (void);
VALA_EXTERN ContactsImAddressesChunk* contacts_im_addresses_chunk_construct (GType object_type);
VALA_EXTERN GType contacts_im_address_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ContactsImAddress, g_object_unref)
VALA_EXTERN ContactsImAddress* contacts_im_address_new (void);
VALA_EXTERN ContactsImAddress* contacts_im_address_construct (GType object_type);
VALA_EXTERN ContactsImAddress* contacts_im_address_new_from_field_details (FolksImFieldDetails* im_field,
                                                               const gchar* protocol);
VALA_EXTERN ContactsImAddress* contacts_im_address_construct_from_field_details (GType object_type,
                                                                     FolksImFieldDetails* im_field,
                                                                     const gchar* protocol);
VALA_EXTERN const gchar* contacts_im_address_get_protocol (ContactsImAddress* self);
VALA_EXTERN const gchar* contacts_im_address_get_address (ContactsImAddress* self);
VALA_EXTERN void contacts_im_address_set_address (ContactsImAddress* self,
                                      const gchar* value);
VALA_EXTERN GType contacts_nickname_chunk_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ContactsNicknameChunk, g_object_unref)
VALA_EXTERN ContactsNicknameChunk* contacts_nickname_chunk_new (void);
VALA_EXTERN ContactsNicknameChunk* contacts_nickname_chunk_construct (GType object_type);
VALA_EXTERN const gchar* contacts_nickname_chunk_get_nickname (ContactsNicknameChunk* self);
VALA_EXTERN void contacts_nickname_chunk_set_nickname (ContactsNicknameChunk* self,
                                           const gchar* value);
VALA_EXTERN GType contacts_notes_chunk_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ContactsNotesChunk, g_object_unref)
VALA_EXTERN ContactsNotesChunk* contacts_notes_chunk_new (void);
VALA_EXTERN ContactsNotesChunk* contacts_notes_chunk_construct (GType object_type);
VALA_EXTERN GType contacts_note_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ContactsNote, g_object_unref)
VALA_EXTERN ContactsNote* contacts_note_new (void);
VALA_EXTERN ContactsNote* contacts_note_construct (GType object_type);
VALA_EXTERN ContactsNote* contacts_note_new_from_field_details (FolksNoteFieldDetails* note_field);
VALA_EXTERN ContactsNote* contacts_note_construct_from_field_details (GType object_type,
                                                          FolksNoteFieldDetails* note_field);
VALA_EXTERN const gchar* contacts_note_get_text (ContactsNote* self);
VALA_EXTERN void contacts_note_set_text (ContactsNote* self,
                             const gchar* value);
VALA_EXTERN GType contacts_phones_chunk_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ContactsPhonesChunk, g_object_unref)
VALA_EXTERN ContactsPhonesChunk* contacts_phones_chunk_new (void);
VALA_EXTERN ContactsPhonesChunk* contacts_phones_chunk_construct (GType object_type);
VALA_EXTERN GType contacts_phone_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ContactsPhone, g_object_unref)
VALA_EXTERN ContactsPhone* contacts_phone_new (void);
VALA_EXTERN ContactsPhone* contacts_phone_construct (GType object_type);
VALA_EXTERN ContactsPhone* contacts_phone_new_from_field_details (FolksPhoneFieldDetails* phone_field);
VALA_EXTERN ContactsPhone* contacts_phone_construct_from_field_details (GType object_type,
                                                            FolksPhoneFieldDetails* phone_field);
VALA_EXTERN ContactsTypeDescriptor* contacts_phone_get_phone_type (ContactsPhone* self);
VALA_EXTERN const gchar* contacts_phone_get_raw_number (ContactsPhone* self);
VALA_EXTERN void contacts_phone_set_raw_number (ContactsPhone* self,
                                    const gchar* value);
VALA_EXTERN GType contacts_roles_chunk_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ContactsRolesChunk, g_object_unref)
VALA_EXTERN ContactsRolesChunk* contacts_roles_chunk_new (void);
VALA_EXTERN ContactsRolesChunk* contacts_roles_chunk_construct (GType object_type);
VALA_EXTERN GType contacts_org_role_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ContactsOrgRole, g_object_unref)
VALA_EXTERN ContactsOrgRole* contacts_org_role_new (void);
VALA_EXTERN ContactsOrgRole* contacts_org_role_construct (GType object_type);
VALA_EXTERN ContactsOrgRole* contacts_org_role_new_from_field_details (FolksRoleFieldDetails* role_field);
VALA_EXTERN ContactsOrgRole* contacts_org_role_construct_from_field_details (GType object_type,
                                                                 FolksRoleFieldDetails* role_field);
VALA_EXTERN gchar* contacts_org_role_to_string (ContactsOrgRole* self);
VALA_EXTERN FolksRole* contacts_org_role_get_role (ContactsOrgRole* self);
VALA_EXTERN GType contacts_structured_name_chunk_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ContactsStructuredNameChunk, g_object_unref)
VALA_EXTERN ContactsStructuredNameChunk* contacts_structured_name_chunk_new (void);
VALA_EXTERN ContactsStructuredNameChunk* contacts_structured_name_chunk_construct (GType object_type);
VALA_EXTERN FolksStructuredName* contacts_structured_name_chunk_get_structured_name (ContactsStructuredNameChunk* self);
VALA_EXTERN void contacts_structured_name_chunk_set_structured_name (ContactsStructuredNameChunk* self,
                                                         FolksStructuredName* value);
VALA_EXTERN ContactsTypeDescriptor* contacts_typedescriptor_new_vcard (const gchar* untranslated_name,
                                                           gchar** types,
                                                           gint types_length1);
VALA_EXTERN ContactsTypeDescriptor* contacts_typedescriptor_construct_vcard (GType object_type,
                                                                 const gchar* untranslated_name,
                                                                 gchar** types,
                                                                 gint types_length1);
VALA_EXTERN ContactsTypeDescriptor* contacts_typedescriptor_new_custom (const gchar* name);
VALA_EXTERN ContactsTypeDescriptor* contacts_typedescriptor_construct_custom (GType object_type,
                                                                  const gchar* name);
VALA_EXTERN ContactsTypeDescriptor* contacts_typedescriptor_new_other (void);
VALA_EXTERN ContactsTypeDescriptor* contacts_typedescriptor_construct_other (GType object_type);
VALA_EXTERN gboolean contacts_typedescriptor_is_custom (ContactsTypeDescriptor* self);
VALA_EXTERN void contacts_typedescriptor_save_to_field_details (ContactsTypeDescriptor* self,
                                                    FolksAbstractFieldDetails* details);
VALA_EXTERN GeeMultiMap* contacts_typedescriptor_adapt_parameters (ContactsTypeDescriptor* self,
                                                       GeeMultiMap* parameters);
VALA_EXTERN gchar* contacts_typedescriptor_to_string (ContactsTypeDescriptor* self);
VALA_EXTERN ContactsTypeDescriptor* contacts_typedescriptor_new (void);
VALA_EXTERN ContactsTypeDescriptor* contacts_typedescriptor_construct (GType object_type);
VALA_EXTERN const gchar* contacts_typedescriptor_get_display_name (ContactsTypeDescriptor* self);
VALA_EXTERN GType contacts_typeset_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ContactsTypeSet, g_object_unref)
VALA_EXTERN ContactsTypeDescriptor* contacts_typeset_lookup_by_display_name (ContactsTypeSet* self,
                                                                 const gchar* display_name,
                                                                 guint* position);
VALA_EXTERN ContactsTypeDescriptor* contacts_typeset_lookup_by_custom_label (ContactsTypeSet* self,
                                                                 const gchar* label,
                                                                 guint* position);
VALA_EXTERN ContactsTypeDescriptor* contacts_typeset_lookup_by_vcard_type (ContactsTypeSet* self,
                                                               const gchar* str,
                                                               guint* position);
VALA_EXTERN ContactsTypeDescriptor* contacts_typeset_lookup_by_parameters (ContactsTypeSet* self,
                                                               GeeMultiMap* parameters,
                                                               guint* position);
VALA_EXTERN const gchar* contacts_typeset_get_category (ContactsTypeSet* self);
VALA_EXTERN void contacts_typeset_set_category (ContactsTypeSet* self,
                                    const gchar* value);
VALA_EXTERN ContactsTypeSet* contacts_typeset_get_general (void);
VALA_EXTERN ContactsTypeSet* contacts_typeset_get_email (void);
VALA_EXTERN ContactsTypeSet* contacts_typeset_get_phone (void);
VALA_EXTERN GType contacts_urls_chunk_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ContactsUrlsChunk, g_object_unref)
VALA_EXTERN ContactsUrlsChunk* contacts_urls_chunk_new (void);
VALA_EXTERN ContactsUrlsChunk* contacts_urls_chunk_construct (GType object_type);
VALA_EXTERN GType contacts_url_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ContactsUrl, g_object_unref)
VALA_EXTERN ContactsUrl* contacts_url_new (void);
VALA_EXTERN ContactsUrl* contacts_url_construct (GType object_type);
VALA_EXTERN ContactsUrl* contacts_url_new_from_field_details (FolksUrlFieldDetails* url_field);
VALA_EXTERN ContactsUrl* contacts_url_construct_from_field_details (GType object_type,
                                                        FolksUrlFieldDetails* url_field);
VALA_EXTERN gchar* contacts_url_get_absolute_url (ContactsUrl* self);
VALA_EXTERN const gchar* contacts_url_get_raw_url (ContactsUrl* self);
VALA_EXTERN void contacts_url_set_raw_url (ContactsUrl* self,
                               const gchar* value);

G_END_DECLS

#endif
