1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- 2 3 caja-file-attributes.h: #defines and other file-attribute-related info 4 5 Copyright (C) 2000 Eazel, Inc. 6 7 This program is free software; you can redistribute it and/or 8 modify it under the terms of the GNU General Public License as 9 published by the Free Software Foundation; either version 2 of the 10 License, or (at your option) any later version. 11 12 This program is distributed in the hope that it will be useful, 13 but WITHOUT ANY WARRANTY; without even the implied warranty of 14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 General Public License for more details. 16 17 You should have received a copy of the GNU General Public 18 License along with this program; if not, write to the 19 Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, 20 Boston, MA 02110-1301, USA. 21 22 Author: Darin Adler <darin@bentspoon.com> 23 */ 24 25 #ifndef CAJA_FILE_ATTRIBUTES_H 26 #define CAJA_FILE_ATTRIBUTES_H 27 28 /* Names for CajaFile attributes. These are used when registering 29 * interest in changes to the attributes or when waiting for them. 30 */ 31 32 typedef enum 33 { 34 CAJA_FILE_ATTRIBUTE_INFO = 1 << 0, /* All standard info */ 35 CAJA_FILE_ATTRIBUTE_LINK_INFO = 1 << 1, /* info from desktop links */ 36 CAJA_FILE_ATTRIBUTE_DEEP_COUNTS = 1 << 2, 37 CAJA_FILE_ATTRIBUTE_DIRECTORY_ITEM_COUNT = 1 << 3, 38 CAJA_FILE_ATTRIBUTE_DIRECTORY_ITEM_MIME_TYPES = 1 << 4, 39 CAJA_FILE_ATTRIBUTE_TOP_LEFT_TEXT = 1 << 5, 40 CAJA_FILE_ATTRIBUTE_LARGE_TOP_LEFT_TEXT = 1 << 6, 41 CAJA_FILE_ATTRIBUTE_EXTENSION_INFO = 1 << 7, 42 CAJA_FILE_ATTRIBUTE_THUMBNAIL = 1 << 8, 43 CAJA_FILE_ATTRIBUTE_MOUNT = 1 << 9, 44 CAJA_FILE_ATTRIBUTE_FILESYSTEM_INFO = 1 << 10, 45 } CajaFileAttributes; 46 47 #endif /* CAJA_FILE_ATTRIBUTES_H */ 48