phonebookui/Phonebook2/ServerApplication/inc/mpbk2serverappstartupobserver.h
changeset 0 e686773b3f54
equal deleted inserted replaced
-1:000000000000 0:e686773b3f54
       
     1 /*
       
     2 * Copyright (c) 2007-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 Server App start-up observer interface.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MPBK2SERVERAPPSTARTUPOBSERVER_H
       
    20 #define MPBK2SERVERAPPSTARTUPOBSERVER_H
       
    21 
       
    22 #include <MPbk2StartupObserver.h>
       
    23 
       
    24 // CLASS DECLARATION
       
    25 
       
    26 /**
       
    27  * Phonebook 2 Server App start-up observer interface.
       
    28  * Used for notifying user or system initiated cancel.
       
    29  * Core Phonebook 2 startup observer does not have cancel support,
       
    30  * since it uses app shutter to shut itself down. But Server App
       
    31  * cannot do that since it would shut the calling process also.
       
    32  */
       
    33 class MPbk2ServerAppStartupObserver : public MPbk2StartupObserver
       
    34     {
       
    35     public: // Interface
       
    36 
       
    37         /**
       
    38          * Called if startup is cancelled.
       
    39          *
       
    40          * @param aError  Error code.
       
    41          */
       
    42         virtual void StartupCanceled(
       
    43                 TInt aErrorCode ) = 0;
       
    44 
       
    45     protected: // Protected functions
       
    46         virtual ~MPbk2ServerAppStartupObserver()
       
    47             {}
       
    48     };
       
    49 
       
    50 #endif // MPBK2SERVERAPPSTARTUPOBSERVER_H
       
    51 
       
    52 // End of File