ImagePrint/ImagePrintUI/imageprinteng/src/ctemplatedata.cpp
branchGCC_SURGE
changeset 25 59ea2209bb67
parent 23 08cc4cc059d4
parent 15 a92d00fca574
equal deleted inserted replaced
23:08cc4cc059d4 25:59ea2209bb67
     1 /*
       
     2 * Copyright (c) 2004-2007 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 "ctemplatedata.h"
       
    20 
       
    21 //  CONSTRUCTION
       
    22 CTemplateData* CTemplateData::NewL()
       
    23     {    
       
    24     CTemplateData* self = CTemplateData::NewLC();
       
    25     CleanupStack::Pop();    // self
       
    26     return self;
       
    27     }
       
    28 
       
    29 CTemplateData* CTemplateData::NewLC()
       
    30     {
       
    31     CTemplateData* self = new ( ELeave ) CTemplateData;
       
    32     CleanupStack::PushL( self );
       
    33     return self;
       
    34     }
       
    35 
       
    36 // Default constructor
       
    37 CTemplateData::CTemplateData()
       
    38     {
       
    39     }
       
    40 
       
    41 // Destructor
       
    42 CTemplateData::~CTemplateData()
       
    43     {
       
    44     }
       
    45 
       
    46 // Clones single template data instance
       
    47 CTemplateData* CTemplateData::CloneL()
       
    48     {
       
    49     CTemplateData* self = CTemplateData::NewL();
       
    50     self->iUid = iUid;
       
    51     return self;
       
    52     }
       
    53 
       
    54 //  End of File