phonebookui/Phonebook2/inc/MPbk2GroupFeatureObserver.h
changeset 0 e686773b3f54
equal deleted inserted replaced
-1:000000000000 0:e686773b3f54
       
     1 /*
       
     2 * Copyright (c) 2006-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:  Phonebook 2 group feature observer interface.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MPBK2GROUPFEATUREOBSERVER_H
       
    20 #define MPBK2GROUPFEATUREOBSERVER_H
       
    21 
       
    22 // INLCUDES
       
    23 #include <bamdesca.h>
       
    24 
       
    25 // CLASS DECLARATION
       
    26 
       
    27 /**
       
    28  * Phonebook 2 group feature observer interface.
       
    29  */
       
    30 class MPbk2GroupFeatureObserver
       
    31     {
       
    32     public: // Interface
       
    33 
       
    34         /**
       
    35          * Returns groups where contact belongs to.
       
    36          * @see CPguGroupFeaturePlugin::JoinedGroups()
       
    37          * Array is quaranteed to be valid during this method call, but not
       
    38          * after it. If you need to store the content for later use,
       
    39          * make a copy of it!
       
    40          *
       
    41          * @param aGroups list of formatted group names
       
    42          */
       
    43         virtual void JoinedGroupsCallbackL(
       
    44                 const MDesCArray& aGroups ) = 0;
       
    45 
       
    46     protected: // Disabled functions
       
    47         virtual ~MPbk2GroupFeatureObserver() {}
       
    48     };
       
    49 
       
    50 #endif // MPBK2GROUPFEATUREOBSERVER_H
       
    51 
       
    52 // End of File