equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2006 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 : Interface for observer to be notified when a drive |
|
15 * inserted/removed or a remote drive connected/disconnected. |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef M_MAKNMEMORYSELECTIONDRIVEOBSERVER_H |
|
20 #define M_MAKNMEMORYSELECTIONDRIVEOBSERVER_H |
|
21 |
|
22 /** |
|
23 * Observer class that can be set to observe if a drive has been |
|
24 * inserted/removed and remote drive has been connected/disconnected. |
|
25 * |
|
26 * @lib CommonDialogs.lib |
|
27 * @since S60 3.1 |
|
28 */ |
|
29 class MAknMemorySelectionDriveObserver |
|
30 { |
|
31 |
|
32 public: |
|
33 |
|
34 // Constructors and destructor |
|
35 |
|
36 /** |
|
37 * A virtual destructor to ensure that correct destructor gets called. |
|
38 * Must have an empty implementation. |
|
39 */ |
|
40 virtual ~MAknMemorySelectionDriveObserver() { }; |
|
41 |
|
42 // New functions |
|
43 |
|
44 /** |
|
45 * Get's called when user inserts/removes a drive |
|
46 * or connects/disconnects a remote drive. |
|
47 */ |
|
48 virtual void NotifyDrivesChangedL( |
|
49 const MDesCArray* aItemArray) = 0; |
|
50 |
|
51 }; |
|
52 |
|
53 |
|
54 #endif // M_MAKNMEMORYSELECTIONDRIVEOBSERVER_H |
|
55 |