btservices_plat/bluetooth_secondary_display_notification_api/inc/secondarydisplay/BTnotifSecondaryDisplayAPI.h
changeset 0 f63038272f30
equal deleted inserted replaced
-1:000000000000 0:f63038272f30
       
     1 /*
       
     2 * Copyright (c) 2002-2005 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:  The set of messages provided to Secondary Display software by
       
    15 *              : BT notifier.
       
    16 *
       
    17 */
       
    18 
       
    19 #ifndef BTNOTIF_SECONDARY_DISPLAY_API_H
       
    20 #define BTNOTIF_SECONDARY_DISPLAY_API_H
       
    21 
       
    22 // INCLUDES
       
    23 #include <e32base.h>
       
    24 
       
    25 /*
       
    26 * ==============================================================================
       
    27 * Input parameter TBTDeviceName is defined in btdevice.h
       
    28 * "typedef TBuf<KMaxBCBluetoothNameLen> TBTDeviceName"
       
    29 * ==============================================================================
       
    30 */
       
    31 #include <btdevice.h>
       
    32 
       
    33 
       
    34 // The category UID for the messages in this header file.
       
    35 //
       
    36 const TUid KUidCoverUiCategoryBTnotif = { 0x10005953 };   // UID of the BTnotif Dll
       
    37 
       
    38 
       
    39 /*
       
    40 * ==============================================================================
       
    41 * Dialogs shown by BT notifier. These messages are handled using the
       
    42 * Secondary Display support in Avkon.
       
    43 * ==============================================================================
       
    44 */
       
    45 enum TSecondaryDisplayBTnotifDialogs
       
    46     {
       
    47     /**
       
    48      * Command for a specified dialog is unavailable  
       
    49      */
       
    50     ECmdBTnotifUnavailable = 0,
       
    51 
       
    52     /**
       
    53     * A command for showing "e.g. Open cover and enter pin code" 
       
    54     */
       
    55     // do we need this one at all ??? 
       
    56     ECmdShowBtOpenCoverNote = 1,   
       
    57         
       
    58     /**
       
    59     * A command for showing the "Receive message via Bluetooth from paired device %U?"
       
    60     */
       
    61     ECmdShowReceiveMessageFromPairedDeviceDlg,
       
    62 //#define qtn_bt_receive_message_paired "Receive message via Bluetooth from paired device %U?"
       
    63 
       
    64     /**
       
    65     * A command for showing the "Receive Bluetooth message from: %U"
       
    66     */
       
    67     ECmdShowReceiveMessageFromDeviceDlg,
       
    68 //#define qtn_bt_receive_message "Receive Bluetooth message from: %U"
       
    69 
       
    70     /**
       
    71     * A command for showing the "Accept connection request from:\n%U"
       
    72     */
       
    73     ECmdShowAcceptConnRequestDlg,
       
    74 //#define qtn_bt_accept_conn_request "Accept connection request from:\n%U"
       
    75 
       
    76     /**
       
    77     * A command for showing "Maximum amount of Bluetooth connections in use. Can't establish a new one."
       
    78     */
       
    79     ECmdShowBtBusyNote,
       
    80 //#define qtn_bt_busy "Maximum amount of Bluetooth connections in use. Can't establish a new one."    
       
    81     
       
    82     /**
       
    83     * A command for showing "Bluetooth can't activated in off-line mode".
       
    84     */
       
    85     ECmdShowBtOfflineDisableNote,
       
    86 //#define qtn_bt_offline_disabled "Bluetooth can't activated in off-line mode"
       
    87   
       
    88     /**
       
    89     * A command for showing "Bluetooth is currently switched off. Switch on?".
       
    90     */
       
    91     ECmdShowBtIsOffDlg,    
       
    92 //#define qtn_bt_is_off "Bluetooth is currently switched off. Switch on?"
       
    93 
       
    94     /**
       
    95     * A command for showing "Do you want to activate bluetooth in off-line mode?"
       
    96     */
       
    97     ECmdShowBtActivateInOfflineDlg,    
       
    98 //#define qtn_bt_activate_in_offline "Do you want to activate bluetooth in off-line mode?"
       
    99 
       
   100     /**
       
   101     * A command for showing "Connected to %U"
       
   102     */
       
   103     ECmdShowBtConnectedNote,   
       
   104 //#define qtn_bt_conf_connected "Connected to %U"
       
   105 
       
   106     /**
       
   107     * A command for showing "Disconnected from %U"
       
   108     */
       
   109     ECmdShowBtDisconnectedNote,    
       
   110 //#define qtn_bt_conf_disconnected "Disconnected from %U"
       
   111 
       
   112     /**
       
   113     * A command for showing "Bluetooth connection to %U closed"
       
   114     */
       
   115     ECmdShowBtConnectionClosedNote,    
       
   116 //#define qtn_bt_conn_closed "Bluetooth connection to %U closed"
       
   117 
       
   118     /**
       
   119     * A command for showing "Audio routed to BT handsfree"
       
   120     */
       
   121     ECmdShowBtAudioAccessoryNote,    
       
   122 //#define qtn_bt_audio_accessory "Audio routed to BT handsfree"
       
   123 
       
   124     /**
       
   125     * A command for showing "Audio routed to handset"
       
   126     */
       
   127     ECmdShowBtAudioHandsetNote,    
       
   128 //#define qtn_bt_audio_handset "Audio routed to handset"
       
   129 
       
   130     /**
       
   131     * A command for showing "Cannot establish Bluetooth connection"
       
   132     */
       
   133     ECmdShowBtDeviceNotAvailableNote,    
       
   134 //#define qtn_bt_device_not_avail "Cannot establish Bluetooth connection"
       
   135 
       
   136     /**
       
   137     * A command for showing "Phone entering SIM access profile mode"
       
   138     */
       
   139     ECmdShowBtSapEnteringNote,   
       
   140 //#define qtn_bt_wait_sap_entering "Phone entering SIM access profile mode"
       
   141 
       
   142     /**
       
   143     * A command for showing "Phone in SIM access profile mode"
       
   144     */
       
   145     ECmdShowBtSapEnteringSucceededNote,   
       
   146 //#define qtn_bt_sap_entering_succeeded "Phone in SIM access profile mode"
       
   147 
       
   148     /**
       
   149     * A command for showing "Unable to enter SIM access profile mode"
       
   150     */
       
   151     ECmdShowBtSapEnteringFailedNote,   
       
   152 //#define qtn_bt_sap_entering_failed "Unable to enter SIM access profile mode"
       
   153 
       
   154     /**
       
   155     * A command for showing "No sim card in phone" 
       
   156     */
       
   157     ECmdShowBtSapNoSimNote,   
       
   158 //#define qtn_bt_sap_no sim ""No sim card in phone"
       
   159 
       
   160 
       
   161     /**
       
   162     * A command for showing "Phone is not detectable in searches made by other devices" 
       
   163     */
       
   164     ECmdShowBtHiddenFromOthersNote,   
       
   165 //#define qtn_bt_hidden_from_others "Phone is not detectable in searches made by other devices" 
       
   166 
       
   167     /**
       
   168 	* From .loc file: #define qtn_bt_is_off_java "The application you are using will not be fully functional while Bluetooth is off. \n\nDo you want to turn Bluetooth on?"
       
   169 	*/
       
   170 	ECmdShowBtBtIsOffJavaDlg,
       
   171 
       
   172     /**
       
   173 	* From .loc file: #define qtn_bt_is_hidden_java "Do you want to change your Bluetooth visibility setting value to 'Shown to all'? \n\nThe application you are using will not be fully functional while your Bluetooth visibility is set as 'Hidden'."
       
   174 	*/
       
   175 	ECmdShowBtIsNotVisibleDlg, 
       
   176 
       
   177     /**
       
   178 	* From .loc file: #define qtn_ir_not_supported  "Infrared not supported"
       
   179 	*/
       
   180 	ECmdShowIrNotSupportedNote,
       
   181 	
       
   182 	/**
       
   183 	* From .loc file: #define qtn_bt_accessory_low  "%U battery level low"
       
   184 	*/
       
   185 	ECmdShowBtBatteryLowNote,
       
   186 		
       
   187 	/**
       
   188 	* From .loc file: #define qtn_bt_accessory_critical  "%U battery level critical"
       
   189 	*/
       
   190 	ECmdShowBtBatteryCriticalNote
       
   191     };
       
   192 
       
   193  
       
   194 
       
   195 #endif      // BTNOTIF_SECONDARY_DISPLAY_API_H            
       
   196 // End of File