nongnu.org/gsequencer


gsequencer 7.0.5
Advanced Gtk+ Sequencer
ags_vst_component_base.h
Go to the documentation of this file.
1/* GSequencer - Advanced GTK Sequencer
2 * Copyright (C) 2005-2019 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_COMPONENT_BASE_H__
21#define __AGS_VST_COMPONENT_BASE_H__
22
27
28#ifdef __cplusplus
29extern "C" {
30#endif
31
32 typedef struct AgsVstComponentBase ComponentBase;
33
34 AgsVstComponentBase* ags_vst_component_base_new();
35 void ags_vst_component_base_delete(AgsVstComponentBase *component_base);
36
37 AgsVstFUnknown* ags_vst_component_base_get_host_context(AgsVstComponentBase *component_base);
38
39 AgsVstIConnectionPoint* ags_vst_component_base_get_peer(AgsVstComponentBase *component_base);
40
41 AgsVstIMessage* ags_vst_component_base_allocate_message(AgsVstComponentBase *component_base);
42
43 AgsVstTResult ags_vst_component_base_send_message(AgsVstComponentBase *component_base,
44 AgsVstIMessage* message);
45
46 AgsVstTResult ags_vst_component_base_send_text_message(AgsVstComponentBase *component_base,
47 gchar *text);
48
49 AgsVstTResult ags_vst_component_base_receive_text(AgsVstComponentBase *component_base,
50 gchar *text);
51
52 AgsVstTResult ags_vst_component_base_initialize(AgsVstComponentBase *component_base,
53 AgsVstFUnknown* context);
54 AgsVstTResult ags_vst_component_base_terminate(AgsVstComponentBase *component_base);
55
56 AgsVstTResult ags_vst_component_base_connect(AgsVstComponentBase *component_base,
58 AgsVstTResult ags_vst_component_base_disconnect(AgsVstComponentBase *component_base,
60 AgsVstTResult ags_vst_component_base_notify(AgsVstComponentBase *component_base,
61 AgsVstIMessage* message);
62
63#ifdef __cplusplus
64}
65#endif
66
67#endif /*__AGS_VST_COMPONENT_BASE_H__*/
AgsVstIConnectionPoint * ags_vst_component_base_get_peer(AgsVstComponentBase *component_base)
Definition ags_vst_component_base.cpp:74
struct AgsVstComponentBase ComponentBase
Definition ags_vst_component_base.h:32
AgsVstTResult ags_vst_component_base_notify(AgsVstComponentBase *component_base, AgsVstIMessage *message)
Definition ags_vst_component_base.cpp:204
AgsVstTResult ags_vst_component_base_send_message(AgsVstComponentBase *component_base, AgsVstIMessage *message)
Definition ags_vst_component_base.cpp:101
AgsVstTResult ags_vst_component_base_send_text_message(AgsVstComponentBase *component_base, gchar *text)
Definition ags_vst_component_base.cpp:116
AgsVstTResult ags_vst_component_base_connect(AgsVstComponentBase *component_base, AgsVstIConnectionPoint *other)
Definition ags_vst_component_base.cpp:174
AgsVstTResult ags_vst_component_base_terminate(AgsVstComponentBase *component_base)
Definition ags_vst_component_base.cpp:160
void ags_vst_component_base_delete(AgsVstComponentBase *component_base)
Definition ags_vst_component_base.cpp:48
AgsVstTResult ags_vst_component_base_receive_text(AgsVstComponentBase *component_base, gchar *text)
Definition ags_vst_component_base.cpp:131
AgsVstTResult ags_vst_component_base_disconnect(AgsVstComponentBase *component_base, AgsVstIConnectionPoint *other)
Definition ags_vst_component_base.cpp:189
AgsVstComponentBase * ags_vst_component_base_new()
Definition ags_vst_component_base.cpp:36
AgsVstFUnknown * ags_vst_component_base_get_host_context(AgsVstComponentBase *component_base)
Definition ags_vst_component_base.cpp:61
AgsVstIMessage * ags_vst_component_base_allocate_message(AgsVstComponentBase *component_base)
Definition ags_vst_component_base.cpp:87
AgsVstTResult ags_vst_component_base_initialize(AgsVstComponentBase *component_base, AgsVstFUnknown *context)
Definition ags_vst_component_base.cpp:146
gint32 AgsVstTResult
Definition ags_vst_ftypes.h:58
struct FUnknown AgsVstFUnknown
Definition ags_vst_funknown.h:85
struct IMessage AgsVstIMessage
Definition ags_vst_imessage.h:31
struct IConnectionPoint AgsVstIConnectionPoint
Definition ags_vst_imessage.h:33