equal
deleted
inserted
replaced
1 #ifndef LIW_BUFFEREXTENSION_H |
|
2 #define LIW_BUFFEREXTENSION_H/* |
|
3 * Copyright (c) 2003-2005 Nokia Corporation and/or its subsidiary(-ies). |
|
4 * All rights reserved. |
|
5 * This component and the accompanying materials are made available |
|
6 * under the terms of the License "Eclipse Public License v1.0" |
|
7 * which accompanies this distribution, and is available |
|
8 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
9 * |
|
10 * Initial Contributors: |
|
11 * Nokia Corporation - initial contribution. |
|
12 * |
|
13 * Contributors: |
|
14 * |
|
15 * Description: Abstract bitmap buffer representation. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 #include <fbs.h> |
|
26 |
|
27 #include "liwvariant.h" |
|
28 class CFbsBitmap; |
|
29 |
|
30 class CLiwBitmapBuffer : public CLiwBuffer |
|
31 { |
|
32 public: |
|
33 /* |
|
34 * The concrete implementation of buffer types should perform equality operation |
|
35 * check. This is a platform specifc extension class to support bitmap |
|
36 * buffer to abstract CFbsBitmap type. |
|
37 |
|
38 * |
|
39 * @return platform specific bitmap representation. By default, this method |
|
40 * returns NULL |
|
41 */ |
|
42 virtual CFbsBitmap* AsBitmap() |
|
43 { |
|
44 return NULL; // return NULL by default |
|
45 } |
|
46 }; |
|
47 |
|
48 /** |
|
49 * Abstract file buffer representation. |
|
50 * |
|
51 **/ |
|
52 class CLiwFileBuffer : public CLiwBuffer |
|
53 { |
|
54 public: |
|
55 virtual RFile& AsFile() = 0; |
|
56 }; |
|
57 |
|
58 #endif |
|