Updated Slovenian translation
[nautilus.git] / libnautilus-extension / nautilus-column.h
blob8ad627a9b3fe88cde223e57edff9e79d93a38b71
1 /*
2 * nautilus-column.h - Info columns exported by
3 * NautilusColumnProvider objects.
5 * Copyright (C) 2003 Novell, Inc.
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version.
12 * This 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.
17 * You should have received a copy of the GNU Library General Public
18 * License along with this library; if not, write to the Free
19 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21 * Author: Dave Camp <dave@ximian.com>
25 #ifndef NAUTILUS_COLUMN_H
26 #define NAUTILUS_COLUMN_H
28 #include <glib-object.h>
29 #include "nautilus-extension-types.h"
31 G_BEGIN_DECLS
33 #define NAUTILUS_TYPE_COLUMN (nautilus_column_get_type())
34 #define NAUTILUS_COLUMN(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), NAUTILUS_TYPE_COLUMN, NautilusColumn))
35 #define NAUTILUS_COLUMN_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), NAUTILUS_TYPE_COLUMN, NautilusColumnClass))
36 #define NAUTILUS_INFO_IS_COLUMN(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), NAUTILUS_TYPE_COLUMN))
37 #define NAUTILUS_INFO_IS_COLUMN_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), NAUTILUS_TYPE_COLUMN))
38 #define NAUTILUS_COLUMN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), NAUTILUS_TYPE_COLUMN, NautilusColumnClass))
40 typedef struct _NautilusColumn NautilusColumn;
41 typedef struct _NautilusColumnDetails NautilusColumnDetails;
42 typedef struct _NautilusColumnClass NautilusColumnClass;
44 struct _NautilusColumn {
45 GObject parent;
47 NautilusColumnDetails *details;
50 struct _NautilusColumnClass {
51 GObjectClass parent;
54 GType nautilus_column_get_type (void);
55 NautilusColumn * nautilus_column_new (const char *name,
56 const char *attribute,
57 const char *label,
58 const char *description);
60 /* NautilusColumn has the following properties:
61 * name (string) - the identifier for the column
62 * attribute (string) - the file attribute to be displayed in the
63 * column
64 * label (string) - the user-visible label for the column
65 * description (string) - a user-visible description of the column
66 * xalign (float) - x-alignment of the column
69 G_END_DECLS
71 #endif