API

## API API — The Common Public NAObject API |

## Functions

#define | na_object_duplicate()
#define | na_object_check_status()
#define | na_object_get_origin()
#define | na_object_is_valid()
#define | na_object_is_modified()
#define | na_object_set_origin()
#define | na_object_set_modified()
#define | na_object_reset_origin()
#define | na_object_set_writability_status()
#define | na_object_is_finally_writable()
#define | na_object_check_mimetypes()
#define | na_object_dump()
#define | na_object_dump_norec()
#define | na_object_dump_tree()
#define | na_object_ref()
#define | na_object_unref()
#define | na_object_debug_invalid()
#define | na_object_get_id()
#define | na_object_get_label()
#define | na_object_get_label_noloc()
#define | na_object_get_parent()
#define | na_object_set_id()
#define | na_object_set_label()
#define | na_object_set_parent()
#define | na_object_sort_alpha_asc()
#define | na_object_sort_alpha_desc()
#define | na_object_prepare_for_paste()
#define | na_object_set_copy_of_label()
#define | na_object_set_new_id()
#define | na_object_get_tooltip()
#define | na_object_get_icon()
#define | na_object_get_icon_noloc()
#define | na_object_get_description()
#define | na_object_get_items()
#define | na_object_get_items_slist()
#define | na_object_is_enabled()
#define | na_object_is_readonly()
#define | na_object_get_provider()
#define | na_object_get_provider_data()
#define | na_object_get_iversion()
#define | na_object_get_shortcut()
#define | na_object_set_tooltip()
#define | na_object_set_icon()
#define | na_object_set_description()
#define | na_object_set_items()
#define | na_object_set_items_slist()
#define | na_object_set_enabled()
#define | na_object_set_readonly()
#define | na_object_set_provider()
#define | na_object_set_provider_data()
#define | na_object_set_iversion()
#define | na_object_set_shortcut()
#define | na_object_get_item()
#define | na_object_get_position()
#define | na_object_append_item()
#define | na_object_insert_at()
#define | na_object_insert_item()
#define | na_object_remove_item()
#define | na_object_get_items_count()
#define | na_object_count_items()
#define | na_object_copyref_items()
#define | na_object_free_items()
#define | na_object_get_version()
#define | na_object_is_target_selection()
#define | na_object_is_target_location()
#define | na_object_is_target_toolbar()
#define | na_object_get_toolbar_label()
#define | na_object_is_toolbar_same_label()
#define | na_object_get_last_allocated()
#define | na_object_set_version()
#define | na_object_set_target_selection()
#define | na_object_set_target_location()
#define | na_object_set_target_toolbar()
#define | na_object_set_toolbar_label()
#define | na_object_set_toolbar_same_label()
#define | na_object_set_last_allocated()
#define | na_object_set_last_version()
#define | na_object_reset_last_allocated()
#define | na_object_attach_profile()
#define | na_object_get_path()
#define | na_object_get_parameters()
#define | na_object_get_working_dir()
#define | na_object_get_execution_mode()
#define | na_object_get_startup_notify()
#define | na_object_get_startup_class()
#define | na_object_get_execute_as()
#define | na_object_set_path()
#define | na_object_set_parameters()
#define | na_object_set_working_dir()
#define | na_object_set_execution_mode()
#define | na_object_set_startup_notify()
#define | na_object_set_startup_class()
#define | na_object_set_execute_as()
#define | na_object_get_basenames()
#define | na_object_get_matchcase()
#define | na_object_get_mimetypes()
#define | na_object_get_all_mimetypes()
#define | na_object_get_folders()
#define | na_object_get_schemes()
#define | na_object_get_only_show_in()
#define | na_object_get_not_show_in()
#define | na_object_get_try_exec()
#define | na_object_get_show_if_registered()
#define | na_object_get_show_if_true()
#define | na_object_get_show_if_running()
#define | na_object_get_selection_count()
#define | na_object_get_capabilities()
#define | na_object_set_basenames()
#define | na_object_set_matchcase()
#define | na_object_set_mimetypes()
#define | na_object_set_all_mimetypes()
#define | na_object_set_folders()
#define | na_object_replace_folder()
#define | na_object_set_scheme()
#define | na_object_set_schemes()
#define | na_object_set_only_show_in()
#define | na_object_set_only_desktop()
#define | na_object_set_not_show_in()
#define | na_object_set_not_desktop()
#define | na_object_set_try_exec()
#define | na_object_set_show_if_registered()
#define | na_object_set_show_if_true()
#define | na_object_set_show_if_running()
#define | na_object_set_selection_count()
#define | na_object_set_capabilities()

## Includes

    #include <caja-actions/na-object-api.h>

## Description

We define here a common API which makes easier to write (and read) the code; all object functions are named na_object; all arguments are casted directly in the macro.

## Functions

### na_object_duplicate()

    #define na_object_duplicate( obj, mode )                na_iduplicable_duplicate( NA_IDUPLICABLE( obj ), mode )

### na_object_check_status()

    #define na_object_check_status( obj )                   na_object_object_check_status_rec( NA_OBJECT( obj ))

### na_object_get_origin()

    #define na_object_get_origin( obj )                     na_iduplicable_get_origin( NA_IDUPLICABLE( obj ))

### na_object_is_valid()

    #define na_object_is_valid( obj )                       na_iduplicable_is_valid( NA_IDUPLICABLE( obj ))

### na_object_is_modified()

    #define na_object_is_modified( obj )                    na_iduplicable_is_modified( NA_IDUPLICABLE( obj ))

### na_object_set_origin()

    #define na_object_set_origin( obj, origin )             na_iduplicable_set_origin( NA_IDUPLICABLE( obj ), ( NAIDuplicable * )( origin ))

### na_object_set_modified()

    #define na_object_set_modified( obj, modified )         na_iduplicable_set_modified( NA_IDUPLICABLE( obj ), ( modified ))

`na_object_set_modified` is deprecated and should not be used in newly-written code.

### na_object_reset_origin()

    #define na_object_reset_origin( obj, origin )           na_object_object_reset_origin( NA_OBJECT( obj ), ( NAObject * )( origin ))

### na_object_set_writability_status()

    #define na_object_set_writability_status( obj, w, r ) na_object_item_set_writability_status( NA_OBJECT_ITEM( obj ), ( w ), ( r ))

### na_object_is_finally_writable()

    #define na_object_is_finally_writable( obj, r )			na_object_item_is_finally_writable( NA_OBJECT_ITEM( obj ), ( r ))

### na_object_check_mimetypes()

    #define na_object_check_mimetypes( obj )                na_icontext_check_mimetypes( NA_ICONTEXT( obj ))

### na_object_dump()

    #define na_object_dump( obj )                           na_object_object_dump( NA_OBJECT( obj ))

### na_object_dump_norec()

    #define na_object_dump_norec( obj )                     na_object_object_dump_norec( NA_OBJECT( obj ))

### na_object_dump_tree()

    #define na_object_dump_tree( tree )                     na_object_object_dump_tree( tree )

### na_object_ref()

    #define na_object_ref( obj )                            na_object_object_ref( NA_OBJECT( obj ))

### na_object_unref()

    #define na_object_unref( obj )                          na_object_object_unref( NA_OBJECT( obj ))

### na_object_debug_invalid()

    #define na_object_debug_invalid( obj, reason )          na_object_object_debug_invalid( NA_OBJECT( obj ), ( const gchar * )( reason ))

### na_object_get_id()

    #define na_object_get_id( obj )                         (( gchar * ) na_ifactory_object_get_as_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_ID ))

### na_object_get_label()

    #define na_object_get_label( obj )                      (( gchar * ) na_ifactory_object_get_as_void( NA_IFACTORY_OBJECT( obj ), ( NA_IS_OBJECT_PROFILE( obj ) ? NAFO_DATA_DESCNAME : NAFO_DATA_LABEL )))

### na_object_get_label_noloc()

    #define na_object_get_label_noloc( obj )                (( gchar * )( NA_IS_OBJECT_PROFILE( obj ) ? na_ifactory_object_get_as_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_DESCNAME_NOLOC ) : NULL ))

### na_object_get_parent()

    #define na_object_get_parent( obj )                     (( NAObjectItem * ) na_ifactory_object_get_as_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_PARENT ))

### na_object_set_id()

    #define na_object_set_id( obj, id )                     na_ifactory_object_set_from_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_ID, ( const void * )( id ))

### na_object_set_label()

    #define na_object_set_label( obj, label )               na_ifactory_object_set_from_void( NA_IFACTORY_OBJECT( obj ), ( NA_IS_OBJECT_PROFILE( obj ) ? NAFO_DATA_DESCNAME : NAFO_DATA_LABEL ), ( const void * )( label ))

### na_object_set_parent()

    #define na_object_set_parent( obj, parent )             na_ifactory_object_set_from_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_PARENT, ( const void * )( parent ))

### na_object_sort_alpha_asc()

    #define na_object_sort_alpha_asc( a, b )                na_object_id_sort_alpha_asc( NA_OBJECT_ID( a ), NA_OBJECT_ID( b ))

### na_object_sort_alpha_desc()

    #define na_object_sort_alpha_desc( a, b )               na_object_id_sort_alpha_desc( NA_OBJECT_ID( a ), NA_OBJECT_ID( b ))

### na_object_prepare_for_paste()

    #define             na_object_prepare_for_paste( obj, relabel, renumber, parent )

### na_object_set_copy_of_label()

    #define na_object_set_copy_of_label( obj )              na_object_id_set_copy_of_label( NA_OBJECT_ID( obj ))

### na_object_set_new_id()

    #define na_object_set_new_id( obj, parent )             na_object_id_set_new_id( NA_OBJECT_ID( obj ), ( NAObjectId * )( parent ))

### na_object_get_tooltip()

    #define na_object_get_tooltip( obj )                    (( gchar * ) na_ifactory_object_get_as_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_TOOLTIP ))

### na_object_get_icon()

    #define na_object_get_icon( obj )                       (( gchar * ) na_ifactory_object_get_as_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_ICON ))

### na_object_get_icon_noloc()

    #define na_object_get_icon_noloc( obj )                 (( gchar * ) na_ifactory_object_get_as_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_ICON_NOLOC ))

### na_object_get_description()

    #define na_object_get_description( obj )                (( gchar * ) na_ifactory_object_get_as_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_DESCRIPTION ))

### na_object_get_items()

    #define na_object_get_items( obj )                      (( GList * ) na_ifactory_object_get_as_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_SUBITEMS ))

### na_object_get_items_slist()

    #define na_object_get_items_slist( obj )                (( GSList * ) na_ifactory_object_get_as_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_SUBITEMS_SLIST ))

### na_object_is_enabled()

    #define na_object_is_enabled( obj )                     (( gboolean ) GPOINTER_TO_UINT( na_ifactory_object_get_as_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_ENABLED )))

### na_object_is_readonly()

    #define na_object_is_readonly( obj )                    (( gboolean ) GPOINTER_TO_UINT( na_ifactory_object_get_as_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_READONLY )))

### na_object_get_provider()

    #define na_object_get_provider( obj )                   na_ifactory_object_get_as_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_PROVIDER )

### na_object_get_provider_data()

    #define na_object_get_provider_data( obj )              na_ifactory_object_get_as_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_PROVIDER_DATA )

### na_object_get_iversion()

    #define na_object_get_iversion( obj )                   GPOINTER_TO_UINT( na_ifactory_object_get_as_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_IVERSION ))

### na_object_get_shortcut()

    #define na_object_get_shortcut( obj )                   (( gchar * ) na_ifactory_object_get_as_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_SHORTCUT ))

### na_object_set_tooltip()

    #define na_object_set_tooltip( obj, tooltip )           na_ifactory_object_set_from_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_TOOLTIP, ( const void * )( tooltip ))

### na_object_set_icon()

    #define na_object_set_icon( obj, icon )                 na_ifactory_object_set_from_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_ICON, ( const void * )( icon ))

### na_object_set_description()

    #define na_object_set_description( obj, desc )          na_ifactory_object_set_from_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_DESCRIPTION, ( const void * )( desc ))

### na_object_set_items()

    #define na_object_set_items( obj, list )                na_ifactory_object_set_from_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_SUBITEMS, ( const void * )( list ))

### na_object_set_items_slist()

    #define na_object_set_items_slist( obj, slist )         na_ifactory_object_set_from_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_SUBITEMS_SLIST, ( const void * )( slist ))

### na_object_set_enabled()

    #define na_object_set_enabled( obj, enabled )           na_ifactory_object_set_from_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_ENABLED, ( const void * ) GUINT_TO_POINTER( enabled ))

### na_object_set_readonly()

    #define na_object_set_readonly( obj, readonly )         na_ifactory_object_set_from_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_READONLY, ( const void * ) GUINT_TO_POINTER( readonly ))

### na_object_set_provider()

    #define na_object_set_provider( obj, provider )         na_ifactory_object_set_from_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_PROVIDER, ( const void * )( provider ))

### na_object_set_provider_data()

    #define na_object_set_provider_data( obj, data )        na_ifactory_object_set_from_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_PROVIDER_DATA, ( const void * )( data ))

### na_object_set_iversion()

    #define na_object_set_iversion( obj, version )          na_ifactory_object_set_from_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_IVERSION, ( const void * ) GUINT_TO_POINTER( version ))

### na_object_set_shortcut()

    #define na_object_set_shortcut( obj, shortcut )         na_ifactory_object_set_from_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_SHORTCUT, ( const void * )( shortcut ))

### na_object_get_item()

    #define na_object_get_item( obj, id )                   na_object_item_get_item( NA_OBJECT_ITEM( obj ),( const gchar * )( id ))

### na_object_get_position()

    #define na_object_get_position( obj, child )            na_object_item_get_position( NA_OBJECT_ITEM( obj ), NA_OBJECT_ID( child ))

### na_object_append_item()

    #define na_object_append_item( obj, child )             na_object_item_append_item( NA_OBJECT_ITEM( obj ), NA_OBJECT_ID( child ))

### na_object_insert_at()

    #define na_object_insert_at( obj, child, pos )          na_object_item_insert_at( NA_OBJECT_ITEM( obj ), NA_OBJECT_ID( child ), ( pos ))

### na_object_insert_item()

    #define na_object_insert_item( obj, child, sibling )    na_object_item_insert_item( NA_OBJECT_ITEM( obj ), NA_OBJECT_ID( child ), ( NAObjectId * )( sibling ))

### na_object_remove_item()

    #define na_object_remove_item( obj, child )             na_object_item_remove_item( NA_OBJECT_ITEM( obj ), NA_OBJECT_ID( child ))

### na_object_get_items_count()

    #define na_object_get_items_count( obj )                na_object_item_get_items_count( NA_OBJECT_ITEM( obj ))

### na_object_count_items()

    #define na_object_count_items( list, cm, ca, cp )       na_object_item_count_items( list, ( cm ), ( ca ), ( cp ), TRUE )

### na_object_copyref_items()

    #define na_object_copyref_items( tree )                 na_object_item_copyref_items( tree )

### na_object_free_items()

    #define na_object_free_items( tree )                    na_object_item_free_items( tree )

### na_object_get_version()

    #define na_object_get_version( obj )                    (( gchar * ) na_ifactory_object_get_as_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_VERSION ))

### na_object_is_target_selection()

    #define na_object_is_target_selection( obj )            (( gboolean ) GPOINTER_TO_UINT( na_ifactory_object_get_as_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_TARGET_SELECTION )))

### na_object_is_target_location()

    #define na_object_is_target_location( obj )             (( gboolean ) GPOINTER_TO_UINT( na_ifactory_object_get_as_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_TARGET_LOCATION )))

### na_object_is_target_toolbar()

    #define na_object_is_target_toolbar( obj )              (( gboolean ) GPOINTER_TO_UINT( na_ifactory_object_get_as_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_TARGET_TOOLBAR )))

### na_object_get_toolbar_label()

    #define na_object_get_toolbar_label( obj )              (( gchar * ) na_ifactory_object_get_as_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_TOOLBAR_LABEL ))

### na_object_is_toolbar_same_label()

    #define na_object_is_toolbar_same_label( obj )          (( gboolean ) GPOINTER_TO_UINT( na_ifactory_object_get_as_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_TOOLBAR_SAME_LABEL )))

### na_object_get_last_allocated()

    #define na_object_get_last_allocated( obj )             (( guint ) GPOINTER_TO_UINT( na_ifactory_object_get_as_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_LAST_ALLOCATED )))

### na_object_set_version()

    #define na_object_set_version( obj, version )           na_ifactory_object_set_from_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_VERSION, ( const void * )( version ))

### na_object_set_target_selection()

    #define na_object_set_target_selection( obj, target )   na_ifactory_object_set_from_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_TARGET_SELECTION, ( const void * ) GUINT_TO_POINTER( target ))

### na_object_set_target_location()

    #define na_object_set_target_location( obj, target )    na_ifactory_object_set_from_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_TARGET_LOCATION, ( const void * ) GUINT_TO_POINTER( target ))

### na_object_set_target_toolbar()

    #define na_object_set_target_toolbar( obj, target )     na_ifactory_object_set_from_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_TARGET_TOOLBAR, ( const void * ) GUINT_TO_POINTER( target ))

### na_object_set_toolbar_label()

    #define na_object_set_toolbar_label( obj, label )       na_ifactory_object_set_from_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_TOOLBAR_LABEL, ( const void * )( label ))

### na_object_set_toolbar_same_label()

    #define na_object_set_toolbar_same_label( obj, same )   na_ifactory_object_set_from_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_TOOLBAR_SAME_LABEL, ( const void * ) GUINT_TO_POINTER( same ))

### na_object_set_last_allocated()

    #define na_object_set_last_allocated( obj, last )       na_ifactory_object_set_from_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_LAST_ALLOCATED, ( const void * ) GUINT_TO_POINTER( last ))

### na_object_set_last_version()

    #define na_object_set_last_version( obj )               na_object_action_set_last_version( NA_OBJECT_ACTION( obj ))

### na_object_reset_last_allocated()

    #define na_object_reset_last_allocated( obj )           na_ifactory_object_set_from_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_LAST_ALLOCATED, ( const void * ) GUINT_TO_POINTER( 0 ))

### na_object_attach_profile()

    #define na_object_attach_profile( obj, profile )        na_object_action_attach_profile( NA_OBJECT_ACTION( obj ), NA_OBJECT_PROFILE( profile ))

### na_object_get_path()

    #define na_object_get_path( obj )                       (( gchar * ) na_ifactory_object_get_as_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_PATH ))

### na_object_get_parameters()

    #define na_object_get_parameters( obj )                 (( gchar * ) na_ifactory_object_get_as_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_PARAMETERS ))

### na_object_get_working_dir()

    #define na_object_get_working_dir( obj )                (( gchar * ) na_ifactory_object_get_as_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_WORKING_DIR ))

### na_object_get_execution_mode()

    #define na_object_get_execution_mode( obj )             (( gchar * ) na_ifactory_object_get_as_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_EXECUTION_MODE ))

### na_object_get_startup_notify()

    #define na_object_get_startup_notify( obj )             (( gboolean ) GPOINTER_TO_UINT( na_ifactory_object_get_as_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_STARTUP_NOTIFY )))

### na_object_get_startup_class()

    #define na_object_get_startup_class( obj )              (( gchar * ) na_ifactory_object_get_as_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_STARTUP_WMCLASS ))

### na_object_get_execute_as()

    #define na_object_get_execute_as( obj )                 (( gchar * ) na_ifactory_object_get_as_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_EXECUTE_AS ))

### na_object_set_path()

    #define na_object_set_path( obj, path )                 na_ifactory_object_set_from_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_PATH, ( const void * )( path ))

### na_object_set_parameters()

    #define na_object_set_parameters( obj, parms )          na_ifactory_object_set_from_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_PARAMETERS, ( const void * )( parms ))

### na_object_set_working_dir()

    #define na_object_set_working_dir( obj, uri )           na_ifactory_object_set_from_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_WORKING_DIR, ( const void * )( uri ))

### na_object_set_execution_mode()

    #define na_object_set_execution_mode( obj, mode )       na_ifactory_object_set_from_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_EXECUTION_MODE, ( const void * )( mode ))

### na_object_set_startup_notify()

    #define na_object_set_startup_notify( obj, notify )     na_ifactory_object_set_from_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_STARTUP_NOTIFY, ( const void * ) GUINT_TO_POINTER( notify ))

### na_object_set_startup_class()

    #define na_object_set_startup_class( obj, class )       na_ifactory_object_set_from_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_STARTUP_WMCLASS, ( const void * )( class ))

### na_object_set_execute_as()

    #define na_object_set_execute_as( obj, user )           na_ifactory_object_set_from_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_EXECUTE_AS, ( const void * )( user ))

### na_object_get_basenames()

    #define na_object_get_basenames( obj )                  (( GSList * ) na_ifactory_object_get_as_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_BASENAMES ))

### na_object_get_matchcase()

    #define na_object_get_matchcase( obj )                  (( gboolean ) GPOINTER_TO_UINT( na_ifactory_object_get_as_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_MATCHCASE )))

### na_object_get_mimetypes()

    #define na_object_get_mimetypes( obj )                  (( GSList * ) na_ifactory_object_get_as_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_MIMETYPES ))

### na_object_get_all_mimetypes()

    #define na_object_get_all_mimetypes( obj )              (( gboolean ) GPOINTER_TO_UINT( na_ifactory_object_get_as_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_MIMETYPES_IS_ALL )))

### na_object_get_folders()

    #define na_object_get_folders( obj )                    (( GSList * ) na_ifactory_object_get_as_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_FOLDERS ))

### na_object_get_schemes()

    #define na_object_get_schemes( obj )                    (( GSList * ) na_ifactory_object_get_as_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_SCHEMES ))

### na_object_get_only_show_in()

    #define na_object_get_only_show_in( obj )               (( GSList * ) na_ifactory_object_get_as_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_ONLY_SHOW ))

### na_object_get_not_show_in()

    #define na_object_get_not_show_in( obj )                (( GSList * ) na_ifactory_object_get_as_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_NOT_SHOW ))

### na_object_get_try_exec()

    #define na_object_get_try_exec( obj )                   (( gchar * ) na_ifactory_object_get_as_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_TRY_EXEC ))

### na_object_get_show_if_registered()

    #define na_object_get_show_if_registered( obj )         (( gchar * ) na_ifactory_object_get_as_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_SHOW_IF_REGISTERED ))

### na_object_get_show_if_true()

    #define na_object_get_show_if_true( obj )               (( gchar * ) na_ifactory_object_get_as_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_SHOW_IF_TRUE ))

### na_object_get_show_if_running()

    #define na_object_get_show_if_running( obj )            (( gchar * ) na_ifactory_object_get_as_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_SHOW_IF_RUNNING ))

### na_object_get_selection_count()

    #define na_object_get_selection_count( obj )            (( gchar * ) na_ifactory_object_get_as_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_SELECTION_COUNT ))

### na_object_get_capabilities()

    #define na_object_get_capabilities( obj )               (( GSList * ) na_ifactory_object_get_as_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_CAPABILITITES ))

### na_object_set_basenames()

    #define na_object_set_basenames( obj, bnames )          na_ifactory_object_set_from_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_BASENAMES, ( const void * )( bnames ))

### na_object_set_matchcase()

    #define na_object_set_matchcase( obj, match )           na_ifactory_object_set_from_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_MATCHCASE, ( const void * ) GUINT_TO_POINTER( match ))

### na_object_set_mimetypes()

    #define na_object_set_mimetypes( obj, types )           na_ifactory_object_set_from_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_MIMETYPES, ( const void * )( types ))

### na_object_set_all_mimetypes()

    #define na_object_set_all_mimetypes( obj, all )         na_ifactory_object_set_from_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_MIMETYPES_IS_ALL, ( const void * ) GUINT_TO_POINTER( all ))

### na_object_set_folders()

    #define na_object_set_folders( obj, folders )           na_ifactory_object_set_from_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_FOLDERS, ( const void * )( folders ))

### na_object_replace_folder()

    #define na_object_replace_folder( obj, old, new )       na_icontext_replace_folder( NA_ICONTEXT( obj ), ( const gchar * )( old ), ( const gchar * )( new ))

### na_object_set_scheme()

    #define na_object_set_scheme( obj, scheme, add )        na_icontext_set_scheme( NA_ICONTEXT( obj ), ( const gchar * )( scheme ), ( add ))

### na_object_set_schemes()

    #define na_object_set_schemes( obj, schemes )           na_ifactory_object_set_from_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_SCHEMES, ( const void * )( schemes ))

### na_object_set_only_show_in()

    #define na_object_set_only_show_in( obj, list )         na_ifactory_object_set_from_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_ONLY_SHOW, ( const void * )( list ))

### na_object_set_only_desktop()

    #define na_object_set_only_desktop( obj, desktop, add ) na_icontext_set_only_desktop( NA_ICONTEXT( obj ), ( const gchar * )( desktop ), ( add ))

### na_object_set_not_show_in()

    #define na_object_set_not_show_in( obj, list )          na_ifactory_object_set_from_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_NOT_SHOW, ( const void * )( list ))

### na_object_set_not_desktop()

    #define na_object_set_not_desktop( obj, desktop, add )  na_icontext_set_not_desktop( NA_ICONTEXT( obj ), ( const gchar * )( desktop ), ( add ))

### na_object_set_try_exec()

    #define na_object_set_try_exec( obj, exec )             na_ifactory_object_set_from_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_TRY_EXEC, ( const void * )( exec ))

### na_object_set_show_if_registered()

    #define na_object_set_show_if_registered( obj, name )   na_ifactory_object_set_from_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_SHOW_IF_REGISTERED, ( const void * )( name ))

### na_object_set_show_if_true()

    #define na_object_set_show_if_true( obj, exec )         na_ifactory_object_set_from_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_SHOW_IF_TRUE, ( const void * )( exec ))

### na_object_set_show_if_running()

    #define na_object_set_show_if_running( obj, name )      na_ifactory_object_set_from_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_SHOW_IF_RUNNING, ( const void * )( name ))

### na_object_set_selection_count()

    #define na_object_set_selection_count( obj, cond )      na_ifactory_object_set_from_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_SELECTION_COUNT, ( const void * )( cond ))

### na_object_set_capabilities()

    #define na_object_set_capabilities( obj, cap )          na_ifactory_object_set_from_void( NA_IFACTORY_OBJECT( obj ), NAFO_DATA_CAPABILITITES, ( const void * )( cap ))

## Types and Values