eeec97396c
* NEW: When the 'gb.web' component is selected, a new option is available in the project property dialog: "Run in an embedded HTTP server". (INTERPRETER] * NEW: GB.System.Debug() is a new API that allows to know if the interpreter is run in debugging mode. [GB.DEBUG] * NEW: The debugger tells the IDE when its prompt is the first one. [GB.HTTPD] * NEW: Reset locale to "C" before running the http server. * BUG: The CGI "SCRIPT_NAME" variable is set to "/". * NEW: The default CGI timeout is now 10 minutes. * NEW: Behave accurately when run in debugging mode : only one CGI script at a time is allowed. * NEW: When run in debugging mode, there is no CGI timeout. git-svn-id: svn://localhost/gambas/trunk@5765 867c0c6c-44f3-4631-809d-bfa615b0a4ec
36 lines
1.1 KiB
C
36 lines
1.1 KiB
C
/***************************************************************************
|
|
|
|
main.h
|
|
|
|
(c) 2000-2012 Benoît Minisini <gambas@users.sourceforge.net>
|
|
|
|
This program 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; either version 2, or (at your option)
|
|
any later version.
|
|
|
|
This program 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, write to the Free Software
|
|
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
|
MA 02110-1301, USA.
|
|
|
|
***************************************************************************/
|
|
|
|
#ifndef __MAIN_H
|
|
#define __MAIN_H
|
|
|
|
#include "gambas.h"
|
|
#include "gb_common.h"
|
|
|
|
#ifndef __MAIN_C
|
|
extern const GB_INTERFACE *GB_PTR;
|
|
#endif
|
|
|
|
#define GB (*GB_PTR)
|
|
|
|
#endif
|