phonebookui/Phonebook2/USIMExtension/inc/MPsu2ViewLaunchCallback.h
changeset 0 e686773b3f54
equal deleted inserted replaced
-1:000000000000 0:e686773b3f54
       
     1 /*
       
     2 * Copyright (c) 2005-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 USIM UI Extension View Launch Callback.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MPSU2VIEWLAUNCHCALLBACK_H
       
    20 #define MPSU2VIEWLAUNCHCALLBACK_H
       
    21 
       
    22 // INCLUDES
       
    23 
       
    24 // FORWARD DECLARATIONS
       
    25 class MVPbkContactViewBase;
       
    26 
       
    27 
       
    28 // CLASS DECLARATION
       
    29 
       
    30 /**
       
    31  * Phonebook 2 USIM UI Extension View Launch Callback.
       
    32  */
       
    33 class MPsu2ViewLaunchCallback
       
    34     {
       
    35     public: // interface
       
    36         /**
       
    37          * Passes the aContactView reference to interested parties.
       
    38          */
       
    39         virtual void SetContactViewL(MVPbkContactViewBase& aContactView) = 0;
       
    40 
       
    41         /**
       
    42          * Handle launch error.
       
    43          */
       
    44         virtual void HandleError(TInt aError) = 0;
       
    45 
       
    46     protected:  // destructor
       
    47         ~MPsu2ViewLaunchCallback() { };
       
    48 
       
    49     };
       
    50 
       
    51 #endif // MPSU2VIEWLAUNCHCALLBACK_H
       
    52 
       
    53 // End of File