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: Mixin class for NpdEdwinBase |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef NPDEDWINEXPOSER_H |
|
20 #define NPDEDWINEXPOSER_H |
|
21 #include <coemop.h> |
|
22 |
|
23 class CTextLayout; |
|
24 class CTextView; |
|
25 class CCoeEnv; |
|
26 |
|
27 |
|
28 //CLASS DECLARATION |
|
29 |
|
30 /* |
|
31 * Mixin Class for exposing protected/private |
|
32 * members of CNotepadEdwin and CNotepadRichTextEditor to CNotepadEdwinBase |
|
33 * @see also CNotepadEdwin,CNotepadRichTextEditor, CNotepadEdwinBase |
|
34 */ |
|
35 |
|
36 |
|
37 class MNotepadEdwinExposer |
|
38 { |
|
39 public: |
|
40 /* |
|
41 * Must be over-ridden by Edwin derivatives to expose iLayout |
|
42 */ |
|
43 virtual CTextLayout& GetLayout() = 0; |
|
44 |
|
45 /* |
|
46 * Must be over-ridden by Edwin derivatives to expose iTextView |
|
47 */ |
|
48 virtual CTextView& GetTextView() = 0; |
|
49 |
|
50 /* |
|
51 * Must be over-ridden by Edwin derivatives to expose SetCanDrawOutsideRect |
|
52 */ |
|
53 virtual void CallSetCanDrawOutsideRect() = 0; |
|
54 |
|
55 /* |
|
56 * Must be over-ridden by CCoeControl derivatives to expose iCoeEnv |
|
57 */ |
|
58 virtual CCoeEnv& GetCoeEnv() = 0; |
|
59 }; |
|
60 |
|
61 #endif |