NetSurf
frontends
gtk
warn.h
Go to the documentation of this file.
1
/*
2
* Copyright 2016 Vincent Sanders <vince@netsurf-browser.org>
3
*
4
* This file is part of NetSurf, http://www.netsurf-browser.org/
5
*
6
* NetSurf is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; version 2 of the License.
9
*
10
* NetSurf is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
14
*
15
* You should have received a copy of the GNU General Public License
16
* along with this program. If not, see <http://www.gnu.org/licenses/>.
17
*/
18
19
#ifndef GTK_WARN_H
20
#define GTK_WARN_H
21
22
/**
23
* Warn the user of an event.
24
*
25
* \param[in] warning A warning looked up in the message translation table
26
* \param[in] detail Additional text to be displayed or NULL.
27
* \return NSERROR_OK on success or error code if there was a
28
* faliure displaying the message to the user.
29
*/
30
nserror
nsgtk_warning
(
const
char
*warning,
const
char
*detail);
31
32
#endif
nserror
nserror
Enumeration of error codes.
Definition:
errors.h:29
nsgtk_warning
nserror nsgtk_warning(const char *warning, const char *detail)
Warn the user of an event.
Definition:
gui.c:96
Generated on Fri Nov 15 2024 15:34:08 for NetSurf by
1.9.4