[beast/devel: 23/26] BSE: renamed BSE_RESIDENT_SOURCE_DEF() macro



commit 633d9d190817c9c43efa222f3edb1786b0ab2c83
Author: Tim Janik <timj gnu org>
Date:   Tue Dec 18 03:21:21 2012 +0100

    BSE: renamed BSE_RESIDENT_SOURCE_DEF() macro

 bse/bsecxxplugin.hh             |    2 +-
 plugins/bseadder.cc             |    8 ++++----
 plugins/bseatandistort.cc       |   10 +++++-----
 plugins/bseiirfilter.cc         |    6 +++---
 plugins/bsemixer.cc             |    8 ++++----
 plugins/bsemult.cc              |    6 +++---
 plugins/bsesequencer.cc         |    6 +++---
 plugins/bsesimpleadsr.cc        |    6 +++---
 plugins/davcanyondelay.cc       |    6 +++---
 plugins/davsyndrum.cc           |   14 +++++++-------
 plugins/davxtalstrings.cc       |   10 +++++-----
 plugins/freeverb/bsefreeverb.cc |    8 ++++----
 12 files changed, 45 insertions(+), 45 deletions(-)
---
diff --git a/bse/bsecxxplugin.hh b/bse/bsecxxplugin.hh
index ddcffb1..bcbf403 100644
--- a/bse/bsecxxplugin.hh
+++ b/bse/bsecxxplugin.hh
@@ -49,7 +49,7 @@ extern ::BseExportIdentity bse_builtin_export_identity; /* sync with bseplugin.h
 #endif
 
 // == Resident Type Plugin Registration ==
-#define BSE_RESIDENT_TYPE_DEF(Object, func, category, blurb, icon)      \
+#define BSE_RESIDENT_SOURCE_DEF(Object, func, category, blurb, icon)    \
   static GType func##_get_type () {                                     \
     static const GTypeInfo type_info = {                                \
       sizeof (Object##Class),                                           \
diff --git a/plugins/bseadder.cc b/plugins/bseadder.cc
index 8aada86..35d3888 100644
--- a/plugins/bseadder.cc
+++ b/plugins/bseadder.cc
@@ -51,10 +51,10 @@ static void	 bse_adder_update_modules	(BseAdder	*self,
 
 /* --- Export to BSE --- */
 #include "./icons/sum.c"
-BSE_RESIDENT_TYPE_DEF (BseAdder, bse_adder, N_("Routing/Adder"),
-                       "The Adder is a very simplisitic prototype mixer that just sums up "
-                       "incoming signals (it does allow for switching to subtract mode though)",
-                       sum_icon);
+BSE_RESIDENT_SOURCE_DEF (BseAdder, bse_adder, N_("Routing/Adder"),
+                         "The Adder is a very simplisitic prototype mixer that just sums up "
+                         "incoming signals (it does allow for switching to subtract mode though)",
+                         sum_icon);
 
 /* --- variables --- */
 static gpointer		 parent_class = NULL;
diff --git a/plugins/bseatandistort.cc b/plugins/bseatandistort.cc
index 4fbd16e..99901a7 100644
--- a/plugins/bseatandistort.cc
+++ b/plugins/bseatandistort.cc
@@ -47,11 +47,11 @@ static void	 bse_atan_distort_update_modules      (BseAtanDistort		*comp);
 
 /* --- Export to BSE --- */
 #include "./icons/atan.c"
-BSE_RESIDENT_TYPE_DEF (BseAtanDistort, bse_atan_distort, "Distortion/Atan Distort",
-                       "BseAtanDistort compresses or expands the input signal with distortion "
-                       "(in a manner similar to the atan(3) mathematical function, thus it's name). "
-                       "The strength with which the input signal is treated is adjustable from "
-                       "maximum attenuation to maximum boost.", atan_icon);
+BSE_RESIDENT_SOURCE_DEF (BseAtanDistort, bse_atan_distort, "Distortion/Atan Distort",
+                         "BseAtanDistort compresses or expands the input signal with distortion "
+                         "(in a manner similar to the atan(3) mathematical function, thus it's name). "
+                         "The strength with which the input signal is treated is adjustable from "
+                         "maximum attenuation to maximum boost.", atan_icon);
 
 /* --- variables --- */
 static gpointer	       parent_class = NULL;
diff --git a/plugins/bseiirfilter.cc b/plugins/bseiirfilter.cc
index 38114f5..5c4369e 100644
--- a/plugins/bseiirfilter.cc
+++ b/plugins/bseiirfilter.cc
@@ -58,9 +58,9 @@ static void	   bse_iir_filter_update_modules	(BseIIRFilter		*filt);
 
 /* --- Export to BSE --- */
 #include "./icons/filter.c"
-BSE_RESIDENT_TYPE_DEF (BseIIRFilter, bse_iir_filter, N_("Filters/IIR Filter"),
-                       "BseIIRFilter is an infinite impulse response filter of variable order",
-                       filter_icon);
+BSE_RESIDENT_SOURCE_DEF (BseIIRFilter, bse_iir_filter, N_("Filters/IIR Filter"),
+                         "BseIIRFilter is an infinite impulse response filter of variable order",
+                         filter_icon);
 
 /* --- variables --- */
 static gpointer	       parent_class = NULL;
diff --git a/plugins/bsemixer.cc b/plugins/bsemixer.cc
index 7530d19..52868f1 100644
--- a/plugins/bsemixer.cc
+++ b/plugins/bsemixer.cc
@@ -57,10 +57,10 @@ static void	 bse_mixer_update_modules	(BseMixer	*self,
 
 // == Type Registration ==
 #include "./icons/mixer.c"
-BSE_RESIDENT_TYPE_DEF (BseMixer, bse_mixer, N_("Routing/Mixer"),
-                       "The Mixer module sums up incomming signals, and allowes for fine "
-                       "adjusted weighting (volume setting) of the input sources",
-                       mixer_icon);
+BSE_RESIDENT_SOURCE_DEF (BseMixer, bse_mixer, N_("Routing/Mixer"),
+                         "The Mixer module sums up incomming signals, and allowes for fine "
+                         "adjusted weighting (volume setting) of the input sources",
+                         mixer_icon);
 
 
 /* --- variables --- */
diff --git a/plugins/bsemult.cc b/plugins/bsemult.cc
index 7b9848c..f34d834 100644
--- a/plugins/bsemult.cc
+++ b/plugins/bsemult.cc
@@ -30,9 +30,9 @@ static void	 bse_mult_context_create	(BseSource	*source,
 
 // == Type Registration ==
 #include "./icons/multiply.c"
-BSE_RESIDENT_TYPE_DEF (BseMult, bse_mult, N_("Routing/Multiply"),
-                       "Mult is a channel multiplier for ring-modulating incoming signals",
-                       multiply_icon);
+BSE_RESIDENT_SOURCE_DEF (BseMult, bse_mult, N_("Routing/Multiply"),
+                         "Mult is a channel multiplier for ring-modulating incoming signals",
+                         multiply_icon);
 
 /* --- variables --- */
 static gpointer		 parent_class = NULL;
diff --git a/plugins/bsesequencer.cc b/plugins/bsesequencer.cc
index 4b1da39..c41cbb5 100644
--- a/plugins/bsesequencer.cc
+++ b/plugins/bsesequencer.cc
@@ -50,9 +50,9 @@ static void	bse_sequencer_update_modules	(BseSequencer		*seq);
 
 // == Type Registration ==
 #include "./icons/sequencer.c"
-BSE_RESIDENT_TYPE_DEF (BseSequencer, bse_sequencer, N_("Other Sources/Sequencer"),
-                       "The Sequencer produces a frequency signal according to a sequence of notes",
-                       sequencer_icon);
+BSE_RESIDENT_SOURCE_DEF (BseSequencer, bse_sequencer, N_("Other Sources/Sequencer"),
+                         "The Sequencer produces a frequency signal according to a sequence of notes",
+                         sequencer_icon);
 
 /* --- variables --- */
 static gpointer		 parent_class = NULL;
diff --git a/plugins/bsesimpleadsr.cc b/plugins/bsesimpleadsr.cc
index 5edd11d..5fef822 100644
--- a/plugins/bsesimpleadsr.cc
+++ b/plugins/bsesimpleadsr.cc
@@ -51,9 +51,9 @@ static void	bse_simple_adsr_update_modules	(BseSimpleADSR		*simple_adsr,
 						 BseTrans		*trans);
 // == Type Registration ==
 #include "./icons/adsr.c"
-BSE_RESIDENT_TYPE_DEF (BseSimpleADSR, bse_simple_adsr, N_("Other Sources/Simple ADSR"),
-                       "Simple ADSR envelope generator",
-                       adsr_icon);
+BSE_RESIDENT_SOURCE_DEF (BseSimpleADSR, bse_simple_adsr, N_("Other Sources/Simple ADSR"),
+                         "Simple ADSR envelope generator",
+                         adsr_icon);
 
 /* --- variables --- */
 static gpointer	       parent_class = NULL;
diff --git a/plugins/davcanyondelay.cc b/plugins/davcanyondelay.cc
index 046be31..b0444cc 100644
--- a/plugins/davcanyondelay.cc
+++ b/plugins/davcanyondelay.cc
@@ -55,9 +55,9 @@ static void dav_canyon_delay_update_modules (DavCanyonDelay      *self);
 
 // == Type Registration ==
 #include "./icons/canyon.c"
-BSE_RESIDENT_TYPE_DEF (DavCanyonDelay, dav_canyon_delay, N_("Enhance/CanyonDelay"),
-                       "DavCanyonDelay adds deep and long canyon-alike echos to stereo signals.",
-                       canyon_icon);
+BSE_RESIDENT_SOURCE_DEF (DavCanyonDelay, dav_canyon_delay, N_("Enhance/CanyonDelay"),
+                         "DavCanyonDelay adds deep and long canyon-alike echos to stereo signals.",
+                         canyon_icon);
 
 /* --- variables --- */
 static gpointer          parent_class = NULL;
diff --git a/plugins/davsyndrum.cc b/plugins/davsyndrum.cc
index c7da4a4..25c7ff2 100644
--- a/plugins/davsyndrum.cc
+++ b/plugins/davsyndrum.cc
@@ -52,13 +52,13 @@ static void dav_syn_drum_update_modules (DavSynDrum      *self,
 
 // == Type Registration ==
 #include "./icons/drum.c"
-BSE_RESIDENT_TYPE_DEF (DavSynDrum, dav_syn_drum, N_("Audio Sources/Synthetic Drum"),
-                       "DavSynDrum produces synthesized drums. It accepts the drum frequency as "
-                       "input channel or parameter setting. Drums are triggered through a trigger "
-                       "parameter or via a trigger input channel which detects raising edges. "
-                       "The initial frequency shift is controllable through the "
-                       "\"Ratio In\" input channel, and adjustable through a parameter.",
-                       drum_icon);
+BSE_RESIDENT_SOURCE_DEF (DavSynDrum, dav_syn_drum, N_("Audio Sources/Synthetic Drum"),
+                         "DavSynDrum produces synthesized drums. It accepts the drum frequency as "
+                         "input channel or parameter setting. Drums are triggered through a trigger "
+                         "parameter or via a trigger input channel which detects raising edges. "
+                         "The initial frequency shift is controllable through the "
+                         "\"Ratio In\" input channel, and adjustable through a parameter.",
+                         drum_icon);
 
 /* --- variables --- */
 static gpointer          parent_class = NULL;
diff --git a/plugins/davxtalstrings.cc b/plugins/davxtalstrings.cc
index 591a363..704862d 100644
--- a/plugins/davxtalstrings.cc
+++ b/plugins/davxtalstrings.cc
@@ -67,11 +67,11 @@ static void	   dav_xtal_strings_update_modules   (DavXtalStrings	   *self,
 
 // == Type Registration ==
 #include "./icons/strings.c"
-BSE_RESIDENT_TYPE_DEF (DavXtalStrings, dav_xtal_strings, N_("Audio Sources/XtalStrings"),
-                       "DavXtalStrings is a plucked string synthesizer, using the "
-                       "Karplus-Strong Algorithm. Commercial use of this module "
-                       "until 2004 requires a license from Stanford University.",
-                       strings_icon);
+BSE_RESIDENT_SOURCE_DEF (DavXtalStrings, dav_xtal_strings, N_("Audio Sources/XtalStrings"),
+                         "DavXtalStrings is a plucked string synthesizer, using the "
+                         "Karplus-Strong Algorithm. Commercial use of this module "
+                         "until 2004 requires a license from Stanford University.",
+                         strings_icon);
 
 /* --- variables --- */
 static gpointer	       parent_class = NULL;
diff --git a/plugins/freeverb/bsefreeverb.cc b/plugins/freeverb/bsefreeverb.cc
index 982e2b1..4c6d6fb 100644
--- a/plugins/freeverb/bsefreeverb.cc
+++ b/plugins/freeverb/bsefreeverb.cc
@@ -50,10 +50,10 @@ static void	bse_free_verb_update_modules	(BseFreeVerb		*self);
 
 // == Type Registration ==
 #include "../icons/reverb.c"
-BSE_RESIDENT_TYPE_DEF (BseFreeVerb, bse_free_verb, N_("Filters/Free Verb"),
-                       "BseFreeVerb - Free, studio-quality reverb (SOURCE CODE in the public domain) "
-                       "Written by Jezar at Dreampoint - http://www.dreampoint.co.uk";,
-                       reverb_icon);
+BSE_RESIDENT_SOURCE_DEF (BseFreeVerb, bse_free_verb, N_("Filters/Free Verb"),
+                         "BseFreeVerb - Free, studio-quality reverb (SOURCE CODE in the public domain) "
+                         "Written by Jezar at Dreampoint - http://www.dreampoint.co.uk";,
+                         reverb_icon);
 
 /* --- variables --- */
 static gpointer        parent_class = NULL;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]