blob: 1be1e3235c678edbf4f10c4e81d3ba949dc44029 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
/*
* Copyright 2012 Samsung Electronics Co., Ltd
*
* Licensed under the Flora License, Version 1.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.tizenopensource.org/license
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef __DEF_message_H_
#define __DEF_message_H_
#include <stdio.h>
#include <glib.h>
#include <msg.h>
#include <msg_storage.h>
#include <msg_transport.h>
#include <libintl.h>
#include <bundle.h>
#include <app.h>
#include <Ecore.h>
#include <Elementary.h>
#include <ui-gadget-module.h>
#include <utilX.h>
#include "msg-ui-util.h"
#include <aul.h>
#include <appsvc.h>
#define POPUP_DELAY (1)
#define DEF_NUM_LEN (64)
typedef enum {
MSG_COMPOSER_UG_TYPE_NONE = 0,
MSG_COMPOSER_UG_TYPE_COMPOSER,
MSG_COMPOSER_UG_TYPE_VIEWER,
} MessageComposerUgType;
struct appdata
{
Evas_Object *win_main;
Evas_Object *layout_main;
struct ug_cbs cbs;
ui_gadget_h composer_ug;
MessageComposerUgType ug_type;
msg_handle_t msgHandle;
void *thread_data;
};
int msg_ui_load_composer_ug(service_h svc_handle, MessageComposerUgType ug_type);
Evas_Object *msg_ui_get_composer_ug_viewer_layout(void);
void msg_ui_destroy_composer_ug(void);
#endif /* __DEF_message_H__ */
|