[beast: 7/9] BSE: derive Server from Container, just like the GTypes



commit a468841127c971c755ca3410e96605c5435b30f7
Author: Tim Janik <timj gnu org>
Date:   Fri Sep 29 11:19:46 2017 +0200

    BSE: derive Server from Container, just like the GTypes
    
    Signed-off-by: Tim Janik <timj gnu org>

 bse/bseapi.idl   |    2 +-
 bse/bseserver.cc |    2 +-
 bse/bseserver.hh |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/bse/bseapi.idl b/bse/bseapi.idl
index d2a1e73..e922b4a 100644
--- a/bse/bseapi.idl
+++ b/bse/bseapi.idl
@@ -1140,7 +1140,7 @@ sequence CategorySeq {
  * The Bse::Server object controls the main BSE thread and keeps track of all objects
  * used in the BSE context.
  */
-interface Server : Object {
+interface Server : Container {
   signal void   user_message      (UserMessage umsg);   ///< Notification signal for user messages from BSE.
   void          send_user_message (UserMessage umsg);   ///< Send a user messages from BSE.
   TestObject    get_test_object ();                     ///< Retrieve object for API, signal, etc tests.
diff --git a/bse/bseserver.cc b/bse/bseserver.cc
index 4c264ad..0b2b0f4 100644
--- a/bse/bseserver.cc
+++ b/bse/bseserver.cc
@@ -1106,7 +1106,7 @@ engine_shutdown (BseServer *server)
 namespace Bse {
 
 ServerImpl::ServerImpl (BseObject *bobj) :
-  ObjectImpl (bobj)
+  ContainerImpl (bobj)
 {}
 
 ServerImpl::~ServerImpl ()
diff --git a/bse/bseserver.hh b/bse/bseserver.hh
index adb9dcc..488770d 100644
--- a/bse/bseserver.hh
+++ b/bse/bseserver.hh
@@ -94,7 +94,7 @@ void          bse_server_notify_gconfig               (BseServer          *server);
 
 namespace Bse {
 
-class ServerImpl : public virtual ServerIface, public virtual ObjectImpl {
+class ServerImpl : public virtual ServerIface, public virtual ContainerImpl {
   TestObjectImplP    test_object_;
 protected:
   virtual                 ~ServerImpl ();


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