mmserv/tms/tmsimpl/inc/tmsglobalvoleffectbodyimpl.h
changeset 12 5a06f39ad45b
parent 0 71ca22bcf22a
equal deleted inserted replaced
0:71ca22bcf22a 12:5a06f39ad45b
    31 // TMSGlobalVolEffectBodyImpl class
    31 // TMSGlobalVolEffectBodyImpl class
    32 class TMSGlobalVolEffectBodyImpl : public TMSGlobalVolEffectBody
    32 class TMSGlobalVolEffectBodyImpl : public TMSGlobalVolEffectBody
    33     {
    33     {
    34 public:
    34 public:
    35     static gint Create(TMSGlobalVolEffectBody*& bodyimpl);
    35     static gint Create(TMSGlobalVolEffectBody*& bodyimpl);
       
    36     virtual ~TMSGlobalVolEffectBodyImpl();
    36 
    37 
    37     // From TMSVolumeEffectBody
    38     // From TMSVolumeEffectBody
    38     virtual ~TMSGlobalVolEffectBodyImpl();
       
    39     virtual gint AddObserver(TMSEffectObserver& obsrvr, gpointer user_data);
    39     virtual gint AddObserver(TMSEffectObserver& obsrvr, gpointer user_data);
    40     virtual gint RemoveObserver(TMSEffectObserver& obsrvr);
    40     virtual gint RemoveObserver(TMSEffectObserver& obsrvr);
    41     virtual gint SetLevel(const guint level);
    41     virtual gint SetLevel(const guint level);
    42     virtual gint GetLevel(guint& level);
    42     virtual gint GetLevel(guint& level);
    43     virtual gint GetMaxLevel(guint& level);
    43     virtual gint GetMaxLevel(guint& level);
    44     virtual gint GetType(TMSEffectType& effecttype);
    44     virtual gint GetType(TMSEffectType& effecttype);
    45 
    45 
    46     void SetParentEffect(TMSEffect*& parenteffect);
    46     void SetParent(TMSEffect*& parent);
    47 
    47 
    48 private:
    48 private:
    49     TMSGlobalVolEffectBodyImpl();
    49     TMSGlobalVolEffectBodyImpl();
    50     gint PostConstruct();
    50     gint PostConstruct();
    51 
    51 
    52 private:
    52 private:
    53     TMSEffectObserver* iObserver;
    53     TMSEffectObserver* iObserver;
    54     gint iClientId;
    54     gint iClientId;
    55     gpointer iUserData;
    55     gpointer iUserData;
    56     TMSProxy* iProxy;
    56     TMSProxy* iProxy;
    57     TMSEffect* iGlobalEffect;
    57     TMSEffect* iParent;
    58     };
    58     };
    59 
    59 
    60 } //namespace TMS
    60 } //namespace TMS
    61 
    61 
    62 #endif // TMS_GLOBAL_VOLUME_EFFECT_BODY_IMPL_H
    62 #endif // TMS_GLOBAL_VOLUME_EFFECT_BODY_IMPL_H
    63 
    63 
    64 // End of file