--- a/qtms/src/qtmsgaineffect.cpp Fri Jul 23 17:48:16 2010 -0500
+++ b/qtms/src/qtmsgaineffect.cpp Fri Aug 06 17:13:32 2010 -0500
@@ -25,52 +25,48 @@
QTMSGainEffect::QTMSGainEffect() :
iEffect(NULL)
- {
- }
+{
+}
QTMSGainEffect::~QTMSGainEffect()
- {
+{
delete iEffect;
- }
+}
gint QTMSGainEffect::GetLevel(guint& level)
- {
+{
gint status(QTMS_RESULT_UNINITIALIZED_OBJECT);
- if (iEffect)
- {
+ if (iEffect) {
status = static_cast<TMSGainEffect*> (iEffect)->GetLevel(level);
- }
+ }
return status;
- }
+}
gint QTMSGainEffect::SetLevel(const guint level)
- {
+{
gint status(QTMS_RESULT_UNINITIALIZED_OBJECT);
- if (iEffect)
- {
+ if (iEffect) {
status = static_cast<TMSGainEffect*> (iEffect)->SetLevel(level);
- }
+ }
return status;
- }
+}
gint QTMSGainEffect::GetMaxLevel(guint& level)
- {
+{
gint status(QTMS_RESULT_UNINITIALIZED_OBJECT);
- if (iEffect)
- {
+ if (iEffect) {
status = static_cast<TMSGainEffect*> (iEffect)->GetMaxLevel(level);
- }
+ }
return status;
- }
+}
gint QTMSGainEffect::GetType(QTMSSourceType& sourcetype)
- {
+{
gint status(QTMS_RESULT_UNINITIALIZED_OBJECT);
- if (iEffect)
- {
+ if (iEffect) {
status = static_cast<TMSGainEffect*> (iEffect)->GetType(sourcetype);
- }
+ }
return status;
- }
+}
// End of file