summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-file-attributes.h
blob: a35cc32c72aaa0677fc2aa88f9a9e28064fed7fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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., 51 Franklin St, Fifth Floor,
   Boston, MA 02110-1301, USA.

   Author: Darin Adler <darin@bentspoon.com>
*/

#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 */