[beast/devel: 12/17] BSE: IDL: add TestObject to carry out unit tests
- From: Tim Janik <timj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [beast/devel: 12/17] BSE: IDL: add TestObject to carry out unit tests
- Date: Wed, 1 May 2013 12:30:58 +0000 (UTC)
commit 337b63398311087518dbe3a02140b456f38508e5
Author: Tim Janik <timj gnu org>
Date: Thu Mar 28 16:06:30 2013 +0000
BSE: IDL: add TestObject to carry out unit tests
bse/bseapi.idl | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/bse/bseapi.idl b/bse/bseapi.idl
index 54f5be8..5ab21c4 100644
--- a/bse/bseapi.idl
+++ b/bse/bseapi.idl
@@ -6,7 +6,18 @@
namespace Bse {
+/// Object to carry out IDL, API, signal, etc tests.
+interface TestObject {
+ int32 echo_test (String msg) = 0; ///< Echo custom message to stdout.
+ signal void echo_reply (String msg); ///< Signal emitted in response to echo_test().
+};
+
+/** Main Bse remote origin object.
+ * The Bse::Server object controls the main BSE thread and keeps track of all objects
+ * used in the BSE context.
+ */
interface Server {
+ TestObject get_test_object () = 0; ///< Retrieve object for API, signal, etc tests.
};
} // Bse
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]