AgsLv2uiManager

AgsLv2uiManager — Singleton pattern to organize LV2UI

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── AgsLv2uiManager

Includes

#include <ags/plugin/ags_lv2ui_manager.h>

Description

The AgsLv2uiManager loads/unloads LV2UI plugins.

Functions

ags_lv2ui_manager_get_default_path ()

gchar **
ags_lv2ui_manager_get_default_path ();

Get lv2ui manager default plugin path.

Returns

the plugin default search path as a string vector

Since: 1.0.0


ags_lv2ui_manager_set_default_path ()

void
ags_lv2ui_manager_set_default_path (gchar **default_path);

Set lv2ui manager default plugin path.

Parameters

default_path

the string vector array to use as default path

 

Since: 1.0.0


ags_lv2ui_manager_get_filenames ()

gchar **
ags_lv2ui_manager_get_filenames (AgsLv2uiManager *lv2ui_manager);

Retrieve all filenames

Parameters

lv2ui_manager

the AgsLv2uiManager

 

Returns

a NULL-terminated array of filenames

Since: 1.0.0


ags_lv2ui_manager_find_lv2ui_plugin ()

AgsLv2uiPlugin *
ags_lv2ui_manager_find_lv2ui_plugin (AgsLv2uiManager *lv2ui_manager,
                                     gchar *ui_filename,
                                     gchar *ui_effect);

Lookup UI filename in loaded plugins.

Parameters

lv2ui_manager

the AgsLv2uiManager

 

ui_filename

the UI filename of the plugin

 

ui_effect

the UI effect's name

 

Returns

the AgsLv2uiPlugin

Since: 1.0.0


ags_lv2ui_manager_find_lv2ui_plugin_with_index ()

AgsLv2uiPlugin *
ags_lv2ui_manager_find_lv2ui_plugin_with_index
                               (AgsLv2uiManager *lv2ui_manager,
                                gchar *ui_filename,
                                guint ui_effect_index);

Lookup ui_filename with ui_effect_index in loaded plugins.

Parameters

lv2ui_manager

the AgsLv2uiManager

 

ui_filename

the UI filename of the plugin

 

ui_effect_index

the UI index

 

Returns

the AgsLv2uiPlugin

Since: 1.0.0


ags_lv2ui_manager_load_blacklist ()

void
ags_lv2ui_manager_load_blacklist (AgsLv2uiManager *lv2ui_manager,
                                  gchar *blacklist_filename);

Load blacklisted plugin filenames.

Parameters

lv2ui_manager

the AgsLv2uiManager

 

blacklist_filename

the filename as string

 

Since: 1.0.0


ags_lv2ui_manager_load_file ()

void
ags_lv2ui_manager_load_file (AgsLv2uiManager *lv2ui_manager,
                             AgsTurtle *manifest,
                             AgsTurtle *turtle,
                             gchar *lv2ui_path,
                             gchar *filename);

Load filename specified plugin.

Parameters

lv2ui_manager

the AgsLv2uiManager

 

manifest

the manifest

 

turtle

the AgsTurtle

 

lv2ui_path

the lv2ui path

 

filename

the filename of the plugin

 

Since: 1.0.0


ags_lv2ui_manager_load_default_directory ()

void
ags_lv2ui_manager_load_default_directory
                               (AgsLv2uiManager *lv2ui_manager);

Loads all available plugins.

Parameters

lv2ui_manager

the AgsLv2uiManager

 

Since: 1.0.0


ags_lv2ui_manager_get_instance ()

AgsLv2uiManager *
ags_lv2ui_manager_get_instance ();

Get instance.

Returns

the AgsLv2uiManager

Since: 1.0.0


ags_lv2ui_manager_new ()

AgsLv2uiManager *
ags_lv2ui_manager_new ();

Creates an AgsLv2uiManager

Returns

a new AgsLv2uiManager

Since: 1.0.0


AGS_IS_LV2UI_MANAGER()

#define AGS_IS_LV2UI_MANAGER(obj)             (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_LV2UI_MANAGER))

AGS_LV2UI_MANAGER()

#define AGS_LV2UI_MANAGER(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_LV2UI_MANAGER, AgsLv2uiManager))

AGS_LV2UI_MANAGER_CLASS()

#define AGS_LV2UI_MANAGER_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_LV2UI_MANAGER, AgsLv2uiManagerClass))

AGS_LV2UI_MANAGER_GET_CLASS()

#define AGS_LV2UI_MANAGER_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_LV2UI_MANAGER, AgsLv2uiManagerClass))

ags_lv2ui_manager_get_type ()

GType
ags_lv2ui_manager_get_type (void);

Types and Values

AGS_TYPE_LV2UI_MANAGER

#define AGS_TYPE_LV2UI_MANAGER                (ags_lv2ui_manager_get_type())

struct AgsLv2uiManager

struct AgsLv2uiManager;

struct AgsLv2uiManagerClass

struct AgsLv2uiManagerClass {
  GObjectClass gobject;
};