summaryrefslogtreecommitdiffstats
path: root/src/nautilus-list-base.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/nautilus-list-base.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/nautilus-list-base.h b/src/nautilus-list-base.h
new file mode 100644
index 0000000..007ab07
--- /dev/null
+++ b/src/nautilus-list-base.h
@@ -0,0 +1,27 @@
+/*
+ * Copyright (C) 2022 The GNOME project contributors
+ *
+ * SPDX-License-Identifier: GPL-3.0-or-later
+ */
+
+#pragma once
+
+#include "nautilus-files-view.h"
+
+G_BEGIN_DECLS
+
+#define NAUTILUS_TYPE_LIST_BASE (nautilus_list_base_get_type())
+
+G_DECLARE_DERIVABLE_TYPE (NautilusListBase, nautilus_list_base, NAUTILUS, LIST_BASE, NautilusFilesView)
+
+struct _NautilusListBaseClass
+{
+ NautilusFilesViewClass parent_class;
+
+ guint (*get_icon_size) (NautilusListBase *self);
+ GtkWidget *(*get_view_ui) (NautilusListBase *self);
+ void (*scroll_to_item) (NautilusListBase *self,
+ guint position);
+};
+
+G_END_DECLS