Set Nautilus-Actions as being the actual official product name
[nautilus-actions.git] / src / api / na-ifactory-object-data.h
blob946f6a63fc6f0462384035a431a7ffea2ef8e79e
1 /*
2 * Nautilus-Actions
3 * A Nautilus extension which offers configurable context menu actions.
5 * Copyright (C) 2005 The GNOME Foundation
6 * Copyright (C) 2006, 2007, 2008 Frederic Ruaudel and others (see AUTHORS)
7 * Copyright (C) 2009, 2010, 2011 Pierre Wieser and others (see AUTHORS)
9 * This Program 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 * This Program 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
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public
20 * License along with this Library; see the file COPYING. If not,
21 * write to the Free Software Foundation, Inc., 59 Temple Place,
22 * Suite 330, Boston, MA 02111-1307, USA.
24 * Authors:
25 * Frederic Ruaudel <grumz@grumz.net>
26 * Rodrigo Moya <rodrigo@gnome-db.org>
27 * Pierre Wieser <pwieser@trychlos.org>
28 * ... and many others (see AUTHORS)
31 #ifndef __NAUTILUS_ACTIONS_API_NA_IFACTORY_OBJECT_DATA_H__
32 #define __NAUTILUS_ACTIONS_API_NA_IFACTORY_OBJECT_DATA_H__
34 /**
35 * SECTION: data-name
36 * @title: Constants
37 * @short_description: The Data Factory Constant Definitions
38 * @include: nautilus-actions/na-ifactory-object-data.h
40 * Each elementary data get its own name here.
42 * Through #NADataDef and #NADataGroup definitions, each #NAObjectItem
43 * derived object which implement the #NAIFactoryObject interface will
44 * dynamically define a property for each attached elementary data.
47 #include <glib.h>
49 G_BEGIN_DECLS
51 /**
52 * NA_FACTORY_OBJECT_ID_GROUP:
54 * #NAObjectId common data.
56 #define NA_FACTORY_OBJECT_ID_GROUP "na-factory-group-id"
57 #define NAFO_DATA_ID "na-factory-data-id"
58 #define NAFO_DATA_LABEL "na-factory-data-label"
59 #define NAFO_DATA_PARENT "na-factory-data-parent"
60 #define NAFO_DATA_CONDITIONS "na-factory-data-conditions"
62 /**
63 * NA_FACTORY_OBJECT_ITEM_GROUP:
65 * #NAObjectItem common data.
67 #define NA_FACTORY_OBJECT_ITEM_GROUP "na-factory-group-item"
68 #define NAFO_DATA_IVERSION "na-factory-data-iversion"
69 #define NAFO_DATA_TYPE "na-factory-data-type"
70 #define NAFO_DATA_TOOLTIP "na-factory-data-tooltip"
71 #define NAFO_DATA_ICON "na-factory-data-icon"
72 #define NAFO_DATA_ICON_NOLOC "na-factory-data-unlocalized-icon"
73 #define NAFO_DATA_DESCRIPTION "na-factory-data-description"
74 #define NAFO_DATA_SHORTCUT "na-factory-data-shortcut"
75 #define NAFO_DATA_SUBITEMS "na-factory-data-items"
76 #define NAFO_DATA_SUBITEMS_SLIST "na-factory-data-items-slist"
77 #define NAFO_DATA_ENABLED "na-factory-data-enabled"
78 #define NAFO_DATA_READONLY "na-factory-data-readonly"
79 #define NAFO_DATA_PROVIDER "na-factory-data-provider"
80 #define NAFO_DATA_PROVIDER_DATA "na-factory-data-provider-data"
82 /**
83 * NA_FACTORY_OBJECT_ACTION_GROUP:
85 * #NAObjectAction specific datas.
87 #define NA_FACTORY_OBJECT_ACTION_GROUP "na-factory-group-action"
88 #define NAFO_DATA_VERSION "na-factory-data-version"
89 #define NAFO_DATA_TARGET_SELECTION "na-factory-data-target-selection"
90 #define NAFO_DATA_TARGET_LOCATION "na-factory-data-target-location"
91 #define NAFO_DATA_TARGET_TOOLBAR "na-factory-data-target-toolbar"
92 #define NAFO_DATA_TOOLBAR_LABEL "na-factory-data-toolbar-label"
93 #define NAFO_DATA_TOOLBAR_SAME_LABEL "na-factory-data-toolbar-same-label"
94 #define NAFO_DATA_LAST_ALLOCATED "na-factory-data-last-allocated"
96 /**
97 * NA_FACTORY_ACTION_V1_GROUP:
99 * A group of datas which are specific to v 1 actions. It happens to be
100 * empty as all these datas have been alter embedded in #NAObjectItem
101 * data group.
103 #define NA_FACTORY_ACTION_V1_GROUP "na-factory-group-action-v1"
106 * NA_FACTORY_OBJECT_MENU_GROUP:
108 * #NAObjectMenu specific datas. It happens to be empty as the definition
109 * of a menu is very close of those of an action.
111 #define NA_FACTORY_OBJECT_MENU_GROUP "na-factory-group-menu"
114 * NA_FACTORY_OBJECT_PROFILE_GROUP:
116 * #NAObjectProfile specific datas.
118 #define NA_FACTORY_OBJECT_PROFILE_GROUP "na-factory-group-profile"
119 #define NAFO_DATA_DESCNAME "na-factory-data-descname"
120 #define NAFO_DATA_DESCNAME_NOLOC "na-factory-data-unlocalized-descname"
121 #define NAFO_DATA_PATH "na-factory-data-path"
122 #define NAFO_DATA_PARAMETERS "na-factory-data-parameters"
123 #define NAFO_DATA_WORKING_DIR "na-factory-data-working-dir"
124 #define NAFO_DATA_EXECUTION_MODE "na-factory-data-execution-mode"
125 #define NAFO_DATA_STARTUP_NOTIFY "na-factory-data-startup-notify"
126 #define NAFO_DATA_STARTUP_WMCLASS "na-factory-data-startup-wm-class"
127 #define NAFO_DATA_EXECUTE_AS "na-factory-data-execute-as"
130 * NA_FACTORY_OBJECT_CONDITIONS_GROUP:
132 * The datas which determine the display conditions of a menu or an action.
134 * @see_also: #NAIContext interface.
136 #define NA_FACTORY_OBJECT_CONDITIONS_GROUP "na-factory-group-conditions"
137 #define NAFO_DATA_BASENAMES "na-factory-data-basenames"
138 #define NAFO_DATA_MATCHCASE "na-factory-data-matchcase"
139 #define NAFO_DATA_MIMETYPES "na-factory-data-mimetypes"
140 #define NAFO_DATA_ALL_MIMETYPES "na-factory-data-all-mimetypes"
141 #define NAFO_DATA_ISFILE "na-factory-data-isfile"
142 #define NAFO_DATA_ISDIR "na-factory-data-isdir"
143 #define NAFO_DATA_MULTIPLE "na-factory-data-multiple"
144 #define NAFO_DATA_SCHEMES "na-factory-data-schemes"
145 #define NAFO_DATA_FOLDERS "na-factory-data-folders"
146 #define NAFO_DATA_SELECTION_COUNT "na-factory-data-selection-count"
147 #define NAFO_DATA_ONLY_SHOW "na-factory-data-only-show-in"
148 #define NAFO_DATA_NOT_SHOW "na-factory-data-not-show-in"
149 #define NAFO_DATA_TRY_EXEC "na-factory-data-try-exec"
150 #define NAFO_DATA_SHOW_IF_REGISTERED "na-factory-data-show-if-registered"
151 #define NAFO_DATA_SHOW_IF_TRUE "na-factory-data-show-if-true"
152 #define NAFO_DATA_SHOW_IF_RUNNING "na-factory-data-show-if-running"
153 #define NAFO_DATA_CAPABILITITES "na-factory-data-capabilitites"
155 G_END_DECLS
157 #endif /* __NAUTILUS_ACTIONS_API_NA_IFACTORY_OBJECT_DATA_H__ */