|
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: CJavaAttribute stub. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #include "javaattribute.h" |
|
20 |
|
21 using namespace Java; |
|
22 |
|
23 // ============================ MEMBER FUNCTIONS ============================== |
|
24 |
|
25 // --------------------------------------------------------------------------- |
|
26 // CJavaAttribute::NewL |
|
27 // Constructs a CJavaAttribute object. |
|
28 // --------------------------------------------------------------------------- |
|
29 EXPORT_C CJavaAttribute* CJavaAttribute:: |
|
30 NewL(const TDesC& /*aName*/, const TDesC& /*aValue*/, TBool /*aTrusted*/) |
|
31 { |
|
32 User::Leave(KErrNotSupported); |
|
33 return NULL; |
|
34 } |
|
35 |
|
36 // --------------------------------------------------------------------------- |
|
37 // CJavaAttribute::NewLC |
|
38 // Constructs a CJavaAttribute object. |
|
39 // --------------------------------------------------------------------------- |
|
40 EXPORT_C CJavaAttribute* CJavaAttribute:: |
|
41 NewLC(const TDesC& /*aName*/, const TDesC& /*aValue*/, TBool /*aTrusted*/) |
|
42 { |
|
43 User::Leave(KErrNotSupported); |
|
44 return NULL; |
|
45 } |
|
46 |
|
47 // --------------------------------------------------------------------------- |
|
48 // CJavaAttribute::~MJavaAttribute |
|
49 // --------------------------------------------------------------------------- |
|
50 EXPORT_C CJavaAttribute::~CJavaAttribute() |
|
51 { |
|
52 } |
|
53 |
|
54 // --------------------------------------------------------------------------- |
|
55 // CJavaAttribute::Name |
|
56 // Returns name of attribute |
|
57 // --------------------------------------------------------------------------- |
|
58 const TDesC& CJavaAttribute::Name() const |
|
59 { |
|
60 return KNullDesC; |
|
61 } |
|
62 |
|
63 // --------------------------------------------------------------------------- |
|
64 // CJavaAttribute::Value |
|
65 // Returns attribute's value |
|
66 // --------------------------------------------------------------------------- |
|
67 const TDesC& CJavaAttribute::Value() const |
|
68 { |
|
69 return KNullDesC; |
|
70 } |
|
71 |
|
72 // --------------------------------------------------------------------------- |
|
73 // CJavaAttribute::Trusted |
|
74 // Returns if attribute is trusted |
|
75 // --------------------------------------------------------------------------- |
|
76 TBool CJavaAttribute::Trusted() const |
|
77 { |
|
78 return false; |
|
79 } |
|
80 |
|
81 |
|
82 // End of File |