photosgallery/slideshow/engine/tsrc/t_cshwmusiccontrol/t_cshwmusiccontrol.cpp
branchRCL_3
changeset 13 bcb43dc84c44
parent 0 4e91876724a2
equal deleted inserted replaced
12:ce1c7ad1f18b 13:bcb43dc84c44
    34 
    34 
    35 // CONSTRUCTION
    35 // CONSTRUCTION
    36 T_CShwMusicControl* T_CShwMusicControl::NewL()
    36 T_CShwMusicControl* T_CShwMusicControl::NewL()
    37     {
    37     {
    38     T_CShwMusicControl* self = T_CShwMusicControl::NewLC();
    38     T_CShwMusicControl* self = T_CShwMusicControl::NewLC();
    39     CleanupStack::Pop();
    39     CleanupStack::Pop( self );
    40 
       
    41     return self;
    40     return self;
    42     }
    41     }
    43 
    42 
    44 T_CShwMusicControl* T_CShwMusicControl::NewLC()
    43 T_CShwMusicControl* T_CShwMusicControl::NewLC()
    45     {
    44     {
    46     T_CShwMusicControl* self = new( ELeave ) T_CShwMusicControl;
    45     T_CShwMusicControl* self = new( ELeave ) T_CShwMusicControl;
    47     CleanupStack::PushL( self );
    46     CleanupStack::PushL( self );
    48 
       
    49     self->ConstructL();
    47     self->ConstructL();
    50 
       
    51     return self;
    48     return self;
    52     }
    49     }
    53 
    50 
    54 
    51 
    55 
    52 
    78     }
    75     }
    79 
    76 
    80 void T_CShwMusicControl::SendEventL(MShwEvent* aEvent)
    77 void T_CShwMusicControl::SendEventL(MShwEvent* aEvent)
    81 	{
    78 	{
    82 	iEvent = aEvent->CloneLC();
    79 	iEvent = aEvent->CloneLC();
    83 	CleanupStack::Pop();
    80 	CleanupStack::Pop( iEvent );
    84 	}
    81 	}
    85 
    82 
    86 TBool gMusicOnCalled = EFalse;
    83 TBool gMusicOnCalled = EFalse;
    87 void T_CShwMusicControl::MusicOnL()
    84 void T_CShwMusicControl::MusicOnL()
    88 	{
    85 	{