summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHyojung Jo <hj903.jo@samsung.com>2015-06-25 15:45:50 +0900
committerHyojung Jo <hj903.jo@samsung.com>2015-06-30 14:24:37 +0900
commit848bf1255089cae33f3b536cbec0be969f2ec5d1 (patch)
tree13a7098b1a4113349c8e966edc02a4b1736a8e19 /include
parentbed7017a76b16ec5bbd53828e11d6a472a792b4a (diff)
downloadair_favorite-848bf1255089cae33f3b536cbec0be969f2ec5d1.tar.gz
air_favorite-848bf1255089cae33f3b536cbec0be969f2ec5d1.tar.bz2
air_favorite-848bf1255089cae33f3b536cbec0be969f2ec5d1.zip
Initial commit
Change-Id: Iff0de11a443ac0e24a2c6b4b75d26b0538db8700 Signed-off-by: Hyojung Jo <hj903.jo@samsung.com>
Diffstat (limited to 'include')
-rw-r--r--include/data/app.h30
-rw-r--r--include/data/media.h35
-rw-r--r--include/define.h56
-rw-r--r--include/grid/grid_apps.h22
-rw-r--r--include/grid/grid_gallery.h22
-rw-r--r--include/grid/grid_movie.h22
-rw-r--r--include/grid/grid_music.h22
-rw-r--r--include/grid/grid_tv.h22
-rw-r--r--include/grid/grid_webs.h22
-rw-r--r--include/utils.h25
-rw-r--r--include/view/view_base.h22
11 files changed, 300 insertions, 0 deletions
diff --git a/include/data/app.h b/include/data/app.h
new file mode 100644
index 0000000..65eda56
--- /dev/null
+++ b/include/data/app.h
@@ -0,0 +1,30 @@
+/*
+ * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef __AIR_FAVORITE_APP_H__
+#define __AIR_FAVORITE_APP_H__
+
+#include <Elementary.h>
+
+struct app_data;
+
+Eina_List *get_app_favorite_list(void);
+char *get_app_id(struct app_data *adata);
+char *get_app_name(struct app_data *adata);
+char *get_app_icon(struct app_data *adata);
+void free_app_favorite_list(Eina_List *list);
+
+#endif /* __AIR_FAVORITE_APP_H__ */
diff --git a/include/data/media.h b/include/data/media.h
new file mode 100644
index 0000000..569bbf8
--- /dev/null
+++ b/include/data/media.h
@@ -0,0 +1,35 @@
+/*
+ * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef __AIR_FAVORITE_MEDIA_H__
+#define __AIR_FAVORITE_MEDIA_H__
+
+#include <Elementary.h>
+#include <app_contents.h>
+#include <media_info.h>
+#include <app_media.h>
+
+Eina_List *get_media_favorite_list(enum app_contents_type type);
+char *get_media_id(app_media *am);
+char *get_media_name(app_media *am);
+char *get_media_path(app_media *am);
+char *get_media_thumbnail(app_media *am);
+char *get_media_artist(app_media *am);
+char *get_media_album_name(app_media *am);
+int get_media_duration(app_media *am);
+void free_media_favorite_list(Eina_List *list);
+
+#endif /* __AIR_FAVORITE_MEDIA_H__ */
diff --git a/include/define.h b/include/define.h
new file mode 100644
index 0000000..af49e5b
--- /dev/null
+++ b/include/define.h
@@ -0,0 +1,56 @@
+/*
+ * Copyright (c 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the License;
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef __AIR_FAVORITE_DEFINE_H__
+#define __AIR_FAVORITE_DEFINE_H__
+
+/* View ID */
+#define VIEW_ID_BASE "VIEW_ID_BASE"
+
+/* Grid ID */
+#define GRID_ID_TV "GRID_TV"
+#define GRID_ID_MOVIE "GRID_MOVIE"
+#define GRID_ID_GALLERY "GRID_GALLERY"
+#define GRID_ID_MUSIC "GRID_MUSIC"
+#define GRID_ID_APPS "GRID_APPS"
+#define GRID_ID_WEBS "GRID_WEBS"
+
+/* Group */
+#define GRP_VIEW_BASE "grp.view.base"
+
+/* Part for edc file */
+#define PART_TOP_TITLE "part.top.title"
+#define PART_TOP_MENU "part.top.menu"
+#define PART_GENGRID "part.gengrid"
+
+/* Style */
+#define STYLE_TV "style.tv"
+#define STYLE_GALLERY "style.gallery"
+#define STYLE_MOVIE "style.movie"
+#define STYLE_MUSIC "style.music"
+#define STYLE_APPS "style.apps"
+#define STYLE_WEBS "style.webs"
+
+/* Text */
+#define STR_FAVORITE "Favorite"
+#define STR_TV "TV"
+#define STR_MOVIE "Movie"
+#define STR_GALLERY "Gallery"
+#define STR_MUSIC "Music"
+#define STR_APPS "Apps"
+#define STR_WEBS "Web bookmark"
+
+#endif /* __AIR_FAVORITE_DEFINE_H__ */
diff --git a/include/grid/grid_apps.h b/include/grid/grid_apps.h
new file mode 100644
index 0000000..9217656
--- /dev/null
+++ b/include/grid/grid_apps.h
@@ -0,0 +1,22 @@
+/*
+ * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef __AIR_FAVORITE_GRID_APPS_H__
+#define __AIR_FAVORITE_GRID_APPS_H__
+
+struct grid_class *get_apps_grid_class(void);
+
+#endif /* __AIR_FAVORITE_GRID_APPS_H__ */
diff --git a/include/grid/grid_gallery.h b/include/grid/grid_gallery.h
new file mode 100644
index 0000000..042e944
--- /dev/null
+++ b/include/grid/grid_gallery.h
@@ -0,0 +1,22 @@
+/*
+ * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef __AIR_FAVORITE_GRID_GALLERY_H__
+#define __AIR_FAVORITE_GRID_GALLERY_H__
+
+struct grid_class *get_gallery_grid_class(void);
+
+#endif /* __AIR_FAVORITE_GRID_GALLERY_H__ */
diff --git a/include/grid/grid_movie.h b/include/grid/grid_movie.h
new file mode 100644
index 0000000..1ee778e
--- /dev/null
+++ b/include/grid/grid_movie.h
@@ -0,0 +1,22 @@
+/*
+ * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef __AIR_FAVORITE_GRID_MOVIE_H__
+#define __AIR_FAVORITE_GRID_MOVIE_H__
+
+struct grid_class *get_movie_grid_class(void);
+
+#endif /* __AIR_FAVORITE_GRID_MOVIE_H__ */
diff --git a/include/grid/grid_music.h b/include/grid/grid_music.h
new file mode 100644
index 0000000..6de1d56
--- /dev/null
+++ b/include/grid/grid_music.h
@@ -0,0 +1,22 @@
+/*
+ * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef __AIR_FAVORITE_GRID_MUSIC_H__
+#define __AIR_FAVORITE_GRID_MUSIC_H__
+
+struct grid_class *get_music_grid_class(void);
+
+#endif /* __AIR_FAVORITE_GRID_MUSIC_H__ */
diff --git a/include/grid/grid_tv.h b/include/grid/grid_tv.h
new file mode 100644
index 0000000..52ff729
--- /dev/null
+++ b/include/grid/grid_tv.h
@@ -0,0 +1,22 @@
+/*
+ * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef __AIR_FAVORITE_GRID_TV_H__
+#define __AIR_FAVORITE_GRID_TV_H__
+
+struct grid_class *get_tv_grid_class(void);
+
+#endif /* __AIR_FAVORITE_GRID_TV_H__ */
diff --git a/include/grid/grid_webs.h b/include/grid/grid_webs.h
new file mode 100644
index 0000000..7cd2d3f
--- /dev/null
+++ b/include/grid/grid_webs.h
@@ -0,0 +1,22 @@
+/*
+ * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef __AIR_FAVORITE_GRID_WEBS_H__
+#define __AIR_FAVORITE_GRID_WEBS_H__
+
+struct grid_class *get_webs_grid_class(void);
+
+#endif /* __AIR_FAVORITE_GRID_WEBS_H__ */
diff --git a/include/utils.h b/include/utils.h
new file mode 100644
index 0000000..4a0907a
--- /dev/null
+++ b/include/utils.h
@@ -0,0 +1,25 @@
+/*
+ * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef __AIR_FAVORITE_UTILS_H__
+#define __AIR_FAVORITE_UTILS_H__
+
+Evas_Object *add_window(const char *name);
+Evas_Object *add_layout(Evas_Object *parent, const char *group);
+Evas_Object *add_box(Evas_Object *parent, const char *part);
+Evas_Object *add_button(Evas_Object *parent, const char *part);
+
+#endif /* __AIR_FAVORITE_UTILS_H__ */
diff --git a/include/view/view_base.h b/include/view/view_base.h
new file mode 100644
index 0000000..61608f2
--- /dev/null
+++ b/include/view/view_base.h
@@ -0,0 +1,22 @@
+/*
+ * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef __AIR_FAVORITE_VIEW_BASE_H__
+#define __AIR_FAVORITE_VIEW_BASE_H__
+
+view_class *view_base_get_vclass(void);
+
+#endif /* __AIR_FAVORITE_VIEW_BASE_H__ */