--- a/qtms/src/qtmsgaineffect.cpp Tue Jul 06 14:48:59 2010 +0300
+++ b/qtms/src/qtmsgaineffect.cpp Wed Aug 18 10:16:02 2010 +0300
@@ -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