equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2002 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: Class definition of CDmAdCommand. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef __DMADCOMMAND_H__ |
|
20 #define __DMADCOMMAND_H__ |
|
21 |
|
22 #include <e32base.h> |
|
23 |
|
24 //------------------------------------------------------------------------------------------------ |
|
25 // CDmAdCommand |
|
26 //------------------------------------------------------------------------------------------------ |
|
27 class CDmAdCommand : public CBase |
|
28 { |
|
29 public: |
|
30 static CDmAdCommand* NewL(const TDesC8& aUri, const TInt aStatusRef, TBool aLeaf); |
|
31 static CDmAdCommand* NewLC(const TDesC8& aUri, const TInt aStatusRef, TBool aLeaf); |
|
32 ~CDmAdCommand(); |
|
33 static void CleanupOperationDeleteCArrayPtr(TAny* aPtr); |
|
34 |
|
35 inline TInt StatusRef(void) const; |
|
36 inline TInt Status(void) const; |
|
37 inline TBool IsLeaf(void) const; |
|
38 |
|
39 private: |
|
40 void ConstructL(const TDesC8& aUri); |
|
41 CDmAdCommand(const TInt aStatusRef, TBool aLeaf); |
|
42 |
|
43 private: |
|
44 CDmAdCommand(); |
|
45 void ConstructL(void); |
|
46 |
|
47 private: |
|
48 TInt iStatusRef; |
|
49 TInt iStatus; |
|
50 TBool iLeaf; |
|
51 }; |
|
52 |
|
53 #include "dmadcommand.inl" |
|
54 |
|
55 #endif |