simpledatamodeladapter/inc/presencecontactscontextbase.h
branchRCL_3
changeset 18 fbd2e7cec7ef
parent 0 c8caa15ef882
equal deleted inserted replaced
17:2669f8761a99 18:fbd2e7cec7ef
       
     1 /*
       
     2 * Copyright (c) 20010 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:  IETF SIMPLE Protocol implementation for XIMP Framework
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef M_MPRESENCECONTACTSCONTEXTBASE_H
       
    20 #define M_MPRESENCECONTACTSCONTEXTBASE_H
       
    21 
       
    22 
       
    23 class MVPbkContactLinkArray;
       
    24 class MVPbkContactLink;
       
    25 
       
    26 
       
    27 /**
       
    28  *  Base class to state context
       
    29  *
       
    30  *  @lib presenceplugin.dll
       
    31  *  @since S60 v5.0
       
    32  */
       
    33 class MPresenceContactsContextBase
       
    34     {
       
    35 
       
    36 public:
       
    37 
       
    38     /**
       
    39      * Open virtual phonebook contact stores
       
    40      *
       
    41      * @since S60 v5.0
       
    42      */
       
    43     virtual void OpenL() = 0;
       
    44 
       
    45     /**
       
    46      * Start virtual phonebook contacts search
       
    47      *
       
    48      * @since S60 v5.0
       
    49      */
       
    50     virtual void SearchL() = 0;
       
    51 
       
    52     /**
       
    53      * Return virtual phonebook contact links
       
    54      *
       
    55      * @since S60 v5.0
       
    56      * @return virtual phonebook contact links
       
    57      */
       
    58     virtual const MVPbkContactLinkArray& ContactLinkArrayL() = 0;
       
    59     
       
    60     /**
       
    61      * Resolve virtual phonebook contact from contact link
       
    62      *
       
    63      * @since S60 v5.0
       
    64      * @param aContactLink contact link to resolve
       
    65      */
       
    66     virtual void RetrieveContactL(
       
    67             const MVPbkContactLink& aContactLink ) = 0;
       
    68 
       
    69     };
       
    70 
       
    71 
       
    72 #endif // M_MPRESENCECONTACTSCONTEXTBASE_H