Subversion Repositories Kolibri OS

Rev

Rev 3584 | Blame | Last modification | View Log | RSS feed

  1. /*
  2.  * Copyright 2003 Phil Mellor <monkeyson@users.sourceforge.net>
  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 _NETSURF_DESKTOP_NETSURF_H_
  20. #define _NETSURF_DESKTOP_NETSURF_H_
  21.  
  22. #include <stdbool.h>
  23. #include "utils/errors.h"
  24.  
  25. extern bool netsurf_quit;
  26. extern bool verbose_log;
  27. extern const char * const netsurf_version;
  28. extern const int netsurf_version_major;
  29. extern const int netsurf_version_minor;
  30.  
  31. nserror netsurf_init(int *argc, char ***argv, const char *options, const char *messages);
  32. extern void netsurf_exit(void);
  33. extern int netsurf_main_loop(void);
  34.  
  35. #endif
  36.