/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*-

   caja-metadata.h: #defines and other metadata-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: John Sullivan <sullivan@eazel.com>
*/

#ifndef CAJA_METADATA_H
#define CAJA_METADATA_H

/* Keys for getting/setting Caja metadata. All metadata used in Caja
 * should define its key here, so we can keep track of the whole set easily.
 * Any updates here needs to be added in caja-metadata.c too.
 */

#include <glib.h>

/* Per-file */

#define CAJA_METADATA_KEY_DEFAULT_VIEW		 	"caja-default-view"

#define CAJA_METADATA_KEY_LOCATION_BACKGROUND_COLOR 	"folder-background-color"
#define CAJA_METADATA_KEY_LOCATION_BACKGROUND_IMAGE 	"folder-background-image"

#define CAJA_METADATA_KEY_ICON_VIEW_ZOOM_LEVEL       	"caja-icon-view-zoom-level"
#define CAJA_METADATA_KEY_ICON_VIEW_AUTO_LAYOUT      	"caja-icon-view-auto-layout"
#define CAJA_METADATA_KEY_ICON_VIEW_TIGHTER_LAYOUT      	"caja-icon-view-tighter-layout"
#define CAJA_METADATA_KEY_ICON_VIEW_SORT_BY          	"caja-icon-view-sort-by"
#define CAJA_METADATA_KEY_ICON_VIEW_SORT_REVERSED    	"caja-icon-view-sort-reversed"
#define CAJA_METADATA_KEY_ICON_VIEW_KEEP_ALIGNED            "caja-icon-view-keep-aligned"
#define CAJA_METADATA_KEY_ICON_VIEW_LAYOUT_TIMESTAMP	"caja-icon-view-layout-timestamp"

#define CAJA_METADATA_KEY_LIST_VIEW_ZOOM_LEVEL       	"caja-list-view-zoom-level"
#define CAJA_METADATA_KEY_LIST_VIEW_SORT_COLUMN      	"caja-list-view-sort-column"
#define CAJA_METADATA_KEY_LIST_VIEW_SORT_REVERSED    	"caja-list-view-sort-reversed"
#define CAJA_METADATA_KEY_LIST_VIEW_VISIBLE_COLUMNS    	"caja-list-view-visible-columns"
#define CAJA_METADATA_KEY_LIST_VIEW_COLUMN_ORDER    	"caja-list-view-column-order"

#define CAJA_METADATA_KEY_COMPACT_VIEW_ZOOM_LEVEL		"caja-compact-view-zoom-level"

#define CAJA_METADATA_KEY_WINDOW_GEOMETRY			"caja-window-geometry"
#define CAJA_METADATA_KEY_WINDOW_SCROLL_POSITION		"caja-window-scroll-position"
#define CAJA_METADATA_KEY_WINDOW_SHOW_HIDDEN_FILES		"caja-window-show-hidden-files"
#define CAJA_METADATA_KEY_WINDOW_SHOW_BACKUP_FILES		"caja-window-show-backup-files"
#define CAJA_METADATA_KEY_WINDOW_MAXIMIZED			"caja-window-maximized"
#define CAJA_METADATA_KEY_WINDOW_STICKY			"caja-window-sticky"
#define CAJA_METADATA_KEY_WINDOW_KEEP_ABOVE			"caja-window-keep-above"

#define CAJA_METADATA_KEY_SIDEBAR_BACKGROUND_COLOR   	"caja-sidebar-background-color"
#define CAJA_METADATA_KEY_SIDEBAR_BACKGROUND_IMAGE   	"caja-sidebar-background-image"
#define CAJA_METADATA_KEY_SIDEBAR_BUTTONS			"caja-sidebar-buttons"

#define CAJA_METADATA_KEY_ICON_POSITION              	"caja-icon-position"
#define CAJA_METADATA_KEY_ICON_POSITION_TIMESTAMP		"caja-icon-position-timestamp"
#define CAJA_METADATA_KEY_ANNOTATION                 	"annotation"
#define CAJA_METADATA_KEY_ICON_SCALE                 	"icon-scale"
#define CAJA_METADATA_KEY_CUSTOM_ICON                	"custom-icon"
#define CAJA_METADATA_KEY_SCREEN				"screen"
#define CAJA_METADATA_KEY_EMBLEMS				"emblems"

guint caja_metadata_get_id (const char *metadata);

#endif /* CAJA_METADATA_H */