2003-06-30 16:44:03 +04:00
|
|
|
/*
|
|
|
|
* Copyright 2003 Phil Mellor <monkeyson@users.sourceforge.net>
|
2007-08-08 20:16:03 +04:00
|
|
|
*
|
|
|
|
* This file is part of NetSurf, http://www.netsurf-browser.org/
|
|
|
|
*
|
|
|
|
* NetSurf is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; version 2 of the License.
|
|
|
|
*
|
|
|
|
* NetSurf is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
2002-09-11 18:24:02 +04:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _NETSURF_DESKTOP_NETSURF_H_
|
|
|
|
#define _NETSURF_DESKTOP_NETSURF_H_
|
|
|
|
|
2003-11-06 22:41:41 +03:00
|
|
|
#include <stdbool.h>
|
2010-03-30 00:03:44 +04:00
|
|
|
#include "utils/errors.h"
|
2002-09-11 18:24:02 +04:00
|
|
|
|
2003-11-06 22:41:41 +03:00
|
|
|
extern bool netsurf_quit;
|
2007-05-31 02:27:58 +04:00
|
|
|
extern bool verbose_log;
|
2003-12-19 20:11:07 +03:00
|
|
|
extern const char * const netsurf_version;
|
2007-01-30 22:51:54 +03:00
|
|
|
extern const int netsurf_version_major;
|
|
|
|
extern const int netsurf_version_minor;
|
2002-09-11 18:24:02 +04:00
|
|
|
|
2013-05-27 03:32:08 +04:00
|
|
|
nserror netsurf_init(const char *messages);
|
2008-10-17 00:49:12 +04:00
|
|
|
extern void netsurf_exit(void);
|
|
|
|
extern int netsurf_main_loop(void);
|
2008-10-16 15:10:43 +04:00
|
|
|
|
2002-09-11 18:24:02 +04:00
|
|
|
#endif
|