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: |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef CONSOLEDWOPERATION_H |
|
19 #define CONSOLEDWOPERATION_H |
|
20 |
|
21 // Engine includes |
|
22 #include <memspy/engine/memspydevicewideoperations.h> |
|
23 |
|
24 // Classes referenced |
|
25 class CMemSpyEngine; |
|
26 |
|
27 |
|
28 class CMemSpyDeviceWideOperationWaiter : public CBase, public MMemSpyDeviceWideOperationsObserver |
|
29 { |
|
30 public: |
|
31 static void ExecuteLD( CMemSpyEngine& aEngine, CMemSpyDeviceWideOperations::TOperation aOperation ); |
|
32 ~CMemSpyDeviceWideOperationWaiter(); |
|
33 |
|
34 private: |
|
35 CMemSpyDeviceWideOperationWaiter( CMemSpyEngine& aEngine ); |
|
36 void ExecuteL( CMemSpyDeviceWideOperations::TOperation aOperation ); |
|
37 |
|
38 private: // From MMemSpyDeviceWideOperationsObserver |
|
39 void HandleDeviceWideOperationEvent( TEvent aEvent, TInt aParam1, const TDesC& aParam2 ); |
|
40 |
|
41 private: // Internal |
|
42 void StopWait(); |
|
43 |
|
44 private: // Member data |
|
45 CMemSpyEngine& iEngine; |
|
46 CActiveSchedulerWait* iWaiter; |
|
47 CMemSpyDeviceWideOperations* iOperation; |
|
48 }; |
|
49 |
|
50 |
|
51 #endif |