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