usbservices_plat/usb_secondary_display_api/inc/usbuinotifsecondarydisplay.h
changeset 35 9d8b04ca6939
parent 0 1e05558e2206
equal deleted inserted replaced
34:7858bc6ead78 35:9d8b04ca6939
       
     1 /*
       
     2 * Copyright (c) 2005-2007 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:  Contains dialog index for cover UI.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef USBUINOTIFSECONDARYDISPLAY_H
       
    20 #define USBUINOTIFSECONDARYDISPLAY_H
       
    21 
       
    22 // Category
       
    23 const TUid KUSBUINotifCategory = { 0x102068DC };
       
    24 
       
    25 /**
       
    26 * Enumerates types.
       
    27 * Do not use value 0 as a dialog ID, since it is reserved for special cases 
       
    28 * in AknGlobalUI. Note that the notes start from 1, queries from 0x100, and
       
    29 * list queries from 0x200. 
       
    30 */
       
    31 enum TUSBUINotifDialogIndex
       
    32     {
       
    33     /**
       
    34      * Not a valid dialog ID.
       
    35      * This value is not associated with any dialog to be shown. 
       
    36      */
       
    37     EUSBCoverInvalidDialogId = -1,
       
    38     
       
    39     // ===== notes =====
       
    40     
       
    41     /**
       
    42      * Connected in %U mode. 
       
    43      * %U is for example "PC Suite" or "Mass storage".
       
    44      */
       
    45     EUSBCoverConnectionNote = 0x1,
       
    46     
       
    47     // ===== queries =====
       
    48 
       
    49 #ifndef RD_MULTIPLE_DRIVE    
       
    50     /** Memory card needs to be unlocked: OK */
       
    51     EUSBCoverMemoryCardUnlocked = 0x100, 
       
    52 #endif //RD_MULTIPLE_DRIVE
       
    53 
       
    54     /** Storage media not accessible: OK */
       
    55     EUSBCoverStorageMediaFailure = 0x101, 
       
    56     
       
    57 #ifndef RD_MULTIPLE_DRIVE    
       
    58     /** 
       
    59      * Data loss may have occurred. In future, stop file transfers 
       
    60      * before removing the cable: OK
       
    61      */
       
    62     EUSBCoverPossibleDataLossCable = 0x102,
       
    63     
       
    64     /** In future, stop file transfers before removing the memory card: OK */
       
    65     EUSBCoverPossibleDataLossMMC = 0x103,
       
    66 #endif //RD_MULTIPLE_DRIVE
       
    67     
       
    68     /** Data loss might occur. Change mode anyway? OK, Cancel */
       
    69     EUSBCoverChangeFromMassStorage = 0x104,
       
    70 
       
    71     EUSBCoverNoMemoryCard = 0x105,
       
    72                
       
    73     // ===== list queries =====
       
    74     
       
    75     /** USB mode: <list> */
       
    76     EUSBCoverCableConnected = 0x200
       
    77     };
       
    78     
       
    79 #endif      // USBUINOTIFSECONDARYDISPLAY_H
       
    80 
       
    81 // End of File