Top | ![]() |
![]() |
![]() |
![]() |
#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 () |
#define NA_OBJECT_PROFILE( object ) ( G_TYPE_CHECK_INSTANCE_CAST( object, NA_TYPE_OBJECT_PROFILE, NAObjectProfile ))
#define NA_IS_OBJECT_PROFILE( object ) ( G_TYPE_CHECK_INSTANCE_TYPE( object, NA_TYPE_OBJECT_PROFILE ))
NAObjectProfile *
na_object_profile_new (void
);
Allocates a new profile.
Since: 2.30
NAObjectProfile *
na_object_profile_new_with_defaults (void
);
Allocates a new profile, and set default values.
Since: 2.30
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.
Since: 2.30