IMPSengine/utils/src/impsfundfields.cpp
changeset 0 094583676ce7
equal deleted inserted replaced
-1:000000000000 0:094583676ce7
       
     1 /*
       
     2 * Copyright (c) 2002 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 *     Data structure defintions for public WV Engine
       
    16 *     Fundamental API.
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 // INCLUDE FILES
       
    22 #include    "impsfundamental.h"
       
    23 
       
    24 // ================= MEMBER FUNCTIONS =======================
       
    25 
       
    26 // C++ default constructor may NOT contain any code, that
       
    27 // might leave.
       
    28 //
       
    29 CImpsSearchRequest::CImpsSearchRequest()
       
    30     {
       
    31     }
       
    32 
       
    33     
       
    34 // Destructor
       
    35 CImpsSearchRequest::~CImpsSearchRequest()
       
    36     {
       
    37     delete iValue;
       
    38     }
       
    39 
       
    40 // ---------------------------------------------------------
       
    41 // CImpsSearchRequest::NewL
       
    42 //
       
    43 // ---------------------------------------------------------
       
    44 //
       
    45 EXPORT_C CImpsSearchRequest* CImpsSearchRequest::NewL()
       
    46     {
       
    47     CImpsSearchRequest* self = new ( ELeave ) CImpsSearchRequest;
       
    48     return self;
       
    49     }
       
    50 
       
    51 // ---------------------------------------------------------
       
    52 // CImpsSearchRequest::SetRequestL
       
    53 //
       
    54 // ---------------------------------------------------------
       
    55 //
       
    56 EXPORT_C void CImpsSearchRequest::SetRequestL( TImpsSearchElement aElement, 
       
    57                                                const TDesC& aValue )
       
    58    {
       
    59    HBufC* newAttrib = aValue.AllocL();
       
    60    delete iValue;
       
    61    iValue = newAttrib;
       
    62    iElement = aElement;   
       
    63    }
       
    64 
       
    65 // ================= OTHER EXPORTED FUNCTIONS ==============
       
    66 
       
    67 
       
    68 //  End of File  
       
    69