[beast/devel: 3/16] SFIDL: renamed "interface" keyword in IDL files
- From: Tim Janik <timj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [beast/devel: 3/16] SFIDL: renamed "interface" keyword in IDL files
- Date: Wed, 16 Jan 2013 17:36:54 +0000 (UTC)
commit 0ff82880973395168d40695d7572cdfa50e37625
Author: Tim Janik <timj gnu org>
Date: Tue Dec 25 03:58:00 2012 +0100
SFIDL: renamed "interface" keyword in IDL files
bse/bsebusmodule.idl | 4 ++--
bse/bsecore.idl | 8 ++++----
bse/bsecxxbase.idl | 4 ++--
bse/bsecxxmodule.idl | 2 +-
bse/bseprocidl.cc | 4 ++--
plugins/artscompressor.idl | 2 +-
plugins/bseamplifier.idl | 4 ++--
plugins/bsebalance.idl | 2 +-
plugins/bsecontribsampleandhold.idl | 2 +-
plugins/bsenoise.idl | 2 +-
plugins/bsequantizer.idl | 2 +-
plugins/bsesummation.idl | 2 +-
plugins/davbassfilter.idl | 2 +-
plugins/davchorus.idl | 2 +-
plugins/davorgan.idl | 2 +-
plugins/evaluator/bseevaluator.idl | 2 +-
plugins/standardguspatchenvelope.idl | 4 ++--
plugins/standardsaturator.idl | 2 +-
sfi/sfidl-parser.cc | 2 +-
sfi/tests/testidl.idl | 2 +-
tests/bse/testplugin.idl | 2 +-
tests/latency/bselatencytest.idl | 2 +-
22 files changed, 30 insertions(+), 30 deletions(-)
---
diff --git a/bse/bsebusmodule.idl b/bse/bsebusmodule.idl
index a5d4f30..0e8c0fa 100644
--- a/bse/bsebusmodule.idl
+++ b/bse/bsebusmodule.idl
@@ -1,8 +1,8 @@
// Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl.html
#include <bse/bsecore.idl>
-namespace Bse { class Effect; }; // FIXME: bad workaround
+namespace Bse { interface Effect; }; // FIXME: bad workaround
namespace Bse {
-class BusModule : Effect {
+interface BusModule : Effect {
Info authors = "Tim Janik";
Info license = _("GNU Lesser General Public License");
Info blurb = _("Synthesis module used internally by BseBus");
diff --git a/bse/bsecore.idl b/bse/bsecore.idl
index 2459ca8..2579d9c 100644
--- a/bse/bsecore.idl
+++ b/bse/bsecore.idl
@@ -520,7 +520,7 @@ record MidiChannelEvent
sequence NoteSeq {
Int notes = Note ("Note", "", KAMMER_NOTE, ":readwrite"); /* FIXME: s/notes/note/ for pspecs, but not the C API */
};
-class Item;
+interface Item;
sequence ItemSeq {
Info blurb = ("A list of BSE items or derived types.");
Item items;
@@ -614,8 +614,8 @@ sequence DotSeq {
Dot dots;
};
/* BSE Part structures */
-class Part;
-class Track;
+interface Part;
+interface Track;
record PartLink {
Track track;
Int tick = ("Tick", NULL, 0, 0, G_MAXINT, 384, STANDARD);
@@ -658,7 +658,7 @@ record SampleFileInfo {
StringSeq waves = (NULL, NULL, STANDARD);
Int error = ("BseErrorType", NULL, 0, 0, G_MAXINT, 0, STANDARD); // FIXME: use BseErrorType here
};
-class Janitor;
+interface Janitor;
/* user messages */
enum MsgType {
MSG_NONE = 0,
diff --git a/bse/bsecxxbase.idl b/bse/bsecxxbase.idl
index 96a5ed4..2d7c53d 100644
--- a/bse/bsecxxbase.idl
+++ b/bse/bsecxxbase.idl
@@ -1,10 +1,10 @@
// Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl.html
#include <bse/bsecore.idl>
namespace Bse { // FIXME: bad workarounds
-class Source;
+interface Source;
}
namespace Bse {
-class CxxBase : Source {
+interface CxxBase : Source {
// Implementation fully manual
};
} // Bse
diff --git a/bse/bsecxxmodule.idl b/bse/bsecxxmodule.idl
index 193cf9c..0891d7a 100644
--- a/bse/bsecxxmodule.idl
+++ b/bse/bsecxxmodule.idl
@@ -1,7 +1,7 @@
// Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl.html
#include <bse/bsecxxbase.idl>
namespace Bse {
-class Effect : CxxBase {
+interface Effect : CxxBase {
// Implementation fully manual
};
} // Bse
diff --git a/bse/bseprocidl.cc b/bse/bseprocidl.cc
index b2128ea..8af2826 100644
--- a/bse/bseprocidl.cc
+++ b/bse/bseprocidl.cc
@@ -111,7 +111,7 @@ void setActiveInterface (const std::string& x, const std::string& parent)
printIndent ();
if (needTypes.count("Bse" + activeInterface) > 0)
needClasses.insert(activeInterface);
- print ("class %s", activeInterface.c_str ());
+ print ("interface %s", activeInterface.c_str ());
if (parent != "")
print (" : %s", parent.c_str());
print (" {\n");
@@ -341,7 +341,7 @@ printForwardDecls ()
for (ci = needClasses.begin(); ci != needClasses.end(); ci++)
{
printIndent();
- print ("class %s;\n", ci->c_str());
+ print ("interface %s;\n", ci->c_str());
}
}
int
diff --git a/plugins/artscompressor.idl b/plugins/artscompressor.idl
index 9ed1606..8d8ccc6 100644
--- a/plugins/artscompressor.idl
+++ b/plugins/artscompressor.idl
@@ -2,7 +2,7 @@
#include <bse/bse.idl>
namespace Bse {
namespace Arts {
-class Compressor : Effect {
+interface Compressor : Effect {
Info icon = "icons/compressor.png";
Info authors = "Matthias Kretz, Stefan Westerfeld";
Info license = _("GNU Lesser General Public License");
diff --git a/plugins/bseamplifier.idl b/plugins/bseamplifier.idl
index f83d125..60a825a 100644
--- a/plugins/bseamplifier.idl
+++ b/plugins/bseamplifier.idl
@@ -1,10 +1,10 @@
// Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl.html
#include <bse/bsecore.idl>
namespace Bse { // FIXME: bad workaround
-class Effect;
+interface Effect;
};
namespace Bse {
-class Amplifier : Effect {
+interface Amplifier : Effect {
Info icon = "icons/ampctrl.png";
Info authors = "Tim Janik";
Info license = _("GNU Lesser General Public License");
diff --git a/plugins/bsebalance.idl b/plugins/bsebalance.idl
index f799686..eb897b2 100644
--- a/plugins/bsebalance.idl
+++ b/plugins/bsebalance.idl
@@ -1,7 +1,7 @@
// Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl.html
#include <bse/bse.idl>
namespace Bse {
-class Balance : Effect {
+interface Balance : Effect {
Info icon = "icons/balance.png";
Info authors = "Tim Janik";
Info license = _("GNU Lesser General Public License");
diff --git a/plugins/bsecontribsampleandhold.idl b/plugins/bsecontribsampleandhold.idl
index 181064c..7826676 100644
--- a/plugins/bsecontribsampleandhold.idl
+++ b/plugins/bsecontribsampleandhold.idl
@@ -1,7 +1,7 @@
// Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl.html
#include <bse/bse.idl>
namespace Bse { namespace Contrib {
-class SampleAndHold: Effect {
+interface SampleAndHold: Effect {
Info icon = "icons/sample+hold.png";
Info authors = _("Artem Popov");
Info license = _("GNU Lesser General Public License");
diff --git a/plugins/bsenoise.idl b/plugins/bsenoise.idl
index 5abc8db..758246a 100644
--- a/plugins/bsenoise.idl
+++ b/plugins/bsenoise.idl
@@ -1,7 +1,7 @@
// Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl.html
#include <bse/bsecxxmodule.idl>
namespace Bse {
-class Noise : Effect {
+interface Noise : Effect {
Info icon = "icons/noise.png";
Info authors = "Tim Janik";
Info license = _("GNU Lesser General Public License");
diff --git a/plugins/bsequantizer.idl b/plugins/bsequantizer.idl
index 6915a48..71f1e95 100644
--- a/plugins/bsequantizer.idl
+++ b/plugins/bsequantizer.idl
@@ -1,7 +1,7 @@
// Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl.html
#include <bse/bse.idl>
namespace Bse { namespace Standard {
-class Quantizer : Bse::Effect {
+interface Quantizer : Bse::Effect {
Info category = "/Distortion/Quantizer";
Info icon = "icons/quantizer.png";
Info authors = "Tim Janik";
diff --git a/plugins/bsesummation.idl b/plugins/bsesummation.idl
index 7d8dc6c..143eb7d 100644
--- a/plugins/bsesummation.idl
+++ b/plugins/bsesummation.idl
@@ -1,7 +1,7 @@
// Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl.html
#include <bse/bsecxxmodule.idl>
namespace Bse {
-class Summation : Effect {
+interface Summation : Effect {
Info icon = "icons/summation.png";
Info authors = "Tim Janik";
Info license = _("GNU Lesser General Public License");
diff --git a/plugins/davbassfilter.idl b/plugins/davbassfilter.idl
index 7719f9f..9c8390c 100644
--- a/plugins/davbassfilter.idl
+++ b/plugins/davbassfilter.idl
@@ -2,7 +2,7 @@
#include <bse/bse.idl>
namespace Bse {
namespace Dav {
-class BassFilter : Effect {
+interface BassFilter : Effect {
Info icon = "icons/davbassfilter.png";
Info authors = "David A. Bartold, Tim Janik";
Info license = _("GNU Lesser General Public License");
diff --git a/plugins/davchorus.idl b/plugins/davchorus.idl
index a617bb0..fdf8eff 100644
--- a/plugins/davchorus.idl
+++ b/plugins/davchorus.idl
@@ -2,7 +2,7 @@
#include <bse/bse.idl>
namespace Bse {
namespace Dav {
-class Chorus : Effect {
+interface Chorus : Effect {
Info icon = "icons/chorus.png";
Info authors = "David A. Bartold";
Info license = _("GNU Lesser General Public License");
diff --git a/plugins/davorgan.idl b/plugins/davorgan.idl
index a8ddc19..89f1fb9 100644
--- a/plugins/davorgan.idl
+++ b/plugins/davorgan.idl
@@ -2,7 +2,7 @@
#include <bse/bse.idl>
namespace Bse {
namespace Dav {
-class Organ : Effect {
+interface Organ : Effect {
Info icon = "icons/organ.png";
Info authors = "David A. Bartold";
Info license = _("GNU Lesser General Public License");
diff --git a/plugins/evaluator/bseevaluator.idl b/plugins/evaluator/bseevaluator.idl
index 79fe3ab..dd71da0 100644
--- a/plugins/evaluator/bseevaluator.idl
+++ b/plugins/evaluator/bseevaluator.idl
@@ -1,7 +1,7 @@
// Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl.html
#include <bse/bse.idl>
namespace Bse {
-class Evaluator : Bse::Effect {
+interface Evaluator : Bse::Effect {
/*Info icon = "icons/bseevaluator.png";*/
Info options = "unstable";
Info authors = "Stefan Westerfeld";
diff --git a/plugins/standardguspatchenvelope.idl b/plugins/standardguspatchenvelope.idl
index ba0a2de..51adbe2 100644
--- a/plugins/standardguspatchenvelope.idl
+++ b/plugins/standardguspatchenvelope.idl
@@ -1,9 +1,9 @@
// Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl.html
#include <bse/bsecxxmodule.idl>
namespace Bse {
-class Wave;
+interface Wave;
namespace Standard {
-class GusPatchEnvelope : Effect {
+interface GusPatchEnvelope : Effect {
// Info icon = "icons/noise.png";
Info options = "unstable";
Info authors = "Stefan Westerfeld";
diff --git a/plugins/standardsaturator.idl b/plugins/standardsaturator.idl
index 5c12a78..e2b2393 100644
--- a/plugins/standardsaturator.idl
+++ b/plugins/standardsaturator.idl
@@ -13,7 +13,7 @@ enum SaturationType {
"for small levels")),
SATURATE_HARD = Enum (_("Hard"), _("Hard saturation via clipping (prone to clicks)")),
};
-class Saturator : Bse::Effect {
+interface Saturator : Bse::Effect {
Info category = "/Distortion/Saturate";
Info icon = "icons/saturate.png";
Info authors = "Tim Janik";
diff --git a/sfi/sfidl-parser.cc b/sfi/sfidl-parser.cc
index a3e359f..b9a4943 100644
--- a/sfi/sfidl-parser.cc
+++ b/sfi/sfidl-parser.cc
@@ -95,7 +95,7 @@ enum ExtraToken {
TOKEN_ERROR
};
const char *token_symbols[] = {
- "namespace", "class", "enum", "record", "sequence",
+ "namespace", "interface", "enum", "record", "sequence",
"property", "group", "using",
"Const", "ConstIdent", "Info", "IStream", "JStream", "OStream",
0
diff --git a/sfi/tests/testidl.idl b/sfi/tests/testidl.idl
index 8b42fe4..08773bc 100644
--- a/sfi/tests/testidl.idl
+++ b/sfi/tests/testidl.idl
@@ -36,7 +36,7 @@ record RealDivision {
};
// no more Sfi:: prefixing beyond this line
using namespace Sfi;
-class Blub {
+interface Blub {
property Real x;
// property "X-Group" Real y;
group "Other Properties" {
diff --git a/tests/bse/testplugin.idl b/tests/bse/testplugin.idl
index 41135bc..786683f 100644
--- a/tests/bse/testplugin.idl
+++ b/tests/bse/testplugin.idl
@@ -20,7 +20,7 @@ sequence TestSequence {
// adds i and str to the record given by rec
// TestRecord record_add (TestRecord rec, Int i, String str);
// test effect
-class TestObject : Bse::Effect {
+interface TestObject : Bse::Effect {
Info category = "/Test/Plugin";
// required because otherwise the bse-plugin-generator generated thing doesn't compile
property Int aninteger;
diff --git a/tests/latency/bselatencytest.idl b/tests/latency/bselatencytest.idl
index 9196214..73e9e06 100644
--- a/tests/latency/bselatencytest.idl
+++ b/tests/latency/bselatencytest.idl
@@ -1,7 +1,7 @@
// Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl.html
#include <bse/bsecxxmodule.idl>
namespace Bse {
-class LatencyTest : Effect {
+interface LatencyTest : Effect {
Info authors = "Stefan Westerfeld";
Info license = _("GNU Lesser General Public License");
Info category = _("/Misc/Latency Test");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]