homesync/contentmanager/cmserver/cmstoremanager/src/cmsmmsinfo.cpp
branchIOP_Improvements
changeset 40 08b5eae9f9ff
parent 39 6369bfd1b60d
child 41 b4d83ea1d6e2
equal deleted inserted replaced
39:6369bfd1b60d 40:08b5eae9f9ff
     1 /*
       
     2 * Copyright (c) 2008 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:  Store media server info class
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include "cmsmmsinfo.h"
       
    20 #include "msdebug.h"
       
    21 
       
    22 // ---------------------------------------------------------------------------
       
    23 // CCmSmMsInfo::NewL
       
    24 // ---------------------------------------------------------------------------
       
    25 // 
       
    26 CCmSmMsInfo* CCmSmMsInfo::NewL( TDesC8& aUuid, TInt aId )
       
    27     {
       
    28     LOG(_L("[STORE MNGR]\t CCmSmMsInfo::NewL"));
       
    29     
       
    30     CCmSmMsInfo* self = CCmSmMsInfo::NewLC( aUuid, aId );
       
    31     CleanupStack::Pop( self );
       
    32     return self;
       
    33     }
       
    34 
       
    35 // ---------------------------------------------------------------------------
       
    36 // CCmSmMsInfo::NewLC
       
    37 // ---------------------------------------------------------------------------
       
    38 //     
       
    39 CCmSmMsInfo* CCmSmMsInfo::NewLC( TDesC8& aUuid, TInt aId )
       
    40     {
       
    41     LOG(_L("[STORE MNGR]\t CCmSmMsInfo::NewLC"));
       
    42     
       
    43     CCmSmMsInfo* self = new ( ELeave ) CCmSmMsInfo();
       
    44     CleanupStack::PushL( self );
       
    45     self->ConstructL( aUuid, aId );    
       
    46     return self;  
       
    47     }    
       
    48 
       
    49 // ---------------------------------------------------------------------------
       
    50 // CCmSmMsInfo::~CCmSmMsInfo
       
    51 // ---------------------------------------------------------------------------
       
    52 // 
       
    53 CCmSmMsInfo::~CCmSmMsInfo()
       
    54     {
       
    55     LOG(_L("[STORE MNGR]\t CCmSmMsInfo::~CCmSmMsInfo"));
       
    56     
       
    57     delete iUuid;      
       
    58     }
       
    59     
       
    60 // ---------------------------------------------------------------------------
       
    61 // CCmSmMsInfo::CCmSmMsInfo
       
    62 // ---------------------------------------------------------------------------
       
    63 //            
       
    64 CCmSmMsInfo::CCmSmMsInfo()
       
    65     {
       
    66     LOG(_L("[STORE MNGR]\t CCmSmMsInfo::CCmSmMsInfo"));
       
    67     }
       
    68 
       
    69 // ---------------------------------------------------------------------------
       
    70 // CCmSmMsInfo::Construct
       
    71 // ---------------------------------------------------------------------------
       
    72 //  
       
    73 void CCmSmMsInfo::ConstructL( TDesC8& aUuid, TInt aId )
       
    74     {
       
    75     LOG(_L("[STORE MNGR]\t CCmSmMsInfo::ConstructL"));
       
    76     
       
    77     iUuid = aUuid.AllocL();
       
    78     iId = aId;                                     
       
    79     } 
       
    80                         
       
    81 // End of file
       
    82 
       
    83 
       
    84 
       
    85