2 * Copyright (c) 2009-2015 Samsung Electronics Co., Ltd All Rights Reserved
4 * Licensed under the Apache License, Version 2.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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
19 #ifndef __QP_COMMON_UIC_H_
20 #define __QP_COMMON_UIC_H_
24 OPENED_BY_CMD_HIDE_LAUNCH = 1,
25 OPENED_BY_CMD_SHOW_SETTINGS = 2,
28 Evas_Object *quickpanel_ui_load_edj(Evas_Object * parent, const char *file,
29 const char *group, int is_just_load);
30 int quickpanel_launch_app(char *app_id, void *data);
31 int quickpanel_launch_ug_by_appcontrol(const char *package, void *data);
32 int quickpanel_is_emul(void);
33 int quickpanel_is_suspended(void);
34 int quickpanel_is_opened(void);
35 void quickpanel_launch_app_inform_result(const char *pkgname, int retcode);
36 void quickpanel_initial_resize(Evas_Object *obj, int height);
37 void quickpanel_close_quickpanel(bool is_check_lock, int is_delay_needed);
38 void quickpanel_open_quickpanel(int reason);
39 void quickpanel_toggle_openning_quickpanel(void);
40 void quickpanel_opened_reason_set(int reason);
41 int quickpanel_opened_reason_get(void);
43 #endif /* __QP_COMMON_UIC_H_ */