author | Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com> |
Tue, 11 May 2010 17:01:36 +0300 | |
branch | RCL_3 |
changeset 58 | ea43c23d28d2 |
parent 33 | 50974a8b132e |
permissions | -rw-r--r-- |
19 | 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 the License "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 |
#include <e32svr.h> |
|
19 |
#include <e32std.h> |
|
20 |
#include <StifParser.h> |
|
33
50974a8b132e
Revision: 200945
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
21 |
#include <StifTestInterface.h> |
19 | 22 |
#include <logcli.h> |
23 |
#include <logwrap.h> |
|
24 |
||
25 |
#include "loggingasyncservice.h" |
|
26 |
#include "loggingservice.h" |
|
27 |
#include "loggingfilter.h" |
|
28 |
||
29 |
#include "tlogging.h" |
|
30 |
#include "tlogcallback.h" |
|
31 |
#include "loggingevent.h" |
|
32 |
||
33 |
||
34 |
//------------------------------------------------------------------ |
|
35 |
//getRecentList , test with empty filter |
|
36 |
//------------------------------------------------------------------ |
|
37 |
||
38 |
TInt getRecentList4(void) |
|
39 |
{ |
|
40 |
CLoggingService *LogService = CLoggingService :: NewL() ; |
|
41 |
CLogsFilter *filter = CLogsFilter :: NewL() ; |
|
42 |
MLogCallback MyCb ; |
|
43 |
||
44 |
//TBool ret = LogService->ReadRecentEventsL(2, &MyCb , KLogNullRecentList , filter) ; |
|
45 |
||
46 |
||
47 |
TInt ret = 0 ; |
|
48 |
if(ret != KErrNone) |
|
49 |
{ |
|
50 |
delete LogService ; |
|
51 |
delete filter ; |
|
52 |
return ret ; |
|
53 |
} |
|
54 |
||
55 |
MyCb.Start() ; |
|
56 |
||
57 |
return ret ; |
|
58 |
} |
|
59 |