4 * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
6 * Contact: Jayoun Lee <airjany@samsung.com>, Sewook Park <sewook7.park@samsung.com>,
7 * Jaeho Lee <jaeho81.lee@samsung.com>, Shobhit Srivastava <shobhit.s@samsung.com>
9 * Licensed under the Apache License, Version 2.0 (the "License");
10 * you may not use this file except in compliance with the License.
11 * You may obtain a copy of the License at
13 * http://www.apache.org/licenses/LICENSE-2.0
15 * Unless required by applicable law or agreed to in writing, software
16 * distributed under the License is distributed on an "AS IS" BASIS,
17 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 * See the License for the specific language governing permissions and
19 * limitations under the License.
27 #ifndef __DEF_EMPTY_H_
28 #define __DEF_EMPTY_H_
30 #include <Elementary.h>
31 /*#include <comm_client.h>*/
32 #include<pkgmgr_installer.h>
35 #define APP_DIR "/usr"
42 #define LOCALE_PATH APP_DIR"/share/locale"
43 #define EDJ_PATH APP_DIR"/share/data"
44 #define EDJ_NAME EDJ_PATH"/c-empty.edj"
45 #define GRP_MAIN "default"
47 extern int greturn_main_value;
49 struct frontendcmdlinearg {
65 typedef struct data_t {
72 /* add more variables here */
73 struct frontendcmdlinearg *cmdlineargs;
74 /*comm_client *GCommClient;*/
75 char *gptr_security_cookie;
81 Evas_Object *win_main;
85 Evas_Object *main_view; /* for main view layout*/
86 Evas_Object *details_scroller;
87 Evas_Object *progressbar;
88 Evas_Object *scrollbar_label;
90 Ecore_Event_Handler *key_up;
91 Ecore_Event_Handler *key_down;
94 int app_create(void *user_data);
95 int app_terminate(void *user_data);
96 int app_pause(void *user_data);
97 int app_resume(void *user_data);
98 int app_reset(bundle *b, void *user_data);
99 int app_rotation(enum appcore_rm, void *user_data);
101 int _cmdline_destroy(struct frontenddata *data);
102 int _cmdline_process(struct frontenddata *data);
103 int _parse_cmdline(int argc, char **argv, struct frontendcmdlinearg *pardata);
104 void _package_downgrade_information(const char *message);
105 void _frontend_update_progress_info(struct appdata *data, char *progressinfo);
108 #endif /* __DEF_EMPTY_H_ */