2 * Copyright 2012 Samsung Electronics Co., Ltd
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
8 * http://floralicense.org/license/
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.
18 #ifndef __DEF_CLOCK_APPLICATION_H_
19 #define __DEF_CLOCK_APPLICATION_H_
21 #include <appcore-efl.h>
22 #include <Elementary.h>
24 #include <Ecore_IMF.h>
26 #include <glib-object.h>
31 #include <ui-gadget.h>
32 #include "clock_define.h"
33 #include "clock_fwk_widget.h"
34 #include "clock_lang.h"
37 typedef enum _CLK_LAUNCH_TYPE CLK_LAUNCH_TYPE;
38 enum _CLK_LAUNCH_TYPE {
39 CLK_LAUNCH_TYPE_CLOCK = 1,
40 CLK_LAUNCH_TYPE_ALARM_CREATE,
44 #define DESKTOP_MODE_ICON "/usr/share/icons/default/small/org.tizen.clock.png"
55 /* public used widget */
59 Evas_Object *window_icon;
61 // samsung window layout
63 // samsung window layout
64 Evas_Object *layout_main;
67 Elm_Object_Item *ei_naviframe;
69 Evas_Object *ctrl_bar;
70 Eina_Bool ctrlbar_is_visible;
72 Elm_Object_Item *item[5];
73 Evas_Object *sub_view[5];
75 Evas_Object *view_alarm;
76 Evas_Object *view_worldclock;
77 Evas_Object *view_stopwatch;
78 Evas_Object *view_timer;
85 Evas_Object *fake_image;
86 Ecore_Timer *fake_view_timer;
88 Ecore_Timer *idle_capture_timer;
92 CLK_LAUNCH_TYPE clk_launch_type;
95 #endif /* __DEF_CLOCK_APPLICATION_H_ */