Merge "Add the logic to support the virtual root" into tizen_2.2
[platform/framework/native/appfw.git] / src / app / inc / FApp_IAppResourceBitmap.h
1 //
2 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
3 //
4 // Licensed under the Apache License, Version 2.0 (the License);
5 // you may not use this file except in compliance with the License.
6 // You may obtain a copy of the License at
7 //
8 //     http://www.apache.org/licenses/LICENSE-2.0
9 //
10 // Unless required by applicable law or agreed to in writing, software
11 // distributed under the License is distributed on an "AS IS" BASIS,
12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 // See the License for the specific language governing permissions and
14 // limitations under the License.
15 //
16
17 /**
18  * @file        FApp_IAppResourceBitmap.h
19  * @brief       This is the header file of the _IAppResourceBitmap class.
20  */
21
22 #ifndef _FAPP_INTERNAL_IAPP_RESOURCE_BITMAP_H_
23 #define _FAPP_INTERNAL_IAPP_RESOURCE_BITMAP_H_
24
25 #include <FGrpBitmapCommon.h>
26
27 namespace Tizen { namespace Graphics { class Bitmap; } }
28
29 namespace Tizen { namespace Base
30 {
31 class String;
32 }}//Tizen::Base
33
34 namespace Tizen { namespace App
35 {
36
37 class _IAppResourceBitmap
38 {
39 public:
40         /**
41         * This is the destructor for this class.
42         */
43         virtual ~_IAppResourceBitmap(void) {};
44
45         virtual Tizen::Graphics::Bitmap* GetBitmapN(const Tizen::Base::String& imagePath, Tizen::Graphics::BitmapPixelFormat pixelFormat, bool lazyDecoding = true) const = 0;
46 }; // _IAppResourceBitmap
47
48 }} // Tizen::App
49
50 #endif // _FAPP_INTERNAL_IAPP_RESOURCE_BITMAP_H_