#include <contacts.h>
#include <calendar2.h>
#include <ui-gadget.h>
+#include <notification.h>
#include "cal-svc.h"
-
#include "cld-log.h"
#include "cld-utils.h"
+#include "appcontrol.h"
#define CAL_QUICKADD_LONG_PRESS_TIME 0.5
#define EMAIL_LINK_FLAG "#email_viewer_link#"
#endif
-#define CAL_APPCONTROL_ITEM_TYPE "itemType"
-#define CAL_APPCONTROL_ITEM_TYPE_EVENT "event"
-#define CAL_APPCONTROL_ITEM_TYPE_TODO "todo"
-#define CAL_APPCONTROL_ITEM_TYPE_VCS "vcs"
-#define CAL_APPCONTROL_EVENT_ID "eventId"
-#define CAL_APPCONTROL_TODO_ID "todoId"
-#define CAL_APPCONTROL_VCS_PATH "path"
-
#define CAL_APPSVC_PARAM_CALLER "caller"
#define CAL_APPSVC_PARAM_COUNT "count"
#define CAL_APPSVC_PARAM_TYPE "type"
UG_MAX,
}ug_type;
-typedef enum {
- ITEM_TYPE_UNKNOWN = 0,
- ITEM_TYPE_EVENT,
- ITEM_TYPE_TODO,
- ITEM_TYPE_VCS,
- ITEM_TYPE_MAX
-}cal_appcontrol_item_type;
typedef struct {
struct tm stm;
Eina_Bool is_deleted;
}cal_participant;
+typedef enum {
+ CAL_WINDOW_ROTATION_0 = 0,
+ CAL_WINDOW_ROTATION_90 = 90,
+ CAL_WINDOW_ROTATION_180 = 180,
+ CAL_WINDOW_ROTATION_270 = 270,
+
+} cal_window_rotation;
+
typedef struct appdata
{
Evas_Object *win; //window
Evas_Coord win_w; //width of window
- Evas_Coord win_h; //height of window
+ Evas_Coord win_h; //height of window
+ app_device_orientation_e orientation; // direction of device
Evas_Object *conform; //conformants
Evas_Object *base; //base layout
Evas_Object *naviframe; //naviframe
Eina_Bool need_to_show_popup; // to keep popup for rotating
+ cal_window_rotation rotation;
+
}ug_data;
int is_hour24;