phonebookengines/VirtualPhonebook/VPbkSimStoreImpl/inc/MBtSapObserver.h
branchRCL_3
changeset 63 f4a778e096c2
parent 0 e686773b3f54
equal deleted inserted replaced
62:5b6f26637ad3 63:f4a778e096c2
       
     1 /*
       
     2 * Copyright (c) 2002-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:  An observer for bluetooth SIM Access Profile changes
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef VPBKSIMSTOREIMPL_MBTSAPOBSERVER_H
       
    20 #define VPBKSIMSTOREIMPL_MBTSAPOBSERVER_H
       
    21 
       
    22 //  INCLUDES
       
    23 #include <e32std.h>
       
    24 
       
    25 namespace VPbkSimStoreImpl {
       
    26 
       
    27 
       
    28 // CLASS DECLARATION
       
    29 
       
    30 /**
       
    31 *  An observer for bluetooth SIM Access Profile changes
       
    32 *
       
    33 */
       
    34 NONSHARABLE_CLASS( MBtSapObserver )
       
    35     {
       
    36     public: // New functions
       
    37         
       
    38         /**
       
    39         * Called when bluetooth SIM access profile is activated
       
    40         */
       
    41         virtual void BtSapActivated() = 0;
       
    42 
       
    43         /**
       
    44         * Called when bluetooth SIM access profile is deactived
       
    45         */
       
    46         virtual void BtSapDeactivated() = 0;
       
    47         
       
    48         /**
       
    49         * Called when notifcation ends to error
       
    50         *
       
    51         * @param aError a system wide error code
       
    52         */
       
    53         virtual void BtSapNotificationError( TInt aError ) = 0;
       
    54 
       
    55     protected:  // Constructors and destructor
       
    56         
       
    57         /**
       
    58         * Destructor.
       
    59         */
       
    60         virtual ~MBtSapObserver() {}        
       
    61     };
       
    62 } // namespace VPbkSimStoreImpl
       
    63 #endif      // VPBKSIMSTOREIMPL_MBTSAPOBSERVER_H
       
    64             
       
    65 // End of File