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: This is base interface for all controls. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // INCLUDE FILES |
|
20 #include "cmmacontrol.h" |
|
21 |
|
22 const TDesC* CMMAControl::ClassNameJni(CMMAControl* aControl) |
|
23 { |
|
24 return &aControl->ClassName(); |
|
25 } |
|
26 |
|
27 void CMMAControl::StaticSetHandle(CMMAControl* aControl, |
|
28 jobject aControlObject) |
|
29 { |
|
30 aControl->SetHandle(aControlObject); |
|
31 } |
|
32 |
|
33 EXPORT_C const TDesC& CMMAControl::PublicClassName() const |
|
34 { |
|
35 return ClassName(); |
|
36 } |
|
37 |
|
38 inline void CMMAControl::SetHandle(jobject aControlObject) |
|
39 { |
|
40 iControlObject = aControlObject; |
|
41 } |
|
42 |
|
43 |
|
44 // END OF FILE |