equal
deleted
inserted
replaced
|
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 MSMMINDICATORCLIENT_H |
|
24 #define MSMMINDICATORCLIENT_H |
|
25 |
|
26 #include <e32std.h> |
|
27 |
|
28 /** |
|
29 RHostMassStorage is the interface for Mass Storage Indicator UI to use the MSMM. |
|
30 */ |
|
31 NONSHARABLE_CLASS(RHostMassStorage) : public RSessionBase |
|
32 { |
|
33 public: |
|
34 // RHostMassStorage Implementation API to add a session to the running MSMM server |
|
35 IMPORT_C TInt Connect(); |
|
36 IMPORT_C TInt Disconnect(); |
|
37 IMPORT_C TVersion Version() const; |
|
38 |
|
39 /** Dismount USB drives from File System asynchronously. The function will return immediately to the UI with complete status |
|
40 The result of dismounting USB drives will be notified to the MSMM Plugin via CMsmmPolicyPluginBase |
|
41 @return Error code of IPC. |
|
42 */ |
|
43 IMPORT_C TInt EjectUsbDrives(); |
|
44 |
|
45 }; |
|
46 |
|
47 #endif // MSMMINDICATORCLIENT_H |
|
48 |
|
49 // End of file |