equal
deleted
inserted
replaced
17 @file |
17 @file |
18 */ |
18 */ |
19 |
19 |
20 #include "logcheck.h" |
20 #include "logcheck.h" |
21 |
21 |
22 CSmsLogChecker* CSmsLogChecker::NewL(RFs& aFs, CSmsPrtTestStep* aTest, TInt aPriority) |
22 CSmsLogChecker* CSmsLogChecker::NewL(RFs& aFs, CSmsBaseTestStep* aTest, TInt aPriority) |
23 { |
23 { |
24 CSmsLogChecker* self = new (ELeave) CSmsLogChecker(aFs, aTest, aPriority); |
24 CSmsLogChecker* self = new (ELeave) CSmsLogChecker(aFs, aTest, aPriority); |
25 CleanupStack::PushL(self); |
25 CleanupStack::PushL(self); |
26 |
26 |
27 self->ConstructL(); |
27 self->ConstructL(); |
40 iFilter->SetEventType(KLogShortMessageEventTypeUid); |
40 iFilter->SetEventType(KLogShortMessageEventTypeUid); |
41 iClient->GetString(iDirection, R_LOG_DIR_IN); |
41 iClient->GetString(iDirection, R_LOG_DIR_IN); |
42 iFilter->SetDirection(iDirection); |
42 iFilter->SetDirection(iDirection); |
43 } |
43 } |
44 |
44 |
45 CSmsLogChecker::CSmsLogChecker(RFs& aFs, CSmsPrtTestStep* aTest, TInt aPriority) |
45 CSmsLogChecker::CSmsLogChecker(RFs& aFs, CSmsBaseTestStep* aTest, TInt aPriority) |
46 :CActive(aPriority), iFs(aFs), iTest(aTest) |
46 :CActive(aPriority), iFs(aFs), iTest(aTest) |
47 { |
47 { |
48 CActiveScheduler::Add(this); |
48 CActiveScheduler::Add(this); |
49 } |
49 } |
50 |
50 |