static void gth_metadata_provider_file_class_init (GthMetadataProviderFileClass *klass) { parent_class = g_type_class_peek_parent (klass); GTH_METADATA_PROVIDER_CLASS (klass)->can_read = gth_metadata_provider_file_can_read; GTH_METADATA_PROVIDER_CLASS (klass)->read = gth_metadata_provider_file_read; }
static void gth_metadata_provider_image_class_init (GthMetadataProviderImageClass *klass) { GthMetadataProviderClass *metadata_provider_class; metadata_provider_class = GTH_METADATA_PROVIDER_CLASS (klass); metadata_provider_class->can_read = gth_metadata_provider_image_can_read; metadata_provider_class->read = gth_metadata_provider_image_read; }
static void gth_metadata_provider_comment_class_init (GthMetadataProviderCommentClass *klass) { GthMetadataProviderClass *mp_class; mp_class = GTH_METADATA_PROVIDER_CLASS (klass); mp_class->can_read = gth_metadata_provider_comment_can_read; mp_class->can_write = gth_metadata_provider_comment_can_write; mp_class->read = gth_metadata_provider_comment_read; mp_class->write = gth_metadata_provider_comment_write; }