phonebookui/Phonebook2/inc/MPbk2StoreStateCheckerObserver.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 Store state checker observer
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MPBK2STORESTATECHECKEROBSERVER_H
       
    20 #define MPBK2STORESTATECHECKEROBSERVER_H
       
    21 
       
    22 /**
       
    23  * Phonebook 2 Store state checker callback
       
    24  */
       
    25 class MPbk2StoreStateCheckerObserver
       
    26     {
       
    27     public:
       
    28      enum TState
       
    29             {
       
    30             /// Store is available
       
    31             EStoreAvailable,
       
    32             /// Store is unavailables
       
    33             EStoreUnavailable
       
    34             };
       
    35             
       
    36     public:  // Interface
       
    37 
       
    38         /**
       
    39          * Store state callback
       
    40          *
       
    41          * @param aState  State of the store
       
    42          */
       
    43         virtual void StoreState( 
       
    44             MPbk2StoreStateCheckerObserver::TState aState ) = 0;
       
    45 
       
    46     };
       
    47 
       
    48 #endif // MPBK2STORESTATECHECKEROBSERVER_H
       
    49 
       
    50 // End of File