2003-06-30 12:44:03 +00:00
|
|
|
/*
|
|
|
|
* Copyright 2003 Phil Mellor <monkeyson@users.sourceforge.net>
|
2007-08-08 16:16:03 +00: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 14:24:02 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _NETSURF_DESKTOP_NETSURF_H_
|
|
|
|
#define _NETSURF_DESKTOP_NETSURF_H_
|
|
|
|
|
2003-11-06 19:41:41 +00:00
|
|
|
#include <stdbool.h>
|
2010-03-29 20:03:44 +00:00
|
|
|
#include "utils/errors.h"
|
2002-09-11 14:24:02 +00:00
|
|
|
|
2003-11-06 19:41:41 +00:00
|
|
|
extern bool netsurf_quit;
|
2007-05-30 22:27:58 +00:00
|
|
|
extern bool verbose_log;
|
2003-12-19 17:11:07 +00:00
|
|
|
extern const char * const netsurf_version;
|
2007-01-30 19:51:54 +00:00
|
|
|
extern const int netsurf_version_major;
|
|
|
|
extern const int netsurf_version_minor;
|
2002-09-11 14:24:02 +00:00
|
|
|
|
2010-03-29 20:03:44 +00:00
|
|
|
nserror netsurf_init(int *argc, char ***argv, const char *options, const char *messages);
|
2008-10-16 20:49:12 +00:00
|
|
|
extern void netsurf_exit(void);
|
|
|
|
extern int netsurf_main_loop(void);
|
2008-10-16 11:10:43 +00:00
|
|
|
|
2002-09-11 14:24:02 +00:00
|
|
|
#endif
|