equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2010 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 |
|
20 |
|
21 #ifndef CREATORLOGELEMENT_H_ |
|
22 #define CREATORLOGELEMENT_H_ |
|
23 |
|
24 #include "creator_scriptelement.h" |
|
25 |
|
26 namespace creatorlog |
|
27 { |
|
28 _LIT(KLog, "log"); |
|
29 _LIT(KDirection, "direction"); |
|
30 _LIT(KDuration, "duration"); |
|
31 _LIT(KPhonenumber, "phonenumber"); |
|
32 _LIT(KDatetime, "datetime"); |
|
33 _LIT(KMissed, "missed"); |
|
34 _LIT(KIn, "in"); |
|
35 _LIT(KOut, "out"); |
|
36 } |
|
37 |
|
38 class CCreatorLogElement : public CCreatorScriptElement |
|
39 { |
|
40 public: |
|
41 static CCreatorLogElement* NewL(CCreatorEngine* aEngine, const TDesC& aName, const TDesC& aContext = KNullDesC); |
|
42 void ExecuteCommandL(); |
|
43 |
|
44 protected: |
|
45 CCreatorLogElement(CCreatorEngine* aEngine); |
|
46 TInt GetLogCommandL( const TDesC& aFileIdStr, TBool aRandom ) const; |
|
47 }; |
|
48 |
|
49 #endif /*CREATORLOGELEMENT_H_*/ |