2 * Copyright (c) 2009-2015 Samsung Electronics Co., Ltd All Rights Reserved
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
17 #ifndef __BACKGROUND_VIEW_H__
18 #define __BACKGROUND_VIEW_H__
20 #define LOCK_BG_DEFAULT 1
21 #define LOCK_BG_ALBUM_ART 2
24 * Sets next image from wallpaper dir
25 * @param wallpaper directory
27 extern void *get_next_background_image(const char *dir);
30 * Function updates background image on vconf key (VCONFKEY_IDLE_LOCK_BGSET) value change. Function is used as callback routine for vconf_notify_key_changed().
32 * @param background object
34 void update_background_image_cb(keynode_t *node, void *data);
36 extern int background_image_set(int type, const char *file, int force);
37 extern int background_image_set_to(Evas_Object *layout, Evas_Object *bg, int type, const char *file, int force);
38 extern void background_image_next_set(void);