tsrc/musenginestub/src/musengpreviewsession.cpp
changeset 0 f0cf47e981f9
equal deleted inserted replaced
-1:000000000000 0:f0cf47e981f9
       
     1 /*
       
     2 * Copyright (c) 2005 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include "musengsession.h"
       
    20 #include "musengpreviewsession.h"
       
    21 
       
    22 #include "musengpreviewsessionobserver.h"
       
    23 
       
    24 // -----------------------------------------------------------------------------
       
    25 // CMusEngPreviewSession::CMusEngPreviewSession
       
    26 // -----------------------------------------------------------------------------
       
    27 //
       
    28 CMusEngPreviewSession::CMusEngPreviewSession( MMusEngPreviewSessionObserver* aSessionObserver,
       
    29                                                 const TRect& aRect )
       
    30                                                 : CMusEngSession( aRect )
       
    31     {
       
    32     iSessionObserver = aSessionObserver;
       
    33     }
       
    34 
       
    35 // -----------------------------------------------------------------------------
       
    36 // CMusEngPreviewSession::~CMusEngPreviewSession
       
    37 // -----------------------------------------------------------------------------
       
    38 //
       
    39 CMusEngPreviewSession::~CMusEngPreviewSession()
       
    40     {
       
    41     }
       
    42 
       
    43 // -----------------------------------------------------------------------------
       
    44 // CMusEngPreviewSession::~CMusEngPreviewSession
       
    45 // -----------------------------------------------------------------------------
       
    46 //
       
    47 EXPORT_C CMusEngPreviewSession* CMusEngPreviewSession::NewL( const TDesC& aFileName,
       
    48                                                          const TRect& aRect,
       
    49                                                          MMusEngPreviewSessionObserver* aSessionObserver)
       
    50     {
       
    51     CMusEngPreviewSession* self = NULL;
       
    52     self = new( ELeave ) CMusEngPreviewSession( aSessionObserver, aRect);
       
    53     CleanupStack::PushL( self );
       
    54     self->ConstructL(/*aFileName*/);
       
    55     CleanupStack::Pop( self );
       
    56     return self;
       
    57     }
       
    58 
       
    59 // -----------------------------------------------------------------------------
       
    60 // CMusEngPreviewSession::ConstructL
       
    61 // -----------------------------------------------------------------------------
       
    62 //
       
    63 void CMusEngPreviewSession::ConstructL( /*const TDesC& aFileName*/ )
       
    64     {
       
    65     }
       
    66 
       
    67 // -----------------------------------------------------------------------------
       
    68 // CMusEngPreviewSession::SetClipSessionObserver
       
    69 // -----------------------------------------------------------------------------
       
    70 //
       
    71 void CMusEngPreviewSession::SetSessionObserver(MMusEngPreviewSessionObserver* aSessionObserver)
       
    72     {
       
    73         iSessionObserver = aSessionObserver;
       
    74     }
       
    75 
       
    76 // -----------------------------------------------------------------------------
       
    77 // CMusEngPreviewSession::Play
       
    78 // -----------------------------------------------------------------------------
       
    79 //
       
    80 EXPORT_C void CMusEngPreviewSession::Play()
       
    81     {
       
    82     }
       
    83 
       
    84 // -----------------------------------------------------------------------------
       
    85 // CMusEngPreviewSession::Pause
       
    86 // -----------------------------------------------------------------------------
       
    87 //
       
    88 EXPORT_C void CMusEngPreviewSession::Pause()
       
    89     {
       
    90     }
       
    91 
       
    92 // -----------------------------------------------------------------------------
       
    93 // CMusEngPreviewSession::Close
       
    94 // -----------------------------------------------------------------------------
       
    95 //
       
    96 EXPORT_C void CMusEngPreviewSession::Close()
       
    97     {
       
    98     }
       
    99 
       
   100 // -----------------------------------------------------------------------------
       
   101 // CMusEngPreviewSession::Mute
       
   102 // -----------------------------------------------------------------------------
       
   103 //
       
   104 EXPORT_C void CMusEngPreviewSession::Mute()
       
   105     {
       
   106     }
       
   107 
       
   108 // -----------------------------------------------------------------------------
       
   109 // CMusEngPreviewSession::Unmute
       
   110 // -----------------------------------------------------------------------------
       
   111 //
       
   112 EXPORT_C void CMusEngPreviewSession::Unmute()
       
   113     {
       
   114     }
       
   115 
       
   116 
       
   117 
       
   118