[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdebase/runtime/phonon/xine
From:       Matthias Kretz <kretz () kde ! org>
Date:       2008-08-10 18:49:07
Message-ID: 1218394147.002461.8026.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 844850 by mkretz:

explicitly inline accessor function and make debug output more verbose

 M  +2 -2      sinknode.h  
 M  +2 -2      sourcenode.h  


--- trunk/KDE/kdebase/runtime/phonon/xine/sinknode.h #844849:844850
@@ -68,7 +68,7 @@
         virtual void downstreamEvent(Event *);
 
         void findXineEngine();
-        QExplicitlySharedDataPointer<SinkNodeXT> threadSafeObject() const { return \
m_threadSafeObject; } +        inline QExplicitlySharedDataPointer<SinkNodeXT> \
threadSafeObject() const { return m_threadSafeObject; }  
     protected:
         virtual void xineEngineChanged() {}
@@ -92,7 +92,7 @@
     if (node->className) {
         s.nospace() << node->className << '(' << static_cast<const void *>(node) << \
')';  } else {
-        s.nospace() << static_cast<const void *>(node);
+        s.nospace() << "no classname: " << static_cast<const void *>(node);
     }
     return s.space();
 }
--- trunk/KDE/kdebase/runtime/phonon/xine/sourcenode.h #844849:844850
@@ -69,7 +69,7 @@
         virtual void upstreamEvent(Event *);
         virtual void downstreamEvent(Event *);
 
-        QExplicitlySharedDataPointer<SourceNodeXT> threadSafeObject() const { return \
m_threadSafeObject; } +        inline QExplicitlySharedDataPointer<SourceNodeXT> \
threadSafeObject() const { return m_threadSafeObject; }  
     protected:
         QExplicitlySharedDataPointer<SourceNodeXT> m_threadSafeObject;
@@ -86,7 +86,7 @@
     if (node->className) {
         s.nospace() << node->className << '(' << static_cast<const void *>(node) << \
')';  } else {
-        s.nospace() << static_cast<const void *>(node);
+        s.nospace() << "no classname: " << static_cast<const void *>(node);
     }
     return s.space();
 }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic