usbclasses/usbphoneasmodem/classimplementation/inc/usbmscfileshared.h
changeset 35 9d8b04ca6939
child 63 ef2686f7597e
equal deleted inserted replaced
34:7858bc6ead78 35:9d8b04ca6939
       
     1 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description: Shared client/server definitions
       
    14 // 
       
    15 // 
       
    16 
       
    17 #ifndef USBMSCFILESHARED_H
       
    18 #define USBMSCFILESHARED_H
       
    19 
       
    20 #include <e32std.h>
       
    21 
       
    22 const TInt KUsbMsSrvMajorVersionNumber = 1;
       
    23 const TInt KUsbMsSrvMinorVersionNumber = 0;
       
    24 const TInt KUsbMsSrvBuildVersionNumber = 0;
       
    25 
       
    26 const TInt KUsbMsResourceVersion = 0;
       
    27 _LIT(KMscFileServerName, "usbmscfileserver");
       
    28 _LIT(KMscFileServerFileName, "usbmscfileserver.exe");
       
    29 
       
    30 class TMassStorageConfig
       
    31     {
       
    32 public:
       
    33     TBuf<8> iVendorId;
       
    34     TBuf<16> iProductId;
       
    35     TBuf<4> iProductRev;
       
    36     };
       
    37 
       
    38 /** Types of requests USB mass storage class controller can make */
       
    39 enum TMscFileServerReq
       
    40     {
       
    41     EMscFileSetupLu, EMscFileStart, EMscFileStop, EMscFileShutdown,
       
    42     };
       
    43 
       
    44 #endif //USBMSCFILESHARED_H