phonebookui/Phonebook2/xSPExtensionManager/src/MGlobalNoteObserver.h
changeset 0 e686773b3f54
equal deleted inserted replaced
-1:000000000000 0:e686773b3f54
       
     1 /*
       
     2 * Copyright (c) 2002 - 2008 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:  GlobalNoteObserver interface for listening global note events.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef M_GLOBAL_NOTE_OBSERVER_H
       
    20 #define M_GLOBAL_NOTE_OBSERVER_H
       
    21 
       
    22 #include <e32def.h>
       
    23 
       
    24 /**
       
    25  * An observer API for listening state changes for global notes.
       
    26  */
       
    27 class MGlobalNoteObserver
       
    28     {
       
    29     public:
       
    30         /**
       
    31          * A global note has been closed.
       
    32          *
       
    33          * @param aResult The result.
       
    34          */
       
    35         virtual void GlobalNoteClosed( const TInt aResult ) = 0;
       
    36 
       
    37         /**
       
    38          * There was an error in showing the global note.
       
    39          *
       
    40          * @param aErr Symbian error code.
       
    41          */
       
    42         virtual void GlobalNoteError( const TInt aErr ) = 0;
       
    43     };
       
    44 
       
    45 #endif // M_GLOBAL_NOTE_OBSERVER_H
       
    46 
       
    47 // End of File