usbmgmt/usbmgrtest/usbcontrolapp/shared/usbcontrolappshared.h
changeset 0 c9bc50fca66e
equal deleted inserted replaced
-1:000000000000 0:c9bc50fca66e
       
     1 /*
       
     2 * Copyright (c) 2008-2009 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:
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef USBCONTROLAPPSHARED_H
       
    19 #define USBCONTROLAPPSHARED_H
       
    20 
       
    21 // P&S Shutdown property
       
    22 static const TInt32 KUidUsbControlAppCategoryValue=0x10285EE9;
       
    23 static const TUid	KUidUsbControlAppCategory={KUidUsbControlAppCategoryValue};
       
    24 static const TUint	KUsbControlAppShutdownKey=0x10285EE6;
       
    25 
       
    26 // Standard H4 TextShell screen size
       
    27 const TInt KScreenWidth = 40;
       
    28 const TInt KScreenDepth = 24;
       
    29 
       
    30 // Message Queue between Control App and Viewer
       
    31 _LIT(KControlAppViewerMsgQName, "ControlAppViewerMsgQ");
       
    32 const TInt KControlAppViewerMsgQSlots	= 5;
       
    33 const TInt KViewerNumCharactersOnLine	= 32;
       
    34 const TInt KEventLineNumCharacters		= KViewerNumCharactersOnLine-1; // Chars that can go into an Event for display 
       
    35 _LIT(KPrefix, "!:"); // All user messages shown with prefix "!:"
       
    36 const TInt KEventLineMsgNumCharacters	= KEventLineNumCharacters - 2; // -2 for "!:" prefix
       
    37 
       
    38 #endif // USBCONTROLAPPSHARED_H