NAObjectProfile

## NAObjectProfile NAObjectProfile — The Action Profile Class Definition |

## Functions

#define | NA_TYPE_OBJECT_PROFILE
#define | NA_OBJECT_PROFILE()
#define | NA_IS_OBJECT_PROFILE()
NAObjectProfile * | na_object_profile_new ()
NAObjectProfile * | na_object_profile_new_with_defaults ()
void | na_object_profile_convert_v2_to_last ()

## Types and Values

| NAObjectProfile

## Includes

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

## Description

## Functions

### NA_TYPE_OBJECT_PROFILE

    #define NA_TYPE_OBJECT_PROFILE                ( na_object_profile_get_type())

### NA_OBJECT_PROFILE()

    #define NA_OBJECT_PROFILE( object )           ( G_TYPE_CHECK_INSTANCE_CAST( object, NA_TYPE_OBJECT_PROFILE, NAObjectProfile ))

### NA_IS_OBJECT_PROFILE()

    #define NA_IS_OBJECT_PROFILE( object )        ( G_TYPE_CHECK_INSTANCE_TYPE( object, NA_TYPE_OBJECT_PROFILE ))

### na_object_profile_new ()

    NAObjectProfile *
    na_object_profile_new (void);

Allocates a new profile.

#### Returns

the newly allocated NAObjectProfile profile.

Since: 2.30

### na_object_profile_new_with_defaults ()

    NAObjectProfile *
    na_object_profile_new_with_defaults (void);

Allocates a new profile, and set default values.

#### Returns

the newly allocated NAObjectProfile profile.

Since: 2.30

### na_object_profile_convert_v2_to_last ()

    void
    na_object_profile_convert_v2_to_last (NAObjectProfile *profile);

Converts a v2 profile to the last version, setting the defaults as needed.

This is called after having converted a pre-v2 action on the newly created profile, or just after having read a v2 profile. In all situations, defaults are supposed to have been set.

#### Parameters

profile | the NAObjectProfile profile to be converted. |

Since: 2.30

## Types and Values

### NAObjectProfile

    typedef struct {
    } NAObjectProfile;