1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */ 2 3 /* caja-column-utilities.h - Utilities related to column specifications 4 5 Copyright (C) 2004 Novell, Inc. 6 7 The Mate Library is free software; you can redistribute it and/or 8 modify it under the terms of the GNU Library 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 The Mate Library 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 Library General Public License for more details. 16 17 You should have received a copy of the GNU Library General Public 18 License along with the Mate Library; see the column COPYING.LIB. If not, 19 write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, 20 Boston, MA 02110-1301, USA. 21 22 Authors: Dave Camp <dave@ximian.com> 23 */ 24 25 #ifndef CAJA_COLUMN_UTILITIES_H 26 #define CAJA_COLUMN_UTILITIES_H 27 28 #include <libcaja-extension/caja-column.h> 29 30 #include "caja-file.h" 31 32 GList *caja_get_all_columns (void); 33 GList *caja_get_common_columns (void); 34 GList *caja_get_columns_for_file (CajaFile *file); 35 GList *caja_column_list_copy (GList *columns); 36 void caja_column_list_free (GList *columns); 37 38 GList *caja_sort_columns (GList *columns, 39 char **column_order); 40 41 42 #endif /* CAJA_COLUMN_UTILITIES_H */ 43