emailcontacts/remotecontactlookup/engine/inc/cpbkxremotecontactlookupprotocolaccount.h
branchRCL_3
changeset 33 da5135c61bad
parent 32 a3a1ae9acec6
child 34 cd2816114bd1
equal deleted inserted replaced
32:a3a1ae9acec6 33:da5135c61bad
     1 /*
       
     2 * Copyright (c) 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:  Definition of the class CPbkxRemoteContactLookupAccount
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CPBKXREMOTECONTACTLOOKUPACCOUNT_H
       
    20 #define CPBKXREMOTECONTACTLOOKUPACCOUNT_H
       
    21 
       
    22 #include <e32base.h>
       
    23 #include "tpbkxremotecontactlookupprotocolaccountid.h"
       
    24 
       
    25 /**
       
    26  *  Describes a protocol account that is used to identify and account to a
       
    27  *  remote server, which has a database of contacts.
       
    28  *
       
    29  *  @since S60 3.1
       
    30  */
       
    31 class CPbkxRemoteContactLookupProtocolAccount : public CBase
       
    32     {
       
    33 
       
    34 public:
       
    35 
       
    36     /**
       
    37      * Returns protocol accounts identifier.
       
    38      *
       
    39      * @return account identifier
       
    40      */
       
    41     virtual TPbkxRemoteContactLookupProtocolAccountId Id() const = 0;
       
    42 
       
    43     /**
       
    44      * Returns protocol accounts name.
       
    45      *
       
    46      * @return account name
       
    47      */
       
    48     virtual const TDesC& Name() const = 0;    
       
    49     };
       
    50 
       
    51 #endif // CPBKXREMOTECONTACTLOOKUPACCOUNT_H