apply FSL(Flora Software License)
[apps/home/gallery.git] / include / widget / gl-popup.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_POPUP_H_
18 #define _GL_POPUP_H_
19
20 #define GL_POPUP_STRING_MAX 256
21
22 typedef enum _gl_popup_mode {
23         GL_POPUP_NOBUT,
24         GL_POPUP_NOBUT_MOV_DEL,
25         GL_POPUP_ALBUM_NEW_EMPTY,
26         GL_POPUP_ALBUM_NEW_DUPLICATE,
27         GL_POPUP_ALBUM_NEW_INVALID,
28         GL_POPUP_ALBUM_RENAME_EMPTY,
29         GL_POPUP_ALBUM_RENAME_DUPLICATE,
30         GL_POPUP_ALBUM_RENAME_INVALID,
31         GL_POPUP_ALBUM_DELETE,
32         GL_POPUP_ALBUM_SHARE,
33         GL_POPUP_THUMB_SHARE,
34         GL_POPUP_THUMB_MOVE,
35         GL_POPUP_VIDEO_DELETE,
36 } gl_popup_mode;
37
38 int gl_popup_create_albums_del_popup(void *data);
39 int _gl_popup_create_video_del_popup(void *data);
40 int gl_popup_create_popup(void *data, gl_popup_mode mode, char *desc);
41 int gl_popup_create_title_popup(void *data, gl_popup_mode mode, char *title,
42                                 char *desc);
43 int gl_popup_update_content(void *data, gl_popup_mode mode);
44
45 #endif                          /* _GL_POPUP_H_ */