contentpublishingsrv/contentharvester/contentharvesterswiplugin/inc/chswimassmodeobserver.h
equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2007 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 CHSWIMASSMODEOBSERVER_H_ |
|
19 #define CHSWIMASSMODEOBSERVER_H_ |
|
20 |
|
21 |
|
22 /** |
|
23 * Mass storage mode observer. |
|
24 */ |
|
25 class MCHSwiMassModeObserver |
|
26 { |
|
27 public: |
|
28 /** |
|
29 * Sets Mass Storage Mode |
|
30 * @param aMode Mass Storage mode |
|
31 */ |
|
32 virtual void SetMassStorageMode( TBool aMode ) = 0; |
|
33 |
|
34 /** |
|
35 * Sets Mass Storage Mode |
|
36 * @returns Mass Storage mode |
|
37 */ |
|
38 virtual TBool IsMassStorageMode() = 0; |
|
39 |
|
40 /** |
|
41 * Handles ending of mass storage mode (e.g. unplugging usb cable when in mass storage mode) |
|
42 */ |
|
43 virtual void HandleMassStorageModeEndEvent() = 0; |
|
44 |
|
45 /* |
|
46 * Handles successful drive scan, which has been executed asynchronously after either: |
|
47 * - Explicitly postponed drive scan, or |
|
48 * - Error recovery from synchronous drive scan. |
|
49 */ |
|
50 virtual void HandleSuccessfulAsynchDriveScan() = 0; |
|
51 }; |
|
52 |
|
53 #endif /* CHSWIMASSMODEOBSERVER_H_ */ |