1 /*
2  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3  * Copyright (C) 2008 - INRIA - Vincent COUVERT (java version)
4  *
5  * Copyright (C) 2012 - 2016 - Scilab Enterprises
6  *
7  * This file is hereby licensed under the terms of the GNU GPL v2.0,
8  * pursuant to article 5.3.4 of the CeCILL v.2.1.
9  * This file was originally licensed under the terms of the CeCILL v2.1,
10  * and continues to be available under such terms.
11  * For more information, see the COPYING file which you should have received
12  * along with this program.
13  *
14  */
15 
16 #ifndef __MESSAGEBOXOPTIONS_H__
17 #define __MESSAGEBOXOPTIONS_H__
18 
19 #include "dynlib_gui.h"
20 /**
21  * Verify the argument string is "modal" or "non-modal"
22  *
23  * @param option the string to test
24  * @return 1 is the string matches "modal" or "non-modal"
25  */
26 GUI_IMPEXP int isModalOption(char *option);
27 
28 /**
29  * Verify the argument string is an icon name
30  * Scilab icon names are: "scilab" "error" "hourglass" "info" "passwd" "question" "warning"
31  *
32  * @param option the string to test
33  * @return 1 is the string matches an icon name
34  */
35 GUI_IMPEXP int isIconName(char *name);
36 
37 #endif /* ! __MESSAGEBOXOPTIONS_H__ */
38