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 |
|
19 #ifndef _TRKDEBUGSTATELISTENER_H_ |
|
20 #define _TRKDEBUGSTATELISTENER_H_ |
|
21 |
|
22 // INCLUDES |
|
23 #include <e32std.h> |
|
24 #include "trksrvclisession.h" |
|
25 #include "trkservereventlistener.h" |
|
26 |
|
27 |
|
28 // DATA TYPES |
|
29 |
|
30 // FORWARD DECLARATIONS |
|
31 |
|
32 // CLASS DECLARATION |
|
33 |
|
34 class CTrkDebugStateListener: public CTrkServerEventListener |
|
35 { |
|
36 public: |
|
37 |
|
38 CTrkDebugStateListener(RTrkSrvCliSession& aTrkSrvSession, MTrkServerEventCallback *aTrkServerEventCallback); |
|
39 ~CTrkDebugStateListener(); |
|
40 |
|
41 // From CTrkCommPortListener |
|
42 void ListenL(); |
|
43 void StopListening(); |
|
44 |
|
45 TBool IsDebugging(); |
|
46 |
|
47 protected: |
|
48 // From CActive |
|
49 void DoCancel(); |
|
50 void RunL(); |
|
51 |
|
52 private: |
|
53 |
|
54 void IssueRequestL(); |
|
55 |
|
56 private: |
|
57 TBool iDebugging; |
|
58 TDebugState iDebugState; |
|
59 }; |
|
60 |
|
61 |
|
62 #endif // _TRKDEBUGSTATELISTENER_H_ |
|
63 |
|
64 |
|
65 // End of File |