phoneengine/PhoneCntFinder/ContactService/inc/tphcntcontactlinkresult.h
changeset 0 5f000ab63145
equal deleted inserted replaced
-1:000000000000 0:5f000ab63145
       
     1 /*
       
     2 * Copyright (c) 2006 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:  Result of getting user selected contact link.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef TPhCntContactLinkResult_H
       
    20 #define TPhCntContactLinkResult_H
       
    21 
       
    22 #include <e32std.h>
       
    23 
       
    24 #include "mphcntserviceresult.h"
       
    25 
       
    26 /**
       
    27  *  Result of the request to get the user selected phone numbers link.
       
    28  *
       
    29  *  @lib PhoneCntFinder.lib
       
    30  *  @since S60 v3.2
       
    31  */
       
    32 NONSHARABLE_CLASS( TPhCntContactLinkResult )
       
    33     : public MPhCntServiceResult
       
    34     {
       
    35     
       
    36 public: 
       
    37 
       
    38     /**
       
    39      * Constructor.
       
    40      *
       
    41      * @since S60 v3.2
       
    42      * @param aLink Descriptor where the contact link is set (may be null) when
       
    43      * MPhCntService request completes. 
       
    44      */
       
    45     TPhCntContactLinkResult( HBufC8*& aLink );
       
    46     
       
    47 // from base class MPhCntServiceResult
       
    48 
       
    49     /**
       
    50      * From MPhCntServiceResult
       
    51      * Parses the result.
       
    52      *
       
    53      * @since S60 v3.2
       
    54      * @see MPhCntServiceResult
       
    55      */
       
    56     void ParseResult( 
       
    57         CAiwGenericParamList& aResult );
       
    58 
       
    59 private: // data
       
    60 
       
    61     /**
       
    62      * Link
       
    63      * Now own.
       
    64      */
       
    65     HBufC8*& iLink;
       
    66 
       
    67     };
       
    68 
       
    69 #endif // TPhCntContactLinkResult_H