qtms/src/qtmsglobalvoleffect.cpp
changeset 51 e61a04404bdf
parent 27 cbb1bfb7ebfb
--- a/qtms/src/qtmsglobalvoleffect.cpp	Tue Jul 06 14:48:59 2010 +0300
+++ b/qtms/src/qtmsglobalvoleffect.cpp	Wed Aug 18 10:16:02 2010 +0300
@@ -25,54 +25,48 @@
 
 QTMSGlobalVolEffect::QTMSGlobalVolEffect() :
     iEffect(NULL)
-    {
-    }
+{
+}
 
 QTMSGlobalVolEffect::~QTMSGlobalVolEffect()
-    {
-    delete (static_cast<TMSGlobalVolEffect*>(iEffect));
-    }
+{
+    delete (static_cast<TMSGlobalVolEffect*> (iEffect));
+}
 
 gint QTMSGlobalVolEffect::GetLevel(guint& level)
-    {
+{
     gint status(QTMS_RESULT_UNINITIALIZED_OBJECT);
-    if (iEffect)
-        {
+    if (iEffect) {
         status = static_cast<TMSGlobalVolEffect*> (iEffect)->GetLevel(level);
-        }
+    }
     return status;
-    }
+}
 
 gint QTMSGlobalVolEffect::SetLevel(const guint level)
-    {
+{
     gint status(QTMS_RESULT_UNINITIALIZED_OBJECT);
-    if (iEffect)
-        {
+    if (iEffect) {
         status = static_cast<TMSGlobalVolEffect*> (iEffect)->SetLevel(level);
-        }
+    }
     return status;
-    }
+}
 
 gint QTMSGlobalVolEffect::GetMaxLevel(guint& level)
-    {
+{
     gint status(QTMS_RESULT_UNINITIALIZED_OBJECT);
-    if (iEffect)
-        {
-        status = static_cast<TMSGlobalVolEffect*> (iEffect)->GetMaxLevel(
-                level);
-        }
+    if (iEffect) {
+        status = static_cast<TMSGlobalVolEffect*> (iEffect)->GetMaxLevel(level);
+    }
     return status;
-    }
+}
 
 gint QTMSGlobalVolEffect::GetType(QTMSSourceType& sourcetype)
-    {
+{
     gint status(QTMS_RESULT_UNINITIALIZED_OBJECT);
-    if (iEffect)
-        {
-        status = static_cast<TMSGlobalVolEffect*> (iEffect)->GetType(
-                sourcetype);
-        }
+    if (iEffect) {
+        status = static_cast<TMSGlobalVolEffect*> (iEffect)->GetType(sourcetype);
+    }
     return status;
-    }
+}
 
 // End of file