tacticonserver/server/tacticonpluginfw/src/tacticonplayer.cpp
changeset 0 d54f32e146dd
equal deleted inserted replaced
-1:000000000000 0:d54f32e146dd
       
     1 /*
       
     2 * Copyright (c) 2009 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: Interface class for tacticon players.
       
    15 * Part of    : Tacticon Server
       
    16 */
       
    17 
       
    18 #include "tacticonplayer.h"
       
    19 #include "tacticonpluginfwuids.hrh"
       
    20 
       
    21 const TUid KTacticonPlayerIFUid   = { ETacticonPlayerIFUID };
       
    22 
       
    23 // ---------------------------------------------------------------------------
       
    24 // 
       
    25 // ---------------------------------------------------------------------------
       
    26 //
       
    27 EXPORT_C CTacticonPlayer* CTacticonPlayer::NewL( TUid aImplementationUid, 
       
    28                                         CRepository& aRepository )
       
    29     {
       
    30     return ( CTacticonPlayer* ) 
       
    31                 REComSession::CreateImplementationL( aImplementationUid, 
       
    32                 _FOFF(CTacticonPlayer, iDtor_ID_Key ), &aRepository );
       
    33     }
       
    34 
       
    35 // ---------------------------------------------------------------------------
       
    36 // Lists the available plugin implementations for this interface.
       
    37 // ---------------------------------------------------------------------------
       
    38 // 
       
    39 EXPORT_C void CTacticonPlayer::ListImplementationsL( RImplInfoPtrArray& aImplInfoArray )
       
    40     {
       
    41     REComSession::ListImplementationsL( KTacticonPlayerIFUid, 
       
    42                                         aImplInfoArray );
       
    43     }
       
    44 
       
    45 // ---------------------------------------------------------------------------
       
    46 // Destructor.
       
    47 // ---------------------------------------------------------------------------
       
    48 // 
       
    49 EXPORT_C CTacticonPlayer::~CTacticonPlayer()
       
    50     {
       
    51     REComSession::DestroyedImplementation( iDtor_ID_Key );
       
    52     }
       
    53 
       
    54 // End of file.