NADataType

NADataType — The Data Factory Type Definitions

Functions

Types and Values

enum NADataType

Includes

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

Description

Functions

na_data_types_get_mateconf_dump_key ()

const gchar *
na_data_types_get_mateconf_dump_key (guint type);

Parameters

type

the FactoryData type.

 

Returns

the MateConf 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

Types and Values

enum 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.

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!

Members

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