diff options
Diffstat (limited to 'dialog/message-dialog.h')
-rwxr-xr-x | dialog/message-dialog.h | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/dialog/message-dialog.h b/dialog/message-dialog.h new file mode 100755 index 0000000..d818462 --- /dev/null +++ b/dialog/message-dialog.h @@ -0,0 +1,55 @@ +/* + * 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://floralicense.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_dialog_H_ +#define __DEF_message_dialog_H_ + +#include <stdio.h> +#include <glib.h> +#include <Elementary.h> +#include <app.h> +#include <utilX.h> +#include <Ecore_X.h> +#include "msg-ui-util.h" + + +#define PACKAGE "message_dialog" /* for i18n */ + + +typedef enum { + MSG_UI_DIALOG_MODE_PUSH_MSG_ALWAYS_ASK, + + MSG_UI_DIALOG_MODE_MAX + +} MSG_UI_DIALOG_MODE; + +struct appdata { + Evas_Object *main_window; + Evas_Object *popup; + + /* argument */ + MSG_UI_DIALOG_MODE dialog_mode; + char *url; + char *msg; + +}; + +void msg_ui_dialog_exit(void *data); +int main(int argc, char **argv); + +#endif /* __DEF_message_dialog_H_ */ + |