From 3ade071f273aaa973e44bf95d6b1d4913a18f03b Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 19:39:48 +0200 Subject: Adding upstream version 43.2. Signed-off-by: Daniel Baumann --- src/nautilus-list-base-private.h | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 src/nautilus-list-base-private.h (limited to 'src/nautilus-list-base-private.h') diff --git a/src/nautilus-list-base-private.h b/src/nautilus-list-base-private.h new file mode 100644 index 0000000..96944d5 --- /dev/null +++ b/src/nautilus-list-base-private.h @@ -0,0 +1,33 @@ +/* + * Copyright (C) 2022 The GNOME project contributors + * + * SPDX-License-Identifier: GPL-3.0-or-later + */ + +#pragma once + +#include "nautilus-list-base.h" +#include "nautilus-view-model.h" +#include "nautilus-view-cell.h" + +/* + * Private header to be included only by subclasses. + */ + +G_BEGIN_DECLS + +/* Methods */ +NautilusViewModel *nautilus_list_base_get_model (NautilusListBase *self); +void nautilus_list_base_set_icon_size (NautilusListBase *self, + gint icon_size); +void nautilus_list_base_setup_gestures (NautilusListBase *self); + +/* Shareable helpers */ +void set_directory_sort_metadata (NautilusFile *file, + const gchar *metadata_name, + gboolean reversed); +const NautilusFileSortType get_sorts_type_from_metadata_text (const char *metadata_name); +void setup_cell_common (GtkListItem *listitem, + NautilusViewCell *cell); + +G_END_DECLS -- cgit v1.2.3