## NADataType

NADataType — The Data Factory Type Definitions

## Synopsis

    #include <nautilus-actions/na-data-types.h>

    enum                NADataType;
    const gchar *       na_data_types_get_gconf_dump_key    (guint type);

## Description

## Details

### enum NADataType

    typedef enum {
    	NA_DATA_TYPE_BOOLEAN = 1,
    	NA_DATA_TYPE_POINTER,
    	NA_DATA_TYPE_STRING,
    	NA_DATA_TYPE_STRING_LIST,
    	NA_DATA_TYPE_LOCALE_STRING,
    	NA_DATA_TYPE_UINT,
    	NA_DATA_TYPE_UINT_LIST,
    } NADataType;

Each elementary data which would take advantage of NABoxed facilities should be typed at instanciation time.

NAIFactoryProvider implementations should provide a primitive for reading (resp. writing) a value for each of these elementary data types.

### Note

Please note that this enumeration may be compiled in by the extensions. They must so remain fixed, unless you are prepared to see strange effects (e.g. an extension has been compiled with `NA_DATA_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!

`NA_DATA_TYPE_BOOLEAN` | a boolean can be initialized with "true" or "false" (case insensitive)
`NA_DATA_TYPE_POINTER` | a ( void * ) pointer
`NA_DATA_TYPE_STRING` | an ASCII string
`NA_DATA_TYPE_STRING_LIST` | a list of ASCII strings
`NA_DATA_TYPE_LOCALE_STRING` | a localized UTF-8 string
`NA_DATA_TYPE_UINT` | an unsigned integer
`NA_DATA_TYPE_UINT_LIST` | a list of unsigned integers

Since 2.30

### na_data_types_get_gconf_dump_key ()

    const gchar *       na_data_types_get_gconf_dump_key    (guint type);

`type` : | 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