bluetoothengine/btnotif/tsrc/BtNotifApiTest/inc/BtEngDevManObserver.h
branchRCL_3
changeset 23 9386f31cc85b
parent 0 f63038272f30
equal deleted inserted replaced
22:613943a21004 23:9386f31cc85b
       
     1 /*
       
     2 * Copyright (c) 2009 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: 
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef BTENGDEVMANOBSERVER_H_
       
    20 #define BTENGDEVMANOBSERVER_H_
       
    21 
       
    22 #include "BTEngDevMan.h"
       
    23 
       
    24 NONSHARABLE_CLASS( CBtEngDevManObserver ) : public MBTEngDevManObserver
       
    25 {
       
    26 public:
       
    27 	static CBtEngDevManObserver* NewL();
       
    28 	static CBtEngDevManObserver* NewLC();
       
    29 	
       
    30 	TInt GetDevices( const TBTRegistrySearch& aCriteria, 
       
    31                                CBTDeviceArray* aResultArray );
       
    32 	TInt AddDevice( const CBTDevice& aDevice );
       
    33 	TInt DeleteDevices( const TBTRegistrySearch& aCriteria );
       
    34     
       
    35 	virtual ~CBtEngDevManObserver();
       
    36     void HandleDevManComplete( TInt aErr );
       
    37     void HandleGetDevicesComplete( TInt aErr, CBTDeviceArray* aDeviceArray );
       
    38 	
       
    39 private:
       
    40     CBtEngDevManObserver();
       
    41     void ConstructL();
       
    42     
       
    43 private:
       
    44     CActiveSchedulerWait* iWait;
       
    45     CBTEngDevMan* iDevMan;
       
    46 
       
    47 };
       
    48 
       
    49 #endif /*BTENGDEVMANOBSERVER_H_*/