equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2008 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: MmcEventProvider |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef MMCEVENTPROVIDER_H |
|
19 #define MMCEVENTPROVIDER_H |
|
20 |
|
21 #include "javaosheaders.h" |
|
22 #include "driveutilities.h" |
|
23 |
|
24 #include "extensionplugininterface.h" |
|
25 |
|
26 namespace java |
|
27 { |
|
28 namespace captain |
|
29 { |
|
30 |
|
31 using namespace java::fileutils; |
|
32 |
|
33 class CoreInterface; |
|
34 class EventConsumerInterface; |
|
35 |
|
36 OS_NONSHARABLE_CLASS(MmcEventProvider) : public ExtensionPluginInterface, |
|
37 public DriveListenerInterface |
|
38 { |
|
39 public: |
|
40 MmcEventProvider(); |
|
41 virtual ~MmcEventProvider(); |
|
42 |
|
43 virtual void startPlugin(CoreInterface* aCore); |
|
44 virtual void stopPlugin(); |
|
45 |
|
46 // DriveListenerInterface |
|
47 virtual void driveChanged(const int& aOperation, const driveInfo& aDriveInfo); |
|
48 |
|
49 private: |
|
50 CoreInterface* mCore; |
|
51 DriveObserverServerInterface* mDOServer; |
|
52 }; |
|
53 |
|
54 } // namespace captain |
|
55 } // namespace java |
|
56 |
|
57 #endif // MMCEVENTPROVIDER_H |