bluetoothengine/btnotif/btnotifwrapper/src/btnotifwrapperproxy.cpp
changeset 57 5ebadcda06cb
parent 31 a0ea99b6fa53
equal deleted inserted replaced
51:625f43ae9362 57:5ebadcda06cb
    22 
    22 
    23 
    23 
    24 #include <ecom/implementationproxy.h>
    24 #include <ecom/implementationproxy.h>
    25 #include <btmanclient.h>
    25 #include <btmanclient.h>
    26 #include <btextnotifiers.h>
    26 #include <btextnotifiers.h>
       
    27 #include <btnotif.h>
    27 #ifdef SYMBIAN_ENABLE_SPLIT_HEADERS
    28 #ifdef SYMBIAN_ENABLE_SPLIT_HEADERS
    28 #include <btextnotifierspartner.h>
    29 #include <btextnotifierspartner.h>
    29 #endif
    30 #endif
    30 #include <btnotifierapi.h>
    31 #include <btnotifierapi.h>
    31 //#include <networking/panuiinterfaces.h>
    32 //#include <networking/panuiinterfaces.h>
    39 /** Channel for authentication and authorisation notifiers */
    40 /** Channel for authentication and authorisation notifiers */
    40 const TUid KBTAuthChannel = {0x00000602};
    41 const TUid KBTAuthChannel = {0x00000602};
    41 /** Channel for OBEX passkey notifiers */
    42 /** Channel for OBEX passkey notifiers */
    42 //const TUid KBTObexAuthChannel = {0x00000603};
    43 //const TUid KBTObexAuthChannel = {0x00000603};
    43 /** Channel for power mode query */
    44 /** Channel for power mode query */
    44 //const TUid KBTPowerModeChannel = {0x00000605};
    45 const TUid KBTPowerModeChannel = {0x00000605};
    45 /** Channel for query notifiers */
    46 /** Channel for query notifiers */
    46 //const TUid KBTQueryChannel = {0x00000606};
    47 //const TUid KBTQueryChannel = {0x00000606};
    47 /** Channel for power mode query */
    48 /** Channel for power mode query */
    48 //const TUid KBTInfoChannel = {0x00000610};
    49 const TUid KBTInfoChannel = {0x00000610};
    49 
    50 
    50 
    51 
    51 // ======== LOCAL FUNCTIONS ========
    52 // ======== LOCAL FUNCTIONS ========
    52 
    53 
    53 // ---------------------------------------------------------------------------
    54 // ---------------------------------------------------------------------------
    82     
    83     
    83     // todo: add
    84     // todo: add
    84     // KBTUserConfirmationNotifierUid for incoming JW dedicated bonding.
    85     // KBTUserConfirmationNotifierUid for incoming JW dedicated bonding.
    85     
    86     
    86     CreateAndAppendNotifierLC( *notifiers, KDeviceSelectionNotifierUid, KBTDiscoveryChannel );
    87     CreateAndAppendNotifierLC( *notifiers, KDeviceSelectionNotifierUid, KBTDiscoveryChannel );
       
    88     
       
    89     CreateAndAppendNotifierLC( *notifiers, KBTGenericInfoNotifierUid, KBTInfoChannel );
    87 
    90 
       
    91     CreateAndAppendNotifierLC( *notifiers, KPowerModeSettingNotifierUid, KBTPowerModeChannel );
    88     /*
    92     /*
    89      * todo:
    93      * todo:
    90      * Other notifiers to be migrated:
    94      * Other notifiers to be migrated:
    91      * 
    95      * 
    92      * existing stack notifiers:
    96      * existing stack notifiers:
    93      * CreateAndAppendNotifierL( aArray, KPbapAuthNotifierUid, KBTObexPINChannel );
    97      * CreateAndAppendNotifierL( aArray, KPbapAuthNotifierUid, KBTObexPINChannel );
    94      * 
    98      * 
    95      * S60 SDK API:
       
    96      * CreateAndAppendNotifierL( aArray, KPowerModeSettingNotifierUid, KBTPowerModeChannel );
       
    97      *
       
    98      * S60-defined platform:
    99      * S60-defined platform:
    99      * CreateAndAppendNotifierL( aArray, KBTObexPasskeyQueryNotifierUid, KBTObexPINChannel );
   100      * CreateAndAppendNotifierL( aArray, KBTObexPasskeyQueryNotifierUid, KBTObexPINChannel );
   100      * CreateAndAppendNotifierL( aArray, KBTGenericInfoNotifierUid, KBTInfoChannel );
       
   101      * CreateAndAppendNotifierL( aArray, KBTGenericQueryNotifierUid, KBTQueryChannel );
   101      * CreateAndAppendNotifierL( aArray, KBTGenericQueryNotifierUid, KBTQueryChannel );
   102      * 
   102      * 
   103      * new (PAN-related):
   103      * new (PAN-related):
   104      * CreateAndAppendNotifierL( aArray, KBTPanDeviceSelectionNotifierUid, KBTDiscoveryChannel );
   104      * CreateAndAppendNotifierL( aArray, KBTPanDeviceSelectionNotifierUid, KBTDiscoveryChannel );
   105      * CreateAndAppendNotifierL( aArray, KBTPanNapUplinkAuthorisationNotifierUid, KBTAuthChannel );
   105      * CreateAndAppendNotifierL( aArray, KBTPanNapUplinkAuthorisationNotifierUid, KBTAuthChannel );