summaryrefslogtreecommitdiffstats
path: root/src/nautilus-types.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nautilus-types.h')
-rw-r--r--src/nautilus-types.h47
1 files changed, 47 insertions, 0 deletions
diff --git a/src/nautilus-types.h b/src/nautilus-types.h
new file mode 100644
index 0000000..6a13ebb
--- /dev/null
+++ b/src/nautilus-types.h
@@ -0,0 +1,47 @@
+/* Copyright (C) 2018 Ernestas Kulik <ernestask@gnome.org>
+ *
+ * This file is part of Nautilus.
+ *
+ * Nautilus is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Nautilus is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Nautilus. If not, see <https://www.gnu.org/licenses/>.
+ */
+
+/* This here header contains Nautilus type definitions.
+ *
+ * It is advisable to include this in headers or when you
+ * only need the name of a type (i.e. not calling any functions from the
+ * associated header). Doing so will help avoid circular inclusions and
+ * pointless rebuilds should the header ever change.
+ */
+
+#pragma once
+
+#include "nautilus-enums.h"
+
+/* Keep sorted alphabetically. */
+
+typedef struct _NautilusBookmark NautilusBookmark;
+typedef struct _NautilusBookmarkList NautilusBookmarkList;
+typedef struct _NautilusClipboard NautilusClipboard;
+typedef struct _NautilusDirectory NautilusDirectory;
+typedef struct NautilusFile NautilusFile;
+typedef struct NautilusFileQueue NautilusFileQueue;
+typedef struct _NautilusIconInfo NautilusIconInfo;
+typedef struct _NautilusListBase NautilusListBase;
+typedef struct NautilusMonitor NautilusMonitor;
+typedef struct _NautilusQuery NautilusQuery;
+typedef struct _NautilusQueryEditor NautilusQueryEditor;
+typedef struct _NautilusToolbarMenuSections NautilusToolbarMenuSections;
+typedef struct _NautilusView NautilusView;
+typedef struct _NautilusWindow NautilusWindow;
+typedef struct _NautilusWindowSlot NautilusWindowSlot;