Beast - Music Synthesizer and Composer  0.11.1+10.g2da35
bseadder.hh
Go to the documentation of this file.
1  // Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl.html
2 #ifndef __BSE_ADDER_H__
3 #define __BSE_ADDER_H__
4 
5 #include <bse/bseplugin.hh>
6 #include <bse/bsesource.hh>
7 
8 
9 /* --- object type macros --- */
10 #define BSE_TYPE_ADDER (bse_adder_get_type())
11 #define BSE_ADDER(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), BSE_TYPE_ADDER, BseAdder))
12 #define BSE_ADDER_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), BSE_TYPE_ADDER, BseAdderClass))
13 #define BSE_IS_ADDER(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), BSE_TYPE_ADDER))
14 #define BSE_IS_ADDER_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), BSE_TYPE_ADDER))
15 #define BSE_ADDER_GET_CLASS(object) (G_TYPE_INSTANCE_GET_CLASS ((object), BSE_TYPE_ADDER, BseAdderClass))
16 
17 struct BseAdder : BseSource {
18  gboolean subtract;
19 };
21  Bse::Icon sub_icon;
22 };
23 
24 enum
25 {
26  BSE_ADDER_JCHANNEL_AUDIO1,
27  BSE_ADDER_JCHANNEL_AUDIO2,
28  BSE_ADDER_N_JCHANNELS
29 };
30 enum
31 {
32  BSE_ADDER_OCHANNEL_AUDIO_OUT,
33  BSE_ADDER_N_OCHANNELS
34 };
35 
36 
37 
38 #endif /* __BSE_ADDER_H__ */
Representation of an icon pixel image.
Definition: bseapi.idl:387
Definition: bseadder.hh:17
Definition: bseadder.hh:20
Definition: bsesource.hh:82
Definition: bsesource.hh:90