From 0e004c696b0e68b2cff37a4c3315b022a35eaf43 Mon Sep 17 00:00:00 2001 From: Perberos Date: Thu, 1 Dec 2011 22:24:23 -0300 Subject: moving from https://github.com/perberos/mate-desktop-environment --- libcaja-private/caja-file-attributes.h | 47 ++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 libcaja-private/caja-file-attributes.h (limited to 'libcaja-private/caja-file-attributes.h') diff --git a/libcaja-private/caja-file-attributes.h b/libcaja-private/caja-file-attributes.h new file mode 100644 index 00000000..11d643c2 --- /dev/null +++ b/libcaja-private/caja-file-attributes.h @@ -0,0 +1,47 @@ +/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- + + caja-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, write to the + Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. + + Author: Darin Adler +*/ + +#ifndef CAJA_FILE_ATTRIBUTES_H +#define CAJA_FILE_ATTRIBUTES_H + +/* Names for CajaFile attributes. These are used when registering + * interest in changes to the attributes or when waiting for them. + */ + +typedef enum +{ + CAJA_FILE_ATTRIBUTE_INFO = 1 << 0, /* All standard info */ + CAJA_FILE_ATTRIBUTE_LINK_INFO = 1 << 1, /* info from desktop links */ + CAJA_FILE_ATTRIBUTE_DEEP_COUNTS = 1 << 2, + CAJA_FILE_ATTRIBUTE_DIRECTORY_ITEM_COUNT = 1 << 3, + CAJA_FILE_ATTRIBUTE_DIRECTORY_ITEM_MIME_TYPES = 1 << 4, + CAJA_FILE_ATTRIBUTE_TOP_LEFT_TEXT = 1 << 5, + CAJA_FILE_ATTRIBUTE_LARGE_TOP_LEFT_TEXT = 1 << 6, + CAJA_FILE_ATTRIBUTE_EXTENSION_INFO = 1 << 7, + CAJA_FILE_ATTRIBUTE_THUMBNAIL = 1 << 8, + CAJA_FILE_ATTRIBUTE_MOUNT = 1 << 9, + CAJA_FILE_ATTRIBUTE_FILESYSTEM_INFO = 1 << 10, +} CajaFileAttributes; + +#endif /* CAJA_FILE_ATTRIBUTES_H */ -- cgit v1.2.1