• Home
  • Raw
  • Download

Lines Matching refs:iface

68 g_mount_default_init (GMountInterface *iface)  in G_DEFINE_INTERFACE()
134 GMountIface *iface; in g_mount_get_root() local
138 iface = G_MOUNT_GET_IFACE (mount); in g_mount_get_root()
140 return (* iface->get_root) (mount); in g_mount_get_root()
158 GMountIface *iface; in g_mount_get_default_location() local
163 iface = G_MOUNT_GET_IFACE (mount); in g_mount_get_default_location()
166 if (iface->get_default_location) in g_mount_get_default_location()
167 file = (* iface->get_default_location) (mount); in g_mount_get_default_location()
169 file = (* iface->get_root) (mount); in g_mount_get_default_location()
187 GMountIface *iface; in g_mount_get_name() local
191 iface = G_MOUNT_GET_IFACE (mount); in g_mount_get_name()
193 return (* iface->get_name) (mount); in g_mount_get_name()
209 GMountIface *iface; in g_mount_get_icon() local
213 iface = G_MOUNT_GET_IFACE (mount); in g_mount_get_icon()
215 return (* iface->get_icon) (mount); in g_mount_get_icon()
234 GMountIface *iface; in g_mount_get_symbolic_icon() local
239 iface = G_MOUNT_GET_IFACE (mount); in g_mount_get_symbolic_icon()
241 if (iface->get_symbolic_icon != NULL) in g_mount_get_symbolic_icon()
242 ret = iface->get_symbolic_icon (mount); in g_mount_get_symbolic_icon()
266 GMountIface *iface; in g_mount_get_uuid() local
270 iface = G_MOUNT_GET_IFACE (mount); in g_mount_get_uuid()
272 return (* iface->get_uuid) (mount); in g_mount_get_uuid()
289 GMountIface *iface; in g_mount_get_volume() local
293 iface = G_MOUNT_GET_IFACE (mount); in g_mount_get_volume()
295 return (* iface->get_volume) (mount); in g_mount_get_volume()
315 GMountIface *iface; in g_mount_get_drive() local
319 iface = G_MOUNT_GET_IFACE (mount); in g_mount_get_drive()
321 return (* iface->get_drive) (mount); in g_mount_get_drive()
335 GMountIface *iface; in g_mount_can_unmount() local
339 iface = G_MOUNT_GET_IFACE (mount); in g_mount_can_unmount()
341 return (* iface->can_unmount) (mount); in g_mount_can_unmount()
355 GMountIface *iface; in g_mount_can_eject() local
359 iface = G_MOUNT_GET_IFACE (mount); in g_mount_can_eject()
361 return (* iface->can_eject) (mount); in g_mount_can_eject()
385 GMountIface *iface; in g_mount_unmount() local
389 iface = G_MOUNT_GET_IFACE (mount); in g_mount_unmount()
391 if (iface->unmount == NULL) in g_mount_unmount()
403 (* iface->unmount) (mount, flags, cancellable, callback, user_data); in g_mount_unmount()
425 GMountIface *iface; in g_mount_unmount_finish() local
435 iface = G_MOUNT_GET_IFACE (mount); in g_mount_unmount_finish()
436 return (* iface->unmount_finish) (mount, result, error); in g_mount_unmount_finish()
461 GMountIface *iface; in g_mount_eject() local
465 iface = G_MOUNT_GET_IFACE (mount); in g_mount_eject()
467 if (iface->eject == NULL) in g_mount_eject()
479 (* iface->eject) (mount, flags, cancellable, callback, user_data); in g_mount_eject()
501 GMountIface *iface; in g_mount_eject_finish() local
511 iface = G_MOUNT_GET_IFACE (mount); in g_mount_eject_finish()
512 return (* iface->eject_finish) (mount, result, error); in g_mount_eject_finish()
539 GMountIface *iface; in g_mount_unmount_with_operation() local
543 iface = G_MOUNT_GET_IFACE (mount); in g_mount_unmount_with_operation()
545 if (iface->unmount == NULL && iface->unmount_with_operation == NULL) in g_mount_unmount_with_operation()
557 if (iface->unmount_with_operation != NULL) in g_mount_unmount_with_operation()
558 …(* iface->unmount_with_operation) (mount, flags, mount_operation, cancellable, callback, user_data… in g_mount_unmount_with_operation()
560 (* iface->unmount) (mount, flags, cancellable, callback, user_data); in g_mount_unmount_with_operation()
582 GMountIface *iface; in g_mount_unmount_with_operation_finish() local
592 iface = G_MOUNT_GET_IFACE (mount); in g_mount_unmount_with_operation_finish()
593 if (iface->unmount_with_operation_finish != NULL) in g_mount_unmount_with_operation_finish()
594 return (* iface->unmount_with_operation_finish) (mount, result, error); in g_mount_unmount_with_operation_finish()
596 return (* iface->unmount_finish) (mount, result, error); in g_mount_unmount_with_operation_finish()
624 GMountIface *iface; in g_mount_eject_with_operation() local
628 iface = G_MOUNT_GET_IFACE (mount); in g_mount_eject_with_operation()
630 if (iface->eject == NULL && iface->eject_with_operation == NULL) in g_mount_eject_with_operation()
642 if (iface->eject_with_operation != NULL) in g_mount_eject_with_operation()
643 … (* iface->eject_with_operation) (mount, flags, mount_operation, cancellable, callback, user_data); in g_mount_eject_with_operation()
645 (* iface->eject) (mount, flags, cancellable, callback, user_data); in g_mount_eject_with_operation()
667 GMountIface *iface; in g_mount_eject_with_operation_finish() local
677 iface = G_MOUNT_GET_IFACE (mount); in g_mount_eject_with_operation_finish()
678 if (iface->eject_with_operation_finish != NULL) in g_mount_eject_with_operation_finish()
679 return (* iface->eject_with_operation_finish) (mount, result, error); in g_mount_eject_with_operation_finish()
681 return (* iface->eject_finish) (mount, result, error); in g_mount_eject_with_operation_finish()
712 GMountIface *iface; in g_mount_remount() local
716 iface = G_MOUNT_GET_IFACE (mount); in g_mount_remount()
718 if (iface->remount == NULL) in g_mount_remount()
730 (* iface->remount) (mount, flags, mount_operation, cancellable, callback, user_data); in g_mount_remount()
750 GMountIface *iface; in g_mount_remount_finish() local
760 iface = G_MOUNT_GET_IFACE (mount); in g_mount_remount_finish()
761 return (* iface->remount_finish) (mount, result, error); in g_mount_remount_finish()
794 GMountIface *iface; in g_mount_guess_content_type() local
798 iface = G_MOUNT_GET_IFACE (mount); in g_mount_guess_content_type()
800 if (iface->guess_content_type == NULL) in g_mount_guess_content_type()
812 (* iface->guess_content_type) (mount, force_rescan, cancellable, callback, user_data); in g_mount_guess_content_type()
838 GMountIface *iface; in g_mount_guess_content_type_finish() local
848 iface = G_MOUNT_GET_IFACE (mount); in g_mount_guess_content_type_finish()
849 return (* iface->guess_content_type_finish) (mount, result, error); in g_mount_guess_content_type_finish()
882 GMountIface *iface; in g_mount_guess_content_type_sync() local
886 iface = G_MOUNT_GET_IFACE (mount); in g_mount_guess_content_type_sync()
888 if (iface->guess_content_type_sync == NULL) in g_mount_guess_content_type_sync()
900 return (* iface->guess_content_type_sync) (mount, force_rescan, cancellable, error); in g_mount_guess_content_type_sync()
1051 GMountIface *iface; in g_mount_get_sort_key() local
1055 iface = G_MOUNT_GET_IFACE (mount); in g_mount_get_sort_key()
1056 if (iface->get_sort_key != NULL) in g_mount_get_sort_key()
1057 ret = iface->get_sort_key (mount); in g_mount_get_sort_key()