usbengines/usbwatcher/inc/usbwatchershared.h
changeset 35 9d8b04ca6939
parent 0 1e05558e2206
equal deleted inserted replaced
34:7858bc6ead78 35:9d8b04ca6939
       
     1 /*
       
     2 * Copyright (c) 2006-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:  Shared definitions between client and server
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef USBWATCHERSHARED_H
       
    20 #define USBWATCHERSHARED_H
       
    21 
       
    22 #include <e32std.h>
       
    23 
       
    24 const TInt KUsbWatcherSrvMajorVersionNumber = 1;
       
    25 const TInt KUsbWatcherSrvMinorVersionNumber = 0;
       
    26 const TInt KUsbWatcherSrvBuildVersionNumber = 0;
       
    27 
       
    28 _LIT(KUsbWatcherServerName, "!usbwatcher");
       
    29 
       
    30 const TInt KUsbWatcherMaxSupportedPersonalities = 64;
       
    31 
       
    32 enum TUsbWatcherMessages
       
    33     {
       
    34     EUsbWatcherSetPersonality,
       
    35     EUsbWatcherCancelSetPersonality,
       
    36     EUsbWatcherSetPreviousPersonality,
       
    37     EUsbWatcherSetPreviousPersonalitySync,
       
    38     EUsbWatcherCancelSetPreviousPersonality,
       
    39     EUsbWatcherSetPreviousPersonalityOnDisconnect
       
    40     };
       
    41 
       
    42 _LIT(KUsbWatcherCliPncCat, "UsbWatcher-Client");
       
    43 
       
    44 enum TUsbWatcherPanicClient
       
    45     {
       
    46     EUsbWatcherCreateFailure,
       
    47     EUsbWatcherPanicIllegalIPC,
       
    48     EUsbWatcherPanicRemovedExport
       
    49     };
       
    50 
       
    51 #endif //USBWATCHERSHARED_H
       
    52 
       
    53 // End of file