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://www.tizenopensource.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.
17 #ifndef __DEF_message_H_
18 #define __DEF_message_H_
23 #include <msg_storage.h>
24 #include <msg_transport.h>
30 #include <Elementary.h>
31 #include <ui-gadget-module.h>
33 #include "msg-ui-util.h"
37 #define POPUP_DELAY (1)
38 #define DEF_NUM_LEN (64)
40 #define MSG_UI_CAPTURE_IMAGE "com.samsung.message"
43 MSG_COMPOSER_UG_TYPE_NONE = 0,
44 MSG_COMPOSER_UG_TYPE_COMPOSER,
45 MSG_COMPOSER_UG_TYPE_VIEWER,
46 } MessageComposerUgType;
50 Evas_Object *win_main;
51 Evas_Object *layout_main;
54 ui_gadget_h composer_ug;
55 MessageComposerUgType ug_type;
58 msg_handle_t msgHandle;
62 int msg_ui_load_composer_ug(service_h svc_handle, MessageComposerUgType ug_type);
63 Evas_Object *msg_ui_get_composer_ug_viewer_layout(void);
64 void msg_ui_destroy_composer_ug(void);
66 #endif /* __DEF_message_H__ */