initial upload for tizen 2.0 beta
[apps/home/gallery.git] / include / util / gl-ext-ug-load.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 _GL_EXT_UG_LOAD_H_
18 #define _GL_EXT_UG_LOAD_H_
19
20 #include <ui-gadget.h>
21 #include "gl-data.h"
22
23 typedef enum
24 {
25         GL_UG_FAIL,
26         GL_UG_SUCCESS
27 } gl_ug_load_status;
28
29 typedef enum
30 {
31         GL_UG_MSG,
32         GL_UG_EMAIL,
33         GL_UG_BT,
34 #ifdef _USE_WIFI
35         GL_UG_WIFI,
36 #endif
37         GL_UG_IMAGEVIEWER,
38         GL_UG_CNT,
39 } gl_ext_ug_type;
40
41 typedef enum
42 {
43         GL_UG_IV,
44         /* Same as GL_UG_IV,  invoke imageviewer to slideshow */
45         GL_UG_IV_SLIDESHOW,
46         /*Invoke imageviewer to slideshow on local album*/
47         GL_UG_IV_SLIDESHOW_LOCAL,
48         GL_UG_IV_CNT,
49 } gl_ext_iv_type;
50
51 int gl_ext_load_ug(void *data, gl_ext_ug_type type);
52 int gl_ext_load_iv_ug(void *data, gl_item *cur_item, gl_ext_iv_type type);
53 int gl_ext_load_gallery_ug(void *data);
54 int gl_ext_destroy_gallery_ug(void *data);
55
56 #endif /* _GL_EXT_UG_LOAD_H_ */