|
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 /** |
|
19 @file |
|
20 @internalComponent |
|
21 */ |
|
22 |
|
23 #ifndef MSMM_INTERNAL_DEF_H |
|
24 #define MSMM_INTERNAL_DEF_H |
|
25 |
|
26 #include "msmm_pub_def.h" |
|
27 #include "msmmnodebase.h" |
|
28 |
|
29 // MSMM server internal device event type |
|
30 enum TDeviceEventType |
|
31 { |
|
32 EDeviceEventAddFunction = 1, |
|
33 EDeviceEventRemoveDevice = 2, |
|
34 EDeviceEventEndMark |
|
35 }; |
|
36 |
|
37 // MSMM server internal device event |
|
38 NONSHARABLE_CLASS(TDeviceEvent) |
|
39 { |
|
40 public: |
|
41 TDeviceEvent(TDeviceEventType aEvent = EDeviceEventEndMark, |
|
42 TUint aDeviceId = 0, TUint8 aInterfaceNumber = 0, |
|
43 TUint32 aInterfaceToken = 0): |
|
44 iEvent(aEvent), |
|
45 iDeviceId(aDeviceId), |
|
46 iInterfaceNumber(aInterfaceNumber), |
|
47 iInterfaceToken(aInterfaceToken) |
|
48 { |
|
49 } |
|
50 |
|
51 public: |
|
52 TDeviceEventType iEvent; // Event type |
|
53 TUint iDeviceId; // Related device identifier |
|
54 TUint8 iInterfaceNumber; // Related interface number |
|
55 TUint32 iInterfaceToken; // Related interface token |
|
56 }; |
|
57 |
|
58 |
|
59 // Information needed by file system extension |
|
60 // They may changed before the final release available from base team |
|
61 // frequently. |
|
62 |
|
63 // FAT file system name |
|
64 _LIT(KFATFSNAME, "FAT"); |
|
65 |
|
66 // ELocal file system name |
|
67 _LIT(KELOCALFSNAME, "ELOCAL"); |
|
68 |
|
69 // Proxy drive name |
|
70 _LIT(KPROXYDRIVENAME, "usbhostms"); |
|
71 |
|
72 // File system extention name |
|
73 _LIT(KFSEXTNAME, "usbhostms.pxy"); |
|
74 |
|
75 |
|
76 #endif /*MSMM_INTERNAL_DEF_H*/ |