dvrengine/CommonRecordingEngineClient/src/CCRAPIBase.cpp
changeset 35 381bc1d93c7b
parent 31 07dea94512a2
equal deleted inserted replaced
31:07dea94512a2 35:381bc1d93c7b
     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 the License "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:    Implementation of IptvRTP client's API*
       
    15 */
       
    16 
       
    17 
       
    18 
       
    19 
       
    20 // INCLUDE FILES
       
    21 #include <ipvideo/CCRApiBase.h>
       
    22 #include "CCRServerHandleSingleton.h"
       
    23 
       
    24 // CONSTANTS
       
    25 // None.
       
    26 
       
    27 // ============================ MEMBER FUNCTIONS ===============================
       
    28 
       
    29 // -----------------------------------------------------------------------------
       
    30 // CCRApiBase::CCRApiBase
       
    31 // C++ default constructor can NOT contain any code, that might leave.
       
    32 // -----------------------------------------------------------------------------
       
    33 //
       
    34 CCRApiBase::CCRApiBase()
       
    35     {
       
    36     // None
       
    37     }
       
    38 
       
    39 // -----------------------------------------------------------------------------
       
    40 // CCRApiBase::BaseConstructL
       
    41 // Symbian 2nd phase constructor can leave.
       
    42 // -----------------------------------------------------------------------------
       
    43 //
       
    44 void CCRApiBase::BaseConstructL()
       
    45     {
       
    46     iSingleton = CCRServerHandleSingleton::InstanceL();
       
    47     }
       
    48 
       
    49 // -----------------------------------------------------------------------------
       
    50 // CCRApiBase::~CCRApiBase
       
    51 // Destructor.
       
    52 // -----------------------------------------------------------------------------
       
    53 //
       
    54 CCRApiBase::~CCRApiBase()
       
    55     {
       
    56     CCRServerHandleSingleton::Release();
       
    57     }
       
    58 
       
    59 // End of File