epoc32/include/mw/btnotifierapi.h
branchSymbian2
changeset 2 2fe1408b6811
parent 1 666f914201fb
child 4 837f303aceeb
equal deleted inserted replaced
1:666f914201fb 2:2fe1408b6811
     1 btnotifierapi.h
     1 /*
       
     2 * Copyright (c) 2002 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 the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Declares Bluetooth notifiers SDK API.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef BTNOTIFIERAPI_H
       
    21 #define BTNOTIFIERAPI_H
       
    22 
       
    23 // CONSTANTS
       
    24 
       
    25 /**
       
    26 * @file btnotifierapi.h 
       
    27 * The UID of the Bluetooth Power Mode Notifier. This notifier checks the Bluetooth
       
    28 * power status, If Bluetooth is off, a dialog is poped up asking user's 
       
    29 * acceptance of switching on Bluetooth. The notifier is launched via 
       
    30 * the notifier framework through RNotifier API. 
       
    31 *
       
    32 * Sample code of using RNotifier:
       
    33 *
       
    34 *  RNotifier notifier;
       
    35 *  TRequestStatus status;
       
    36 *  TPckgBuf <TBool> param, result;
       
    37 *  notifier.StartNotifierAndGetResponse (status, KPowerModeSettingNotifierUid, param, result);
       
    38 */
       
    39 
       
    40 const TUid KPowerModeSettingNotifierUid = {0x100059E2}; 
       
    41 
       
    42 #endif // BTNOTIFIERAPI_H
       
    43 
       
    44 // End of File