Update org.tizen.message.spec.
[apps/core/preloaded/message-app.git] / dialog / message-dialog.h
1 /*
2  * Copyright 2012  Samsung Electronics Co., Ltd
3  *
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
7  *
8  *    http://floralicense.org/license
9  *
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.
15  */
16
17
18 #ifndef __DEF_message_dialog_H_
19 #define __DEF_message_dialog_H_
20
21 #include <stdio.h>
22 #include <glib.h>
23 #include <Elementary.h>
24 #include <app.h>
25 #include <utilX.h>
26 #include <Ecore_X.h>
27 #include "msg-ui-util.h"
28
29
30 #define PACKAGE "message_dialog" /* for i18n */
31
32
33 typedef enum {
34                 MSG_UI_DIALOG_MODE_PUSH_MSG_ALWAYS_ASK,
35
36                 MSG_UI_DIALOG_MODE_MAX
37
38 } MSG_UI_DIALOG_MODE;
39
40 struct appdata {
41         Evas_Object *main_window;
42         Evas_Object *popup;
43
44         /* argument */
45         MSG_UI_DIALOG_MODE dialog_mode;
46         char *url;
47         char *msg;
48
49 };
50
51 void msg_ui_dialog_exit(void *data);
52 int main(int argc, char **argv);
53
54 #endif /* __DEF_message_dialog_H_ */
55