|
1 /* |
|
2 * Copyright (c) 2002-2006 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 MDmAdDdfApi. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef __DMADDDFAPI_H__ |
|
21 #define __DMADDDFAPI_H__ |
|
22 |
|
23 #include <smldmadapter.h> |
|
24 |
|
25 //------------------------------------------------------------------------------------------------ |
|
26 // MDmAdDdfApi |
|
27 //------------------------------------------------------------------------------------------------ |
|
28 class MDmAdDdfApi |
|
29 { |
|
30 public: |
|
31 virtual void NotRtNodeAddNodeObjectL(const TDesC8& aUri, const TDesC8& aParentLuid, TInt aStatusRef) = 0; |
|
32 virtual void NotRtNodeUpdateLeafObjectL(const TDesC8& aUri, const TDesC8& aLuid, const TDesC8& aObject, const TDesC8& aType, TInt aStatusRef) = 0; |
|
33 virtual TInt NotRtNodeFetchLeafObjectLC(const TDesC8& aUri, const TDesC8& /*aLuid*/, const TDesC8& /*aType*/, CBufBase*& aObject) = 0; |
|
34 virtual void NotRtNodeDeleteObjectL(const TDesC8& aUri, const TDesC8& aLuid, TInt aStatusRef) = 0; |
|
35 |
|
36 virtual TBool IsNodeRtNodeL(const TDesC8& aUri) = 0; |
|
37 virtual TBool IsLeafUnderRtNodeL(const TDesC8& aUri) = 0; |
|
38 virtual TPtrC8 RtNodeUriForLeafL(const TDesC8& aLeafUri) = 0; |
|
39 virtual TBool IsTopLevelRtNode(const TDesC8& aUri) = 0; |
|
40 virtual HBufC8* ParentRtNodeUriForRtNodeLC(const TDesC8& aUri) = 0; |
|
41 virtual void BuildChildUriListLC(const TDesC8& aUri, const TDesC8& aParentLuid, const CArrayFix<TSmlDmMappingInfo>& aPreviousUriSegmentList, CBufBase*& aCurrentList) = 0; |
|
42 }; |
|
43 #endif |