nongnu.org/gsequencer


gsequencer 7.0.5
Advanced Gtk+ Sequencer
ags_vst_ipersistent.h
Go to the documentation of this file.
1/* GSequencer - Advanced GTK Sequencer
2 * Copyright (C) 2005-2021 Joël Krähemann
3 *
4 * This file is part of GSequencer.
5 *
6 * GSequencer is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version.
10 *
11 * GSequencer is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with GSequencer. If not, see <http://www.gnu.org/licenses/>.
18 */
19
20#ifndef __AGS_VST_IPERSISTENT_H__
21#define __AGS_VST_IPERSISTENT_H__
22
25
26#define AGS_VST_IPERSISTENT_IID (ags_vst_ipersistent_get_iid())
27#define AGS_VST_IATTRIBUTES_IID (ags_vst_iattributes_get_iid())
28#define AGS_VST_IATTRIBUTES2_IID (ags_vst_iattributes2_get_iid())
29
30#ifdef __cplusplus
31extern "C" {
32#endif
33
35 typedef struct IPersistent AgsVstIPersistent;
36 typedef struct IAttributes AgsVstIAttributes;
37 typedef struct IAttributes2 AgsVstIAttributes2;
38
40
42 AgsVstIAttributes *attributes);
43
45
47 AgsVstIAttrID attr_id, AgsVstFVariant *data);
48
50 AgsVstIAttrID list_id, AgsVstFVariant *data);
51
53 AgsVstIAttrID attr_id, void *data, guint32 bytes, gboolean copy_bytes);
54
56 AgsVstIAttrID attr_id, AgsVstFVariant *data);
57
59 AgsVstIAttrID list_id, AgsVstFVariant *data);
60
62 AgsVstIAttrID attr_id);
63
65 AgsVstIAttrID attr_id);
67
69 AgsVstIAttrID attr_id, void *data, guint32 bytes);
71 AgsVstIAttrID attr_id);
72
74
77 gint32 index);
78
79#ifdef __cplusplus
80}
81#endif
82
83#endif /*__AGS_VST_IPERSISTENT_H__*/
const gchar * AgsVstFIDString
Definition ags_vst_ftypes.h:82
gint32 AgsVstTResult
Definition ags_vst_ftypes.h:58
gint8 AgsVstTUID[16]
Definition ags_vst_funknown.h:79
struct FVariant AgsVstFVariant
Definition ags_vst_fvariant.h:32
gint32 ags_vst_iattributes2_count_attributes(AgsVstIAttributes2 *attr)
Definition ags_vst_ipersistent.cpp:255
AgsVstTResult ags_vst_iattributes_queue(AgsVstIAttributes *attr, AgsVstIAttrID list_id, AgsVstFVariant *data)
Definition ags_vst_ipersistent.cpp:95
AgsVstIAttrID ags_vst_iattributes2_get_attribute_id(AgsVstIAttributes2 *attr, gint32 index)
Definition ags_vst_ipersistent.cpp:269
AgsVstTResult ags_vst_ipersistent_load_attributes(AgsVstIPersistent *persistent, AgsVstIAttributes *attributes)
Definition ags_vst_ipersistent.cpp:48
const AgsVstTUID * ags_vst_iattributes2_get_iid()
Definition ags_vst_ipersistent.cpp:242
AgsVstTResult ags_vst_iattributes_set_binary_data(AgsVstIAttributes *attr, AgsVstIAttrID attr_id, void *data, guint32 bytes, gboolean copy_bytes)
Definition ags_vst_ipersistent.cpp:115
guint32 ags_vst_iattributes_get_binary_data_size(AgsVstIAttributes *attr, AgsVstIAttrID attr_id)
Definition ags_vst_ipersistent.cpp:228
const AgsVstFIDString AgsVstIAttrID
Definition ags_vst_ipersistent.h:34
const AgsVstTUID * ags_vst_iattributes_get_iid()
Definition ags_vst_ipersistent.cpp:62
AgsVstTResult ags_vst_iattributes_reset_queue(AgsVstIAttributes *attr, AgsVstIAttrID attr_id)
Definition ags_vst_ipersistent.cpp:183
const AgsVstTUID * ags_vst_ipersistent_get_iid()
Definition ags_vst_ipersistent.cpp:35
struct IPersistent AgsVstIPersistent
Definition ags_vst_ipersistent.h:35
AgsVstTResult ags_vst_iattributes_get_binary_data(AgsVstIAttributes *attr, AgsVstIAttrID attr_id, void *data, guint32 bytes)
Definition ags_vst_ipersistent.cpp:213
AgsVstTResult ags_vst_iattributes_get(AgsVstIAttributes *attr, AgsVstIAttrID attr_id, AgsVstFVariant *data)
Definition ags_vst_ipersistent.cpp:131
struct IAttributes AgsVstIAttributes
Definition ags_vst_ipersistent.h:36
AgsVstTResult ags_vst_iattributes_unqueue(AgsVstIAttributes *attr, AgsVstIAttrID list_id, AgsVstFVariant *data)
Definition ags_vst_ipersistent.cpp:150
AgsVstTResult ags_vst_iattributes_reset_all_queues(AgsVstIAttributes *attr)
Definition ags_vst_ipersistent.cpp:197
struct IAttributes2 AgsVstIAttributes2
Definition ags_vst_ipersistent.h:37
gint32 ags_vst_iattributes_get_queue_item_count(AgsVstIAttributes *attr, AgsVstIAttrID attr_id)
Definition ags_vst_ipersistent.cpp:168
AgsVstTResult ags_vst_iattributes_set(AgsVstIAttributes *attr, AgsVstIAttrID attr_id, AgsVstFVariant *data)
Definition ags_vst_ipersistent.cpp:77