1 #ifndef __DALI_IMAGE_LOADING_PLUGIN_H__
2 #define __DALI_IMAGE_LOADING_PLUGIN_H__
5 * Copyright (c) 2018 Samsung Electronics Co., Ltd.
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
22 #include <dali/devel-api/adaptor-framework/image-loader-input.h>
30 class ImageLoaderPlugin
42 virtual ~ImageLoaderPlugin(){}
45 * @brief Get the image decorder
46 * @param[in] filename The path to the resource.
47 * @return BitmapLoader
49 virtual const ImageLoader::BitmapLoader* BitmapLoaderLookup( const std::string& filename ) const = 0;
52 * @brief Function pointer called in adaptor to create a image loading plugin instance.
53 * @return Pointer to the newly created plugin object
55 typedef ImageLoaderPlugin* CreateImageLoaderPlugin( void );
58 * @brief Function pointer called in adaptor to destory a image loading plugin instance.
60 typedef void DestroyImageLoaderPlugin( ImageLoaderPlugin* plugin );