AgsRecallDependency

AgsRecallDependency — Object specifing dependency

Synopsis

#include <ags/audio/ags_recall_dependency.h>

struct              AgsRecallDependency;
struct              AgsRecallDependencyClass;
GList *             ags_recall_dependency_find_dependency
                                                        (GList *recall_dependencies,
                                                         GObject *dependency);
GList *             ags_recall_dependency_find_dependency_by_provider
                                                        (GList *recall_dependencies,
                                                         GObject *provider);
AgsRecallDependency * ags_recall_dependency_new         (GObject *dependency);
GObject *           ags_recall_dependency_resolve       (AgsRecallDependency *recall_dependency,
                                                         AgsRecallID *recall_id);

Description

AgsRecallDependency specifies dependencies on other recalls. Dependencies are resolved during initialization.

Details

struct AgsRecallDependency

struct AgsRecallDependency {
  GObject object;

  GObject *dependency;
};

struct AgsRecallDependencyClass

struct AgsRecallDependencyClass {
  GObjectClass object;
};

ags_recall_dependency_find_dependency ()

GList *             ags_recall_dependency_find_dependency
                                                        (GList *recall_dependencies,
                                                         GObject *dependency);

Retrieve dependency.

recall_dependencies :

a GList containing AgsRecallDependency

dependency :

the AgsRecall depending on

Returns :

Next match.

Since 0.4.0


ags_recall_dependency_find_dependency_by_provider ()

GList *             ags_recall_dependency_find_dependency_by_provider
                                                        (GList *recall_dependencies,
                                                         GObject *provider);

Retrieve dependency by provider.

recall_dependencies :

a GList containing AgsRecallDependency

provider :

the object providing recall, like AgsAudio or AgsChannel

Returns :

Next match.

Since 0.4.0


ags_recall_dependency_new ()

AgsRecallDependency * ags_recall_dependency_new         (GObject *dependency);

Creates a AgsRecallDependency

dependency :

the AgsRecall depending on

Returns :

a new AgsRecallDependency

Since 0.4.0


ags_recall_dependency_resolve ()

GObject *           ags_recall_dependency_resolve       (AgsRecallDependency *recall_dependency,
                                                         AgsRecallID *recall_id);

Resolve dependency.

recall_dependeny :

an AgsRecallDependency

recall_id :

the AgsRecallID refering to

Returns :

the AgsRecall dependency.

Since 0.4.0