API: <span class="productname">FileManager-Actions</span>™ Reference Manual

## API API — The Common Public FMAObject API |

## Functions

#define | fma_object_duplicate()
#define | fma_object_check_status()
#define | fma_object_get_origin()
#define | fma_object_is_valid()
#define | fma_object_is_modified()
#define | fma_object_set_origin()
#define | fma_object_set_modified()
#define | fma_object_reset_origin()
#define | fma_object_set_writability_status()
#define | fma_object_is_finally_writable()
#define | fma_object_check_mimetypes()
#define | fma_object_dump()
#define | fma_object_dump_norec()
#define | fma_object_dump_tree()
#define | fma_object_ref()
#define | fma_object_unref()
#define | fma_object_debug_invalid()
#define | fma_object_get_id()
#define | fma_object_get_label()
#define | fma_object_get_label_noloc()
#define | fma_object_get_parent()
#define | fma_object_set_id()
#define | fma_object_set_label()
#define | fma_object_set_parent()
#define | fma_object_sort_alpha_asc()
#define | fma_object_sort_alpha_desc()
#define | fma_object_prepare_for_paste()
#define | fma_object_set_copy_of_label()
#define | fma_object_set_new_id()
#define | fma_object_get_tooltip()
#define | fma_object_get_icon()
#define | fma_object_get_icon_noloc()
#define | fma_object_get_description()
#define | fma_object_get_items()
#define | fma_object_get_items_slist()
#define | fma_object_is_enabled()
#define | fma_object_is_readonly()
#define | fma_object_get_provider()
#define | fma_object_get_provider_data()
#define | fma_object_get_iversion()
#define | fma_object_get_shortcut()
#define | fma_object_set_tooltip()
#define | fma_object_set_icon()
#define | fma_object_set_description()
#define | fma_object_set_items()
#define | fma_object_set_items_slist()
#define | fma_object_set_enabled()
#define | fma_object_set_readonly()
#define | fma_object_set_provider()
#define | fma_object_set_provider_data()
#define | fma_object_set_iversion()
#define | fma_object_set_shortcut()
#define | fma_object_get_item()
#define | fma_object_get_position()
#define | fma_object_append_item()
#define | fma_object_insert_at()
#define | fma_object_insert_item()
#define | fma_object_remove_item()
#define | fma_object_get_items_count()
#define | fma_object_count_items()
#define | fma_object_copyref_items()
#define | fma_object_free_items()
#define | fma_object_get_version()
#define | fma_object_is_target_selection()
#define | fma_object_is_target_location()
#define | fma_object_is_target_toolbar()
#define | fma_object_get_toolbar_label()
#define | fma_object_is_toolbar_same_label()
#define | fma_object_get_last_allocated()
#define | fma_object_set_version()
#define | fma_object_set_target_selection()
#define | fma_object_set_target_location()
#define | fma_object_set_target_toolbar()
#define | fma_object_set_toolbar_label()
#define | fma_object_set_toolbar_same_label()
#define | fma_object_set_last_allocated()
#define | fma_object_set_last_version()
#define | fma_object_reset_last_allocated()
#define | fma_object_attach_profile()
#define | fma_object_get_path()
#define | fma_object_get_parameters()
#define | fma_object_get_working_dir()
#define | fma_object_get_execution_mode()
#define | fma_object_get_startup_notify()
#define | fma_object_get_startup_class()
#define | fma_object_get_execute_as()
#define | fma_object_set_path()
#define | fma_object_set_parameters()
#define | fma_object_set_working_dir()
#define | fma_object_set_execution_mode()
#define | fma_object_set_startup_notify()
#define | fma_object_set_startup_class()
#define | fma_object_set_execute_as()
#define | fma_object_get_basenames()
#define | fma_object_get_matchcase()
#define | fma_object_get_mimetypes()
#define | fma_object_get_all_mimetypes()
#define | fma_object_get_folders()
#define | fma_object_get_schemes()
#define | fma_object_get_only_show_in()
#define | fma_object_get_not_show_in()
#define | fma_object_get_try_exec()
#define | fma_object_get_show_if_registered()
#define | fma_object_get_show_if_true()
#define | fma_object_get_show_if_running()
#define | fma_object_get_selection_count()
#define | fma_object_get_capabilities()
#define | fma_object_set_basenames()
#define | fma_object_set_matchcase()
#define | fma_object_set_mimetypes()
#define | fma_object_set_all_mimetypes()
#define | fma_object_set_folders()
#define | fma_object_replace_folder()
#define | fma_object_set_scheme()
#define | fma_object_set_schemes()
#define | fma_object_set_only_show_in()
#define | fma_object_set_only_desktop()
#define | fma_object_set_not_show_in()
#define | fma_object_set_not_desktop()
#define | fma_object_set_try_exec()
#define | fma_object_set_show_if_registered()
#define | fma_object_set_show_if_true()
#define | fma_object_set_show_if_running()
#define | fma_object_set_selection_count()
#define | fma_object_set_capabilities()

## Includes

    #include <filemanager-actions/fma-object-api.h>

## Description

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

## Functions

### fma_object_duplicate()

    #define fma_object_duplicate( obj, mode )                fma_iduplicable_duplicate( FMA_IDUPLICABLE( obj ), mode )

### fma_object_check_status()

    #define fma_object_check_status( obj )                   fma_object_object_check_status_rec( FMA_OBJECT( obj ))

### fma_object_get_origin()

    #define fma_object_get_origin( obj )                     fma_iduplicable_get_origin( FMA_IDUPLICABLE( obj ))

### fma_object_is_valid()

    #define fma_object_is_valid( obj )                       fma_iduplicable_is_valid( FMA_IDUPLICABLE( obj ))

### fma_object_is_modified()

    #define fma_object_is_modified( obj )                    fma_iduplicable_is_modified( FMA_IDUPLICABLE( obj ))

### fma_object_set_origin()

    #define fma_object_set_origin( obj, origin )             fma_iduplicable_set_origin( FMA_IDUPLICABLE( obj ), ( FMAIDuplicable * )( origin ))

### fma_object_set_modified()

    #define fma_object_set_modified( obj, modified )         fma_iduplicable_set_modified( FMA_IDUPLICABLE( obj ), ( modified ))

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

### fma_object_reset_origin()

    #define fma_object_reset_origin( obj, origin )           fma_object_object_reset_origin( FMA_OBJECT( obj ), ( FMAObject * )( origin ))

### fma_object_set_writability_status()

    #define fma_object_set_writability_status( obj, w, r )   fma_object_item_set_writability_status( FMA_OBJECT_ITEM( obj ), ( w ), ( r ))

### fma_object_is_finally_writable()

    #define fma_object_is_finally_writable( obj, r )         fma_object_item_is_finally_writable( FMA_OBJECT_ITEM( obj ), ( r ))

### fma_object_check_mimetypes()

    #define fma_object_check_mimetypes( obj )                fma_icontext_check_mimetypes( FMA_ICONTEXT( obj ))

### fma_object_dump()

    #define fma_object_dump( obj )                           fma_object_object_dump( FMA_OBJECT( obj ))

### fma_object_dump_norec()

    #define fma_object_dump_norec( obj )                     fma_object_object_dump_norec( FMA_OBJECT( obj ))

### fma_object_dump_tree()

    #define fma_object_dump_tree( tree )                     fma_object_object_dump_tree( tree )

### fma_object_ref()

    #define fma_object_ref( obj )                            fma_object_object_ref( FMA_OBJECT( obj ))

### fma_object_unref()

    #define fma_object_unref( obj )                          fma_object_object_unref( FMA_OBJECT( obj ))

### fma_object_debug_invalid()

    #define fma_object_debug_invalid( obj, reason )          fma_object_object_debug_invalid( FMA_OBJECT( obj ), ( const gchar * )( reason ))

### fma_object_get_id()

    #define fma_object_get_id( obj )                         (( gchar * ) fma_ifactory_object_get_as_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_ID ))

### fma_object_get_label()

    #define fma_object_get_label( obj )                      (( gchar * ) fma_ifactory_object_get_as_void( FMA_IFACTORY_OBJECT( obj ), ( FMA_IS_OBJECT_PROFILE( obj ) ? FMAFO_DATA_DESCNAME : FMAFO_DATA_LABEL )))

### fma_object_get_label_noloc()

    #define fma_object_get_label_noloc( obj )                (( gchar * )( FMA_IS_OBJECT_PROFILE( obj ) ? fma_ifactory_object_get_as_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_DESCNAME_NOLOC ) : NULL ))

### fma_object_get_parent()

    #define fma_object_get_parent( obj )                     (( FMAObjectItem * ) fma_ifactory_object_get_as_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_PARENT ))

### fma_object_set_id()

    #define fma_object_set_id( obj, id )                     fma_ifactory_object_set_from_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_ID, ( const void * )( id ))

### fma_object_set_label()

    #define fma_object_set_label( obj, label )               fma_ifactory_object_set_from_void( FMA_IFACTORY_OBJECT( obj ), ( FMA_IS_OBJECT_PROFILE( obj ) ? FMAFO_DATA_DESCNAME : FMAFO_DATA_LABEL ), ( const void * )( label ))

### fma_object_set_parent()

    #define fma_object_set_parent( obj, parent )             fma_ifactory_object_set_from_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_PARENT, ( const void * )( parent ))

### fma_object_sort_alpha_asc()

    #define fma_object_sort_alpha_asc( a, b )                fma_object_id_sort_alpha_asc( FMA_OBJECT_ID( a ), FMA_OBJECT_ID( b ))

### fma_object_sort_alpha_desc()

    #define fma_object_sort_alpha_desc( a, b )               fma_object_id_sort_alpha_desc( FMA_OBJECT_ID( a ), FMA_OBJECT_ID( b ))

### fma_object_prepare_for_paste()

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

### fma_object_set_copy_of_label()

    #define fma_object_set_copy_of_label( obj )              fma_object_id_set_copy_of_label( FMA_OBJECT_ID( obj ))

### fma_object_set_new_id()

    #define fma_object_set_new_id( obj, parent )             fma_object_id_set_new_id( FMA_OBJECT_ID( obj ), ( FMAObjectId * )( parent ))

### fma_object_get_tooltip()

    #define fma_object_get_tooltip( obj )                    (( gchar * ) fma_ifactory_object_get_as_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_TOOLTIP ))

### fma_object_get_icon()

    #define fma_object_get_icon( obj )                       (( gchar * ) fma_ifactory_object_get_as_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_ICON ))

### fma_object_get_icon_noloc()

    #define fma_object_get_icon_noloc( obj )                 (( gchar * ) fma_ifactory_object_get_as_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_ICON_NOLOC ))

### fma_object_get_description()

    #define fma_object_get_description( obj )                (( gchar * ) fma_ifactory_object_get_as_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_DESCRIPTION ))

### fma_object_get_items()

    #define fma_object_get_items( obj )                      (( GList * ) fma_ifactory_object_get_as_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_SUBITEMS ))

### fma_object_get_items_slist()

    #define fma_object_get_items_slist( obj )                (( GSList * ) fma_ifactory_object_get_as_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_SUBITEMS_SLIST ))

### fma_object_is_enabled()

    #define fma_object_is_enabled( obj )                     (( gboolean ) GPOINTER_TO_UINT( fma_ifactory_object_get_as_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_ENABLED )))

### fma_object_is_readonly()

    #define fma_object_is_readonly( obj )                    (( gboolean ) GPOINTER_TO_UINT( fma_ifactory_object_get_as_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_READONLY )))

### fma_object_get_provider()

    #define fma_object_get_provider( obj )                   fma_ifactory_object_get_as_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_PROVIDER )

### fma_object_get_provider_data()

    #define fma_object_get_provider_data( obj )              fma_ifactory_object_get_as_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_PROVIDER_DATA )

### fma_object_get_iversion()

    #define fma_object_get_iversion( obj )                   GPOINTER_TO_UINT( fma_ifactory_object_get_as_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_IVERSION ))

### fma_object_get_shortcut()

    #define fma_object_get_shortcut( obj )                   (( gchar * ) fma_ifactory_object_get_as_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_SHORTCUT ))

### fma_object_set_tooltip()

    #define fma_object_set_tooltip( obj, tooltip )           fma_ifactory_object_set_from_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_TOOLTIP, ( const void * )( tooltip ))

### fma_object_set_icon()

    #define fma_object_set_icon( obj, icon )                 fma_ifactory_object_set_from_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_ICON, ( const void * )( icon ))

### fma_object_set_description()

    #define fma_object_set_description( obj, desc )          fma_ifactory_object_set_from_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_DESCRIPTION, ( const void * )( desc ))

### fma_object_set_items()

    #define fma_object_set_items( obj, list )                fma_ifactory_object_set_from_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_SUBITEMS, ( const void * )( list ))

### fma_object_set_items_slist()

    #define fma_object_set_items_slist( obj, slist )         fma_ifactory_object_set_from_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_SUBITEMS_SLIST, ( const void * )( slist ))

### fma_object_set_enabled()

    #define fma_object_set_enabled( obj, enabled )           fma_ifactory_object_set_from_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_ENABLED, ( const void * ) GUINT_TO_POINTER( enabled ))

### fma_object_set_readonly()

    #define fma_object_set_readonly( obj, readonly )         fma_ifactory_object_set_from_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_READONLY, ( const void * ) GUINT_TO_POINTER( readonly ))

### fma_object_set_provider()

    #define fma_object_set_provider( obj, provider )         fma_ifactory_object_set_from_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_PROVIDER, ( const void * )( provider ))

### fma_object_set_provider_data()

    #define fma_object_set_provider_data( obj, data )        fma_ifactory_object_set_from_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_PROVIDER_DATA, ( const void * )( data ))

### fma_object_set_iversion()

    #define fma_object_set_iversion( obj, version )          fma_ifactory_object_set_from_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_IVERSION, ( const void * ) GUINT_TO_POINTER( version ))

### fma_object_set_shortcut()

    #define fma_object_set_shortcut( obj, shortcut )         fma_ifactory_object_set_from_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_SHORTCUT, ( const void * )( shortcut ))

### fma_object_get_item()

    #define fma_object_get_item( obj, id )                   fma_object_item_get_item( FMA_OBJECT_ITEM( obj ),( const gchar * )( id ))

### fma_object_get_position()

    #define fma_object_get_position( obj, child )            fma_object_item_get_position( FMA_OBJECT_ITEM( obj ), FMA_OBJECT_ID( child ))

### fma_object_append_item()

    #define fma_object_append_item( obj, child )             fma_object_item_append_item( FMA_OBJECT_ITEM( obj ), FMA_OBJECT_ID( child ))

### fma_object_insert_at()

    #define fma_object_insert_at( obj, child, pos )          fma_object_item_insert_at( FMA_OBJECT_ITEM( obj ), FMA_OBJECT_ID( child ), ( pos ))

### fma_object_insert_item()

    #define fma_object_insert_item( obj, child, sibling )    fma_object_item_insert_item( FMA_OBJECT_ITEM( obj ), FMA_OBJECT_ID( child ), ( FMAObjectId * )( sibling ))

### fma_object_remove_item()

    #define fma_object_remove_item( obj, child )             fma_object_item_remove_item( FMA_OBJECT_ITEM( obj ), FMA_OBJECT_ID( child ))

### fma_object_get_items_count()

    #define fma_object_get_items_count( obj )                fma_object_item_get_items_count( FMA_OBJECT_ITEM( obj ))

### fma_object_count_items()

    #define fma_object_count_items( list, cm, ca, cp )       fma_object_item_count_items( list, ( cm ), ( ca ), ( cp ), TRUE )

### fma_object_copyref_items()

    #define fma_object_copyref_items( tree )                 fma_object_item_copyref_items( tree )

### fma_object_free_items()

    #define fma_object_free_items( tree )                    fma_object_item_free_items( tree )

### fma_object_get_version()

    #define fma_object_get_version( obj )                    (( gchar * ) fma_ifactory_object_get_as_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_VERSION ))

### fma_object_is_target_selection()

    #define fma_object_is_target_selection( obj )            (( gboolean ) GPOINTER_TO_UINT( fma_ifactory_object_get_as_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_TARGET_SELECTION )))

### fma_object_is_target_location()

    #define fma_object_is_target_location( obj )             (( gboolean ) GPOINTER_TO_UINT( fma_ifactory_object_get_as_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_TARGET_LOCATION )))

### fma_object_is_target_toolbar()

    #define fma_object_is_target_toolbar( obj )              (( gboolean ) GPOINTER_TO_UINT( fma_ifactory_object_get_as_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_TARGET_TOOLBAR )))

### fma_object_get_toolbar_label()

    #define fma_object_get_toolbar_label( obj )              (( gchar * ) fma_ifactory_object_get_as_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_TOOLBAR_LABEL ))

### fma_object_is_toolbar_same_label()

    #define fma_object_is_toolbar_same_label( obj )          (( gboolean ) GPOINTER_TO_UINT( fma_ifactory_object_get_as_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_TOOLBAR_SAME_LABEL )))

### fma_object_get_last_allocated()

    #define fma_object_get_last_allocated( obj )             (( guint ) GPOINTER_TO_UINT( fma_ifactory_object_get_as_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_LAST_ALLOCATED )))

### fma_object_set_version()

    #define fma_object_set_version( obj, version )           fma_ifactory_object_set_from_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_VERSION, ( const void * )( version ))

### fma_object_set_target_selection()

    #define fma_object_set_target_selection( obj, target )   fma_ifactory_object_set_from_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_TARGET_SELECTION, ( const void * ) GUINT_TO_POINTER( target ))

### fma_object_set_target_location()

    #define fma_object_set_target_location( obj, target )    fma_ifactory_object_set_from_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_TARGET_LOCATION, ( const void * ) GUINT_TO_POINTER( target ))

### fma_object_set_target_toolbar()

    #define fma_object_set_target_toolbar( obj, target )     fma_ifactory_object_set_from_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_TARGET_TOOLBAR, ( const void * ) GUINT_TO_POINTER( target ))

### fma_object_set_toolbar_label()

    #define fma_object_set_toolbar_label( obj, label )       fma_ifactory_object_set_from_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_TOOLBAR_LABEL, ( const void * )( label ))

### fma_object_set_toolbar_same_label()

    #define fma_object_set_toolbar_same_label( obj, same )   fma_ifactory_object_set_from_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_TOOLBAR_SAME_LABEL, ( const void * ) GUINT_TO_POINTER( same ))

### fma_object_set_last_allocated()

    #define fma_object_set_last_allocated( obj, last )       fma_ifactory_object_set_from_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_LAST_ALLOCATED, ( const void * ) GUINT_TO_POINTER( last ))

### fma_object_set_last_version()

    #define fma_object_set_last_version( obj )               fma_object_action_set_last_version( FMA_OBJECT_ACTION( obj ))

### fma_object_reset_last_allocated()

    #define fma_object_reset_last_allocated( obj )           fma_ifactory_object_set_from_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_LAST_ALLOCATED, ( const void * ) GUINT_TO_POINTER( 0 ))

### fma_object_attach_profile()

    #define fma_object_attach_profile( obj, profile )        fma_object_action_attach_profile( FMA_OBJECT_ACTION( obj ), FMA_OBJECT_PROFILE( profile ))

### fma_object_get_path()

    #define fma_object_get_path( obj )                       (( gchar * ) fma_ifactory_object_get_as_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_PATH ))

### fma_object_get_parameters()

    #define fma_object_get_parameters( obj )                 (( gchar * ) fma_ifactory_object_get_as_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_PARAMETERS ))

### fma_object_get_working_dir()

    #define fma_object_get_working_dir( obj )                (( gchar * ) fma_ifactory_object_get_as_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_WORKING_DIR ))

### fma_object_get_execution_mode()

    #define fma_object_get_execution_mode( obj )             (( gchar * ) fma_ifactory_object_get_as_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_EXECUTION_MODE ))

### fma_object_get_startup_notify()

    #define fma_object_get_startup_notify( obj )             (( gboolean ) GPOINTER_TO_UINT( fma_ifactory_object_get_as_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_STARTUP_NOTIFY )))

### fma_object_get_startup_class()

    #define fma_object_get_startup_class( obj )              (( gchar * ) fma_ifactory_object_get_as_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_STARTUP_WMCLASS ))

### fma_object_get_execute_as()

    #define fma_object_get_execute_as( obj )                 (( gchar * ) fma_ifactory_object_get_as_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_EXECUTE_AS ))

### fma_object_set_path()

    #define fma_object_set_path( obj, path )                 fma_ifactory_object_set_from_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_PATH, ( const void * )( path ))

### fma_object_set_parameters()

    #define fma_object_set_parameters( obj, parms )          fma_ifactory_object_set_from_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_PARAMETERS, ( const void * )( parms ))

### fma_object_set_working_dir()

    #define fma_object_set_working_dir( obj, uri )           fma_ifactory_object_set_from_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_WORKING_DIR, ( const void * )( uri ))

### fma_object_set_execution_mode()

    #define fma_object_set_execution_mode( obj, mode )       fma_ifactory_object_set_from_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_EXECUTION_MODE, ( const void * )( mode ))

### fma_object_set_startup_notify()

    #define fma_object_set_startup_notify( obj, notify )     fma_ifactory_object_set_from_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_STARTUP_NOTIFY, ( const void * ) GUINT_TO_POINTER( notify ))

### fma_object_set_startup_class()

    #define fma_object_set_startup_class( obj, class )       fma_ifactory_object_set_from_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_STARTUP_WMCLASS, ( const void * )( class ))

### fma_object_set_execute_as()

    #define fma_object_set_execute_as( obj, user )           fma_ifactory_object_set_from_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_EXECUTE_AS, ( const void * )( user ))

### fma_object_get_basenames()

    #define fma_object_get_basenames( obj )                  (( GSList * ) fma_ifactory_object_get_as_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_BASENAMES ))

### fma_object_get_matchcase()

    #define fma_object_get_matchcase( obj )                  (( gboolean ) GPOINTER_TO_UINT( fma_ifactory_object_get_as_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_MATCHCASE )))

### fma_object_get_mimetypes()

    #define fma_object_get_mimetypes( obj )                  (( GSList * ) fma_ifactory_object_get_as_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_MIMETYPES ))

### fma_object_get_all_mimetypes()

    #define fma_object_get_all_mimetypes( obj )              (( gboolean ) GPOINTER_TO_UINT( fma_ifactory_object_get_as_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_MIMETYPES_IS_ALL )))

### fma_object_get_folders()

    #define fma_object_get_folders( obj )                    (( GSList * ) fma_ifactory_object_get_as_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_FOLDERS ))

### fma_object_get_schemes()

    #define fma_object_get_schemes( obj )                    (( GSList * ) fma_ifactory_object_get_as_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_SCHEMES ))

### fma_object_get_only_show_in()

    #define fma_object_get_only_show_in( obj )               (( GSList * ) fma_ifactory_object_get_as_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_ONLY_SHOW ))

### fma_object_get_not_show_in()

    #define fma_object_get_not_show_in( obj )                (( GSList * ) fma_ifactory_object_get_as_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_NOT_SHOW ))

### fma_object_get_try_exec()

    #define fma_object_get_try_exec( obj )                   (( gchar * ) fma_ifactory_object_get_as_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_TRY_EXEC ))

### fma_object_get_show_if_registered()

    #define fma_object_get_show_if_registered( obj )         (( gchar * ) fma_ifactory_object_get_as_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_SHOW_IF_REGISTERED ))

### fma_object_get_show_if_true()

    #define fma_object_get_show_if_true( obj )               (( gchar * ) fma_ifactory_object_get_as_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_SHOW_IF_TRUE ))

### fma_object_get_show_if_running()

    #define fma_object_get_show_if_running( obj )            (( gchar * ) fma_ifactory_object_get_as_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_SHOW_IF_RUNNING ))

### fma_object_get_selection_count()

    #define fma_object_get_selection_count( obj )            (( gchar * ) fma_ifactory_object_get_as_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_SELECTION_COUNT ))

### fma_object_get_capabilities()

    #define fma_object_get_capabilities( obj )               (( GSList * ) fma_ifactory_object_get_as_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_CAPABILITITES ))

### fma_object_set_basenames()

    #define fma_object_set_basenames( obj, bnames )          fma_ifactory_object_set_from_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_BASENAMES, ( const void * )( bnames ))

### fma_object_set_matchcase()

    #define fma_object_set_matchcase( obj, match )           fma_ifactory_object_set_from_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_MATCHCASE, ( const void * ) GUINT_TO_POINTER( match ))

### fma_object_set_mimetypes()

    #define fma_object_set_mimetypes( obj, types )           fma_ifactory_object_set_from_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_MIMETYPES, ( const void * )( types ))

### fma_object_set_all_mimetypes()

    #define fma_object_set_all_mimetypes( obj, all )         fma_ifactory_object_set_from_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_MIMETYPES_IS_ALL, ( const void * ) GUINT_TO_POINTER( all ))

### fma_object_set_folders()

    #define fma_object_set_folders( obj, folders )           fma_ifactory_object_set_from_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_FOLDERS, ( const void * )( folders ))

### fma_object_replace_folder()

    #define fma_object_replace_folder( obj, old, new )       fma_icontext_replace_folder( FMA_ICONTEXT( obj ), ( const gchar * )( old ), ( const gchar * )( new ))

### fma_object_set_scheme()

    #define fma_object_set_scheme( obj, scheme, add )        fma_icontext_set_scheme( FMA_ICONTEXT( obj ), ( const gchar * )( scheme ), ( add ))

### fma_object_set_schemes()

    #define fma_object_set_schemes( obj, schemes )           fma_ifactory_object_set_from_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_SCHEMES, ( const void * )( schemes ))

### fma_object_set_only_show_in()

    #define fma_object_set_only_show_in( obj, list )         fma_ifactory_object_set_from_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_ONLY_SHOW, ( const void * )( list ))

### fma_object_set_only_desktop()

    #define fma_object_set_only_desktop( obj, desktop, add ) fma_icontext_set_only_desktop( FMA_ICONTEXT( obj ), ( const gchar * )( desktop ), ( add ))

### fma_object_set_not_show_in()

    #define fma_object_set_not_show_in( obj, list )          fma_ifactory_object_set_from_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_NOT_SHOW, ( const void * )( list ))

### fma_object_set_not_desktop()

    #define fma_object_set_not_desktop( obj, desktop, add )  fma_icontext_set_not_desktop( FMA_ICONTEXT( obj ), ( const gchar * )( desktop ), ( add ))

### fma_object_set_try_exec()

    #define fma_object_set_try_exec( obj, exec )             fma_ifactory_object_set_from_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_TRY_EXEC, ( const void * )( exec ))

### fma_object_set_show_if_registered()

    #define fma_object_set_show_if_registered( obj, name )   fma_ifactory_object_set_from_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_SHOW_IF_REGISTERED, ( const void * )( name ))

### fma_object_set_show_if_true()

    #define fma_object_set_show_if_true( obj, exec )         fma_ifactory_object_set_from_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_SHOW_IF_TRUE, ( const void * )( exec ))

### fma_object_set_show_if_running()

    #define fma_object_set_show_if_running( obj, name )      fma_ifactory_object_set_from_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_SHOW_IF_RUNNING, ( const void * )( name ))

### fma_object_set_selection_count()

    #define fma_object_set_selection_count( obj, cond )      fma_ifactory_object_set_from_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_SELECTION_COUNT, ( const void * )( cond ))

### fma_object_set_capabilities()

    #define fma_object_set_capabilities( obj, cap )          fma_ifactory_object_set_from_void( FMA_IFACTORY_OBJECT( obj ), FMAFO_DATA_CAPABILITITES, ( const void * )( cap ))

## Types and Values