1 #ifndef __CICOONSCREENAPPLIST_H__
2 #define __CICOONSCREENAPPLIST_H__
4 * Copyright (c) 2013, TOYOTA MOTOR CORPORATION.
6 * This program is licensed under the terms and conditions of the
7 * Apache License, version 2.0. The full text of the Apache License is at
8 * http://www.apache.org/licenses/LICENSE-2.0
12 * @brief onscreen application
20 #include <Ecore_Wayland.h>
21 #include <Ecore_Evas.h>
25 #include "ico_uxf_conf.h"
26 #include "ico_uxf_conf_ecore.h"
28 #include "home_screen.h"
29 #include "home_screen_res.h"
30 #include "CicoOnScreenControlWindow.h"
31 #include "CicoOnScreenAction.h"
33 /*============================================================================*/
34 /* Define data types */
35 /*============================================================================*/
36 #define ICO_ONS_BUF_SIZE (1024)
37 #define ICO_ONS_APPLI_NUM (15) /* only for applist */
39 /*============================================================================*/
40 /* Class Declaration (CicoOnScreenAppList) */
41 /*============================================================================*/
42 class CicoOnScreenAppList
45 static void Initialize(CicoOnScreenControlWindow *control_window_tmp);
46 static void LoadConfig(void);
47 static void ConfigEvent(const char *appid, int type);
48 static void SetConfigCallback(void);
49 static int LoadIconsEdjeFile(const char *edje_file);
50 static void NextList(void);
52 static int GetAppIndex(int idx);
53 static void SetAppIcons(Evas_Object *part,const char *partname);
54 static const char *GetFname(const char *filepath);
56 static CicoOnScreenControlWindow *control_window;
57 static int applist_idx; /* only for applist, it's index */
58 static int app_cnt; /* only for applist. a number of app to listed */
60 CicoOnScreenAppList operator = (const CicoOnScreenAppList&);
61 CicoOnScreenAppList(const CicoOnScreenAppList&);