2 * Copyright 2012 Samsung Electronics Co., Ltd
4 * Licensed under the Flora License, Version 1.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
8 * http://www.tizenopensource.org/license
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.
18 #ifndef __MCF_IMAGE_PROXY_H__
19 #define __MCF_IMAGE_PROXY_H__
26 static CMCFImageProxy* sInstance; /* For singleton */
31 static CMCFImageProxy* get_instance();
33 mcfimage get_image(const mcfchar* imgPath);
37 static const mcfint MAX_IMAGE_PATH_LEN = 255;
38 typedef struct _McfImageCacheItem {
39 mcfchar imgPath[MAX_IMAGE_PATH_LEN + 1];
43 static const mcfint IMAGE_PROXY_SIZE = 1;
44 McfImageCacheItem mImageCacheItems[IMAGE_PROXY_SIZE];
46 } /* End of mcf namespace */