|
1 /* |
|
2 * Copyright (c) 2006-2008 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: Handles SDP direction attribute related issues. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef SVPHOLDATTRIBUTEHANDLER_H |
|
20 #define SVPHOLDATTRIBUTEHANDLER_H |
|
21 |
|
22 #include <e32base.h> |
|
23 |
|
24 |
|
25 /** |
|
26 * Handles SDP direction attribute related issues. |
|
27 * @lib svp.dll |
|
28 * @since Series 60 3.2 |
|
29 */ |
|
30 class CSVPHoldAttributeHandler : public CBase |
|
31 { |
|
32 public: // Constructors and destructor |
|
33 |
|
34 /** |
|
35 * Two-phased constructor. |
|
36 */ |
|
37 static CSVPHoldAttributeHandler* NewL(); |
|
38 |
|
39 /** |
|
40 * Destructor. |
|
41 */ |
|
42 virtual ~CSVPHoldAttributeHandler(); |
|
43 |
|
44 public: // New functions |
|
45 |
|
46 /** |
|
47 * Returns index of direction attribute. |
|
48 * @since Series 60 3.2 |
|
49 * @param aAttributeLines Array of attribute lines. Ownership not transferred. |
|
50 * @return Index to KSVPHoldDirectionAttributeMap. |
|
51 */ |
|
52 TInt FindDirectionAttribute( MDesC8Array* aAttributeLines ); |
|
53 |
|
54 private: |
|
55 |
|
56 /** |
|
57 * C++ default constructor. |
|
58 */ |
|
59 CSVPHoldAttributeHandler(); |
|
60 |
|
61 /** |
|
62 * By default Symbian 2nd phase constructor is private. |
|
63 */ |
|
64 void ConstructL(); |
|
65 |
|
66 private: // data |
|
67 |
|
68 // Direction attribute array |
|
69 CDesC8Array* iAttributeArray; |
|
70 |
|
71 }; |
|
72 |
|
73 #endif // SVPHOLDATTRIBUTEHANDLER_H |
|
74 |