equal
deleted
inserted
replaced
1 /* |
|
2 * Copyright (c) 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: DriveChangedEventGenerator - Linux specific |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef DRIVECHANGEDEVENTGENERATOR_H |
|
19 #define DRIVECHANGEDEVENTGENERATOR_H |
|
20 |
|
21 #include "driveutilities.h" |
|
22 |
|
23 namespace java |
|
24 { |
|
25 namespace fileutils |
|
26 { |
|
27 |
|
28 class DriveChangedEventGenerator : public DriveListenerInterface |
|
29 { |
|
30 public: |
|
31 DriveChangedEventGenerator(DriveListenerInterface* aEventDispatcher); |
|
32 virtual ~DriveChangedEventGenerator(); |
|
33 |
|
34 virtual void startEvents(); |
|
35 virtual void stopEvents(); |
|
36 |
|
37 // DriveListenerInterface |
|
38 virtual void driveChanged(const int& aOperation, const driveInfo& aDriveInfo); |
|
39 |
|
40 private: |
|
41 DriveListenerInterface* iEventDispatcher; |
|
42 }; |
|
43 |
|
44 } // namespace fileutils |
|
45 } // namespace java |
|
46 |
|
47 #endif // DRIVECHANGEDEVENTGENERATOR_H |
|