![]() |
![]() |
![]() |
Nautilus-Actions™ Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
#include <nautilus-actions/na-data-types.h>
enum NAFactoryDataType;
const gchar * na_data_types_get_gconf_dump_key (guint type
);
typedef enum { NAFD_TYPE_STRING = 1, NAFD_TYPE_LOCALE_STRING, NAFD_TYPE_BOOLEAN, NAFD_TYPE_STRING_LIST, NAFD_TYPE_POINTER, NAFD_TYPE_UINT } NAFactoryDataType;
NAFactoryDataType
is deprecated and should not be used in newly-written code. 3.1.0
Each elementary factory data must be typed as one of these IFactoryProvider implementations should provide a primitive for reading (resp. writing) a value for each of these elementary data types.
Please note that this enumeration may be compiled in by the extensions.
They must so remain fixed, unless you want see strange effects (e.g.
an extension has been compiled with NAFD_TYPE_STRING
= 2, while you
have inserted another element, making it to 3 !) - or you know what
you are doing...
So, only add new items at the end of the enum. You have been warned!
Starting with version 3.1.0, NAFactoryDataType is deprecated in favour of NABoxed structure. New code should only use NABoxed structure and accessors.
an ASCII string | |
a localized UTF-8 string | |
a boolean can be initialized with "true" or "false" (case insensitive) | |
a list of ASCII strings | |
a ( void * ) pointer should be initialized to NULL | |
an unsigned integer |
const gchar * na_data_types_get_gconf_dump_key (guint type
);
na_data_types_get_gconf_dump_key
is deprecated and should not be used in newly-written code. 3.1.0
|
the FactoryData type. |
Returns : |
the GConf key suitable for this type. The returned key is owned by the factory data management system, and should not be released by the caller. |
Since 2.30