initial upload for tizen 2.0 beta
[apps/home/gallery.git] / ug / ug-gallery-efl / include / ge-util.h
1 /*
2   * Copyright 2012  Samsung Electronics Co., Ltd
3   *
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
7   *
8   *     http://www.tizenopensource.org/license
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 #ifndef _GE_UTIL_H_
18 #define _GE_UTIL_H_
19
20 #include "gallery-efl.h"
21
22 ge_item* _ge_get_current_item(void);
23 void _ge_set_current_item(ge_item* gitem);
24 int ge_reg_db_update_noti(ge_ugdata* ugd);
25 int ge_dereg_db_update_noti(void);
26 Eina_Bool ge_update_view(ge_ugdata* ugd, int mode);
27 int _ge_ug_iv_get(void);
28 void _ge_ug_iv_set(int ug_iv_state);
29 ge_cluster* _ge_get_current_album(void);
30 void _ge_set_current_album(ge_cluster* album_item);
31 bool _ge_is_image_valid(void *data, char *filepath);
32 int _ge_get_thumb(const char *file_path, char **thumb_path);
33 char *_ge_get_duration_string(unsigned int v_dur);
34 #endif /* _GE_EXT_EXEC_H_ */
35