summaryrefslogtreecommitdiff
path: root/src/nautilus-file-attributes.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nautilus-file-attributes.h')
-rw-r--r--src/nautilus-file-attributes.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/src/nautilus-file-attributes.h b/src/nautilus-file-attributes.h
new file mode 100644
index 000000000..281de9384
--- /dev/null
+++ b/src/nautilus-file-attributes.h
@@ -0,0 +1,43 @@
+/*
+ nautilus-file-attributes.h: #defines and other file-attribute-related info
+
+ Copyright (C) 2000 Eazel, Inc.
+
+ This program 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 2 of the
+ License, or (at your option) any later version.
+
+ This program 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 this program; if not, see <http://www.gnu.org/licenses/>.
+
+ Author: Darin Adler <darin@bentspoon.com>
+*/
+
+#ifndef NAUTILUS_FILE_ATTRIBUTES_H
+#define NAUTILUS_FILE_ATTRIBUTES_H
+
+/* Names for NautilusFile attributes. These are used when registering
+ * interest in changes to the attributes or when waiting for them.
+ */
+
+typedef enum {
+ NAUTILUS_FILE_ATTRIBUTE_INFO = 1 << 0, /* All standard info */
+ NAUTILUS_FILE_ATTRIBUTE_LINK_INFO = 1 << 1, /* info from desktop links */
+ NAUTILUS_FILE_ATTRIBUTE_DEEP_COUNTS = 1 << 2,
+ NAUTILUS_FILE_ATTRIBUTE_DIRECTORY_ITEM_COUNT = 1 << 3,
+ NAUTILUS_FILE_ATTRIBUTE_DIRECTORY_ITEM_MIME_TYPES = 1 << 4,
+ NAUTILUS_FILE_ATTRIBUTE_TOP_LEFT_TEXT = 1 << 5,
+ NAUTILUS_FILE_ATTRIBUTE_LARGE_TOP_LEFT_TEXT = 1 << 6,
+ NAUTILUS_FILE_ATTRIBUTE_EXTENSION_INFO = 1 << 7,
+ NAUTILUS_FILE_ATTRIBUTE_THUMBNAIL = 1 << 8,
+ NAUTILUS_FILE_ATTRIBUTE_MOUNT = 1 << 9,
+ NAUTILUS_FILE_ATTRIBUTE_FILESYSTEM_INFO = 1 << 10,
+} NautilusFileAttributes;
+
+#endif /* NAUTILUS_FILE_ATTRIBUTES_H */