![]() |
![]() |
![]() |
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;
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!
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 |