bluetoothengine/btui/inc/btui.h
branchRCL_3
changeset 56 9386f31cc85b
parent 0 f63038272f30
equal deleted inserted replaced
55:613943a21004 56:9386f31cc85b
       
     1 /*
       
     2 * Copyright (c) 2002-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:  This header file contains global declarations and methods 
       
    15 *                  which are visible to all BTUI classes.
       
    16 *
       
    17 */
       
    18 
       
    19 #ifndef BTUI_H
       
    20 #define BTUI_H
       
    21 
       
    22 #include <e32svr.h>     // For RDebug and Panic
       
    23 #include <data_caging_path_literals.hrh> 
       
    24 
       
    25 const TUid KBtuiUid3 = { 0x10005951 }; //Application UID for help context
       
    26 
       
    27 //Ecom implementation UID of GS interface plugin
       
    28 const TUid KGsBtuiPluginUid = { 0x1020742B };   
       
    29 
       
    30 //Ecom implementation UID of BTUI interface plugin
       
    31 const TUid KBtuiPluginUidMainView = { 0x1020745C };   			// Ecom interface implementation UID
       
    32 const TUid KBtuiPluginUidPairedDevicesView = { 0x1020745D };   	// Ecom interface implementation UID
       
    33 const TUid KBtuiPluginUidBlockedDevicesView = {0x20002780 };	// Ecom interface implementation UID
       
    34 
       
    35 
       
    36 _LIT( KBTUIAppName, "BTUI" );           // The application name
       
    37 
       
    38 // Literals for bitmap files ( drive, directory, filename(s) )
       
    39 _LIT(KBitmapFileDrive,"z:");
       
    40 // KDC_APP_BITMAP_DIR == from data_caging_path_literals.hrh
       
    41 
       
    42 
       
    43 _LIT( KGSBtuiPluginResourceFileName, "z:BtuiViewResources.rsc" );
       
    44 
       
    45 _LIT(KBtuiBmpFileName,"btui.mbm");
       
    46 
       
    47 _LIT(KFileDrive,"z:");
       
    48 _LIT(KResourceFileName, "BtuiViewResources.rsc");
       
    49 
       
    50 
       
    51 enum TBTPanics {    
       
    52     EBTMainListNotEmpty = 10000,
       
    53     EBTAllFormatStingsArrayNotEmpty,
       
    54     EBTFormatStingsArrayNotEmpty,
       
    55     EBTPairedDevicesListNotEmpty,
       
    56     EBTPanicClassMemberVariableNotNull,
       
    57     EBTPanicClassMemberVariableIsNull,    
       
    58     EBTPanicIllegalValue,
       
    59     EBTPanicDevManQueueIsCorrupt,
       
    60     EBTPanicDevManQueueIsInIllegalState,
       
    61 	EBTPanicTwoPairingAttemptsAtTheSameTime,
       
    62 	EBTPanicCommandComplettedToDiffrentDeviceThanStarted,
       
    63 	EBTPanicNullObserver
       
    64 };
       
    65 
       
    66 // MACROS
       
    67 //#define PANIC(aPanic) User::Panic(KBTUIAppName,aPanic)
       
    68 
       
    69 #endif // BTUI_H