README: add deprecation notice
[nautilus-actions.git] / src / core / fma-object-id-factory.c
blob04207c984849703dadf245e837622924ba3e9902
1 /*
2 * FileManager-Actions
3 * A file-manager extension which offers configurable context menu actions.
5 * Copyright (C) 2005 The GNOME Foundation
6 * Copyright (C) 2006-2008 Frederic Ruaudel and others (see AUTHORS)
7 * Copyright (C) 2009-2015 Pierre Wieser and others (see AUTHORS)
9 * FileManager-Actions is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation; either version 2 of
12 * the License, or (at your option) any later version.
14 * FileManager-Actions is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with FileManager-Actions; see the file COPYING. If not, see
21 * <http://www.gnu.org/licenses/>.
23 * Authors:
24 * Frederic Ruaudel <grumz@grumz.net>
25 * Rodrigo Moya <rodrigo@gnome-db.org>
26 * Pierre Wieser <pwieser@trychlos.org>
27 * ... and many others (see AUTHORS)
30 #ifdef HAVE_CONFIG_H
31 #include <config.h>
32 #endif
34 #include <api/fma-ifactory-object-data.h>
35 #include <api/fma-data-def.h>
36 #include <api/fma-data-types.h>
39 * As of 3.2 non copyables data are:
40 * - the parent pointer
43 FMADataDef data_def_id [] = {
45 /* this data is marked non readable / non writable as it has to be read
46 * written specifically when serializing / deserializing items
48 { FMAFO_DATA_ID,
49 FALSE,
50 FALSE,
51 TRUE,
52 "FMAObjectId identifier",
53 "Internal identifier of the FMAObjectId object. " \
54 "Historically a UUID used as a GConf directory (thus ASCII, case insensitive), " \
55 "it is also the basename of the .desktop file (thus UTF-8, case sensitive).",
56 FMA_DATA_TYPE_STRING,
57 "",
58 FALSE,
59 TRUE,
60 TRUE,
61 TRUE, /* mandatory */
62 FALSE,
63 NULL,
64 NULL,
66 NULL,
69 NULL,
70 NULL },
72 /* dynamic data, so not readable / not writable
74 { FMAFO_DATA_PARENT,
75 FALSE,
76 FALSE,
77 TRUE,
78 "FMAObjectId Parent",
79 "The FMAObjectItem which is the parent of this object.",
80 FMA_DATA_TYPE_POINTER,
81 NULL,
82 FALSE,
83 FALSE,
84 FALSE,
85 FALSE,
86 FALSE,
87 NULL,
88 NULL,
90 NULL,
93 NULL,
94 NULL },
96 { NULL },