qtms/src/qtmsglobalgaineffect.cpp
changeset 50 762d760dcfdf
parent 27 cbb1bfb7ebfb
--- a/qtms/src/qtmsglobalgaineffect.cpp	Fri Jul 23 17:48:16 2010 -0500
+++ b/qtms/src/qtmsglobalgaineffect.cpp	Fri Aug 06 17:13:32 2010 -0500
@@ -25,54 +25,48 @@
 
 QTMSGlobalGainEffect::QTMSGlobalGainEffect() :
     iEffect(NULL)
-    {
-    }
+{
+}
 
 QTMSGlobalGainEffect::~QTMSGlobalGainEffect()
-    {
-    delete (static_cast<TMSGlobalGainEffect*>(iEffect));
-    }
+{
+    delete (static_cast<TMSGlobalGainEffect*> (iEffect));
+}
 
 gint QTMSGlobalGainEffect::GetLevel(guint& level)
-    {
+{
     gint status(QTMS_RESULT_UNINITIALIZED_OBJECT);
-    if (iEffect)
-        {
+    if (iEffect) {
         status = static_cast<TMSGlobalGainEffect*> (iEffect)->GetLevel(level);
-        }
+    }
     return status;
-    }
+}
 
 gint QTMSGlobalGainEffect::SetLevel(const guint level)
-    {
+{
     gint status(QTMS_RESULT_UNINITIALIZED_OBJECT);
-    if (iEffect)
-        {
+    if (iEffect) {
         status = static_cast<TMSGlobalGainEffect*> (iEffect)->SetLevel(level);
-        }
+    }
     return status;
-    }
+}
 
 gint QTMSGlobalGainEffect::GetMaxLevel(guint& level)
-    {
+{
     gint status(QTMS_RESULT_UNINITIALIZED_OBJECT);
-    if (iEffect)
-        {
-        status = static_cast<TMSGlobalGainEffect*> (iEffect)->GetMaxLevel(
-                level);
-        }
+    if (iEffect) {
+        status = static_cast<TMSGlobalGainEffect*> (iEffect)->GetMaxLevel(level);
+    }
     return status;
-    }
+}
 
 gint QTMSGlobalGainEffect::GetType(QTMSSourceType& sourcetype)
-    {
+{
     gint status(QTMS_RESULT_UNINITIALIZED_OBJECT);
-    if (iEffect)
-        {
-        status = static_cast<TMSGlobalGainEffect*> (iEffect)->GetType(
-                sourcetype);
-        }
+    if (iEffect) {
+        status = static_cast<TMSGlobalGainEffect*> (iEffect)->GetType(sourcetype);
+    }
     return status;
-    }
+}
 
 // End of file