author | John Imhofe <john.imhofe@nokia.com> |
Mon, 21 Dec 2009 16:14:42 +0000 | |
changeset 15 | 4122176ea935 |
parent 0 | a41df078684a |
permissions | -rw-r--r-- |
0 | 1 |
/* |
15
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
2 |
* Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
0 | 3 |
* All rights reserved. |
4 |
* This component and the accompanying materials are made available |
|
15
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
5 |
* under the terms of "Eclipse Public License v1.0" |
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 |
* |
|
15
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
14 |
* Description: |
0 | 15 |
* |
16 |
*/ |
|
17 |
||
18 |
||
19 |
||
20 |
||
15
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
21 |
|
0 | 22 |
#ifndef __BASE_STEP_INL__ |
23 |
#define __BASE_STEP_INL__ |
|
24 |
||
25 |
TInt CT_F32BaseStep::ThreadFunction(TAny* aPtr) |
|
26 |
{ |
|
27 |
CT_F32BaseStep* mythread=static_cast<CT_F32BaseStep*>(aPtr); |
|
28 |
CTrapCleanup* cleanup=CTrapCleanup::New(); |
|
29 |
RFs session; |
|
30 |
||
31 |
TRAPD(result, mythread->ThreadPreFuncL(session)); |
|
32 |
if(result==KErrNone ) |
|
33 |
{ |
|
34 |
TRAPD(result, mythread->ThreadFuncL(session)); |
|
35 |
mythread->ThreadPostFuncL(session); |
|
36 |
} |
|
37 |
||
38 |
delete cleanup; |
|
39 |
cleanup=NULL; |
|
40 |
return result; |
|
41 |
} |
|
42 |
||
43 |
||
44 |
||
45 |
#endif /* __BASE_STEP_INL__ */ |
|
46 |
||
47 |