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)
41 MSG_COMPOSER_UG_TYPE_NONE = 0,
42 MSG_COMPOSER_UG_TYPE_COMPOSER,
43 MSG_COMPOSER_UG_TYPE_VIEWER,
44 } MessageComposerUgType;
48 Evas_Object *win_main;
49 Evas_Object *layout_main;
52 ui_gadget_h composer_ug;
53 MessageComposerUgType ug_type;
56 msg_handle_t msgHandle;
60 int msg_ui_load_composer_ug(service_h svc_handle, MessageComposerUgType ug_type);
61 Evas_Object *msg_ui_get_composer_ug_viewer_layout(void);
62 void msg_ui_destroy_composer_ug(void);
64 #endif /* __DEF_message_H__ */