equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2008-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 @file |
|
20 @internalComponent |
|
21 */ |
|
22 |
|
23 #ifndef CLOCKTHREADNOTIFIER_H_ |
|
24 #define CLOCKTHREADNOTIFIER_H_ |
|
25 |
|
26 #include "clocksupervisor.h" |
|
27 #include "omxilprocessingfunction.h" |
|
28 |
|
29 //Clock thread observer class |
|
30 |
|
31 class CClockThreadNotifier : public CActive |
|
32 { |
|
33 public: |
|
34 static CClockThreadNotifier* NewL(CClockSupervisor* aClockSupervisor); |
|
35 |
|
36 ~CClockThreadNotifier(); |
|
37 |
|
38 void ConstructL(); |
|
39 void IssueRequest(); |
|
40 |
|
41 protected: |
|
42 CClockThreadNotifier(CClockSupervisor* aClockSupervisor ); |
|
43 |
|
44 //from CActive |
|
45 |
|
46 protected: |
|
47 void RunL(); |
|
48 void DoCancel(); |
|
49 TInt RunError(TInt aError); |
|
50 |
|
51 //data members |
|
52 private: |
|
53 CClockSupervisor* iClockSupervisor; |
|
54 |
|
55 }; |
|
56 |
|
57 |
|
58 |
|
59 #endif /* CLOCKTHREADNOTIFIER_H_ */ |