bluetoothengine/headsetsimulator/remotecontroller/inc/bttools/hsrcbttoolsobserver.h
branchheadsetsimulator
changeset 60 90dbfc0435e3
equal deleted inserted replaced
59:02103bf20ee5 60:90dbfc0435e3
       
     1 /*
       
     2  * Component Name: Headset Simulator
       
     3  * Author: Comarch S.A.
       
     4  * Version: 1.0
       
     5  * Copyright (c) 2010 Comarch S.A.
       
     6  *  
       
     7  * This Software is submitted by Comarch S.A. to Symbian Foundation Limited on 
       
     8  * the basis of the Member Contribution Agreement entered between Comarch S.A. 
       
     9  * and Symbian Foundation Limited on 5th June 2009 (“Agreement”) and may be 
       
    10  * used only in accordance with the terms and conditions of the Agreement. 
       
    11  * Any other usage, duplication or redistribution of this Software is not 
       
    12  * allowed without written permission of Comarch S.A.
       
    13  * 
       
    14  */
       
    15 
       
    16 #ifndef HSRCBTTOOLSOBSERVER_H
       
    17 #define HSRCBTTOOLSOBSERVER_H
       
    18 
       
    19 /**
       
    20  * @brief Observes if Headset Simulator is reachable
       
    21  */
       
    22 class MHsRCBTManagerObserver
       
    23     {
       
    24 
       
    25 public:
       
    26     /** 
       
    27      * Called when desired device found 
       
    28      * 
       
    29      * @param aDevName bluetooth name of found device
       
    30      * @param aDevAddr bluetooth address of found device
       
    31      * @param aPort found port number
       
    32      */
       
    33     virtual void HandleDesiredDevFound(const TDesC& aDevName,
       
    34             const TBTDevAddr& aDevAddr, const TInt aPort) = 0;
       
    35     
       
    36     /** 
       
    37      * Called when desired device not found 
       
    38      *
       
    39      * @param aErr error code 
       
    40      */
       
    41     virtual void HandleDesiredDevNotFound(TInt aErr) = 0;
       
    42 
       
    43     };
       
    44 
       
    45 
       
    46 #endif //HSRCBTTOOLSOBSERVER_H